Thursday, March 25, 2010

Reading Phonebook of Nokia 5130c-2 on Ubuntu.

In order to read the phonebook of my Nokia 5130-c-2 on Ubuntu I installed gnokii (available in Universe repository).

Then I searched on Google and found the following configuration file which I saved as .gnokiirc on home directory.

port = /dev/ttyACM0
model = 6510
initlength = default
connection = dku2libusb
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
allow_breakage = 0
bindir = /usr/sbin/
TELEPHONE = 08093098045
debug = off
rlpdebug = off
xdebug = off
Then I tried Xgnokii but it was not working as normal user
. Then I tried with sudo and it gave this error:
Couldn't open PHONET device: Device or resource busy

After searching on Google I removed cdc_phonet kernel module:
sudo rmmod cdc_phonet
Now I am using the following command and can access phonebook, send sms and initiate call from Ubuntu laptop:
sudo xgnokii