From: Jon S. <jon...@ya...> - 2004-01-19 22:37:29
|
I have a new CDMA Motorola 730. I believe this is a Brew type phone. I'm trying to access the address/phone book data from Linux. So far I have got the USB modem working. From that I can send AT+MODE=8 which turns on all of the other USB devices. This enables the USB modem and a USB audio device. I believe interface 5 supports reading/writing the phonebook data. Can anyone tell me if I'm on the right track? Does anyone have the documentation for the USB interfaces? How can I convince BitPim to access USB on Linux? I'm doing this on the 2.6 kernel. The 2.6 kernel USB support needed some patches to make the Motrola USB devices appear. Motorola didn't follow the USB spec exactly and some adjustments were needed. These patches should go into mainstream 2.6 sooner or later. I can send them to anyone interested. Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 5 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 1 bInterfaceProtocol 255 iInterface 9 Motorola Accessory Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 6 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 255 iInterface 6 Motorola Test Command Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 8 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 10 bInterfaceSubClass 2 bInterfaceProtocol 255 iInterface 5 Motorola MCU Data Logger Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8a EP 10 IN bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 0 ===== Jon Smirl jon...@ya... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |
From: Jon S. <jon...@ya...> - 2004-01-20 00:10:07
|
I got wxPython installed and ran usbscan.py. It seems to have found what it was looking for: usb::003::006::1: active: 1 available: 1 description: USB Device - Vendor Motorola PCS Product #2821 (Interface #01) libusb: 1 protocol: Data / Generic usb-interface#: 1 usb-product#: 10273 usb-productstring: Motorola T720c usb-vendor: Motorola PCS usb-vendor#: 8888 usb-vendorstring: Motorola Inc. ===== Jon Smirl jon...@ya... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |
From: Roger B. <ro...@ro...> - 2004-01-20 00:37:25
|
> usb-productstring: Motorola T720c > usb-vendorstring: Motorola Inc. Incidentally those two values came from the device itself. I can't imagine why they couldn't be bothered to update the product string. The other strings come from the USB data base bitpim ships with. Once you are a bit more familiar with the device, it would be nice to update the strings. Roger |
From: Roger B. <ro...@ro...> - 2004-01-20 00:33:50
|
Jon Smirl wrote: > I have a new CDMA Motorola 730. I believe this is a Brew type phone. It will be if from Verizon. Motorola have a habit of shipping phones with the same model number, but significantly different inside (ie some are GSM, some are CDMA, some are J2ME, some are Brew) > I'm trying to access the address/phone book data from Linux. If you have a CDMA model, the filesystem view should work. The phonebook will need new code written. The good news is (IIRC) all the Motorola phones use the same sync protocol and it isn't binary like the existing phones BitPim deals with. It is more like dealing with Comma Seperated Values. I believe it is also the basis for the OBEX protocol which is used by GSM phones as well as Palms and PocketPCs when doing infra-red exchanges. > So far I have got the USB > modem working. From that I can send AT+MODE=8 which turns on all of the other > USB devices. This enables the USB modem and a USB audio device. I believe > interface 5 supports reading/writing the phonebook data. I see from your following message that you got it working. What you posted in this message won't work as you need two endpoints on an interface (IN and OUT). > Can anyone tell me if I'm on the right track? Does anyone have the documentation > for the USB interfaces? How can I convince BitPim to access USB on Linux? BitPim automatically accesses USB on Linux. (In fact you can't prevent it from doing so :-) There is some useful documentation starting at http://bitpim.sourceforge.net/testhelp/hoto-usbintro.htm Roger |
From: Jon S. <jon...@ya...> - 2004-01-20 01:03:49
|
I don't have it working yet. When I run bitpim I only see the com port choices in the settings dialog. It doesn't find the USB device. The other output was from running usbscan.py directly. ===== Jon Smirl jon...@ya... __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |