[linux-laptop] RE: Motorola V180 cell phone USB to linux host:
Success with gammu
Rockefeller, Harry
harryr at ssd.fsi.com
Wed Apr 13 17:14:09 EDT 2005
I have the (standard) USB cable to connect
up the phone with my laptop.
On the Linux side, the cdc_acm module was
loaded and the "modem" was configured as /dev/ttyACM0.
You may also need modules usbcore, and one of ohci-hcd,
uhci-hcd or ehci-hcd.
dmesg and lsusb gave encouraging information about
successful communication between the phone and
host system.
Using minicom I was able to get the 'OK'
with the simple 'at' command, but that was it.
That was the 'easy' part.
The next hurdle was accomplished when I found
the AT commands needed to communicate
with the phone. Here are the definitions:
http://www.motorola.com/mot/doc/0/957_MotDoc.pdf
Communication with the phone is cryptic,
for example, to retrieve the phone number
of my "Mom" I did this from minicom:
at+cpin="0000"
OK
at+cpbs="mt"
OK
at+cpbf="Mom"
+CPBF: 32,"352728xxxx",129,"Mom"
So now I thought someone should already have
written software to do this, right?
Well, I tried Kandy, kde mobile phone syncing
software, but didn't even get the 'OK' response
from my phone.
Just today starting at www.tuxmobile.org (Thanks Werner!)
I found another software product called "Gammu".
>From my gentoo system I emerged "gammu".
After defining my ~/.gammurc "config" file with this:
[gammu]
port = /dev/ttyACM0
connection = at19200
I was able to use gammu to read my phone.
I also backed up the entire phonebook to a file on my
(Gentoo) Linux host.
I presume a restore would work, but don't
want to actually test that this soon. :-)
I hope someone else can use this unsolicited
success story.
More information about the linux-laptop
mailing list