Monday, August 23, 2010

connecting to nokia 2700 with ubuntu linux

the nokia 2700 is a quad band gsm phone that i picked up unlocked in germany. trying to connect it with linux. the os is nokia series 40, not symbian. uses nokia ca-126 cable, which is a micro-usb connector without power (ie, it doesn't charge from the usb cable). i'm using ubuntu 9.10 (karmic) linux ... about to upgrade

looks the like the modules aren't loading right. i probably need to do something with /etc/modprobe.d, but for now i'm just doing:
gnokii --identify
### Couldn't open PHONET device: Device or resource busy

sudo modprobe cdc-acm
sudo rmmod cdc_phonet phonet

gammu / wammu look great, but i couldn't get them to work reliably with the 2700. fell back on gnokii. created ~/.gnokiirc

port = 1
model = series40
connection = dku2libusb

at this point can copy messages, contacts, calls and browse the filesystem using sudo, but if i tried gnokii without sudo, it failed. copied the udev rules and restarted udev

gnokii --identify
### Couldn't open PHONET device: Operation not permitted

sudo cp /usr/share/doc/gnokii/sample/45-nokiadku2.rules /etc/udev/rules.d/
sudo service udev restart

everything i've tried has worked - haven't tried making calls, sending messages, or copying files. have the cell acting as a modem at one point, but seem to have broken it. will try to document that next

1 comment:

Manu Kapoor said...

Thanks! It worked! *sighs*