C290
From Moto4Lin
Contents |
Status
The C290 can report 2 seperate USB device ID's. The mode the phone is in can be toggled with the moto4lin application. In either mode, I'm not yet able to see any data on the phone.
Vendor and Device ID
This phone changes it's device ID depending on the mode it is in. You can use moto4lin to change the mode between P2K & AT.
AT mode: Bus 003 Device 014: ID 22b8:2ac2 Motorola PCS P2K mode: Bus 003 Device 011: ID 22b8:2a21 Motorola PCS
Results with minicom
You can send AT commands to this phone if you use the device /dev/ttyACM0
This only seems to work when the phone is reporting it's device ID to be 2ac2. The phone will autodetect the speed you are trying to talk to it at. I tried 9600 and 38400 and they both worked.
AT OK AT&V &C: 2; &D: 2; &F: 0; E: 1; L: 0; M: 0; Q: 0; V: 1; X: 4; Z: 0; S0: 0; S3: 13; S4: 10; S5: 8; S6: 2; S7: 50; S8: 2; S9: 6; S10: 14; S11: 95; +ICF: 3,3; +IFC: 2,2; +IPR: 19200; +DR: 0; +DS: 3,0,2048,6; +MODE: 0; +CDR: 0; +CDS: 0,1,2048,6; +CFC: 0; +CFG: ""; +CMUX: C,2; +CQD: 10; +CRC: 0; +CRM: 2; +CTA: 30; +CXT: 0; +EB: 1,0,30; +EFCS: 1; +ER: 0; +ES: 3,0,2; +ESR: 1; +ETBM: 1,1,20; +ILRR: 0; +MA: ; +MR: 0; +MS: ; +MV18R: 0; +MV18S: 0,0,0; +FAA: 0; +FAP: 0,0,0; +FBO: 0; +FBU: 0; +FCLASS: 0; +FCQ: 1,0; +FCC: 0,1,0,0,0,0,0,0; +FCR: 0; +FCT: 1E; +FEA: 0; +FFC: 0,0,0,0; +FHS: 0; +FIE: 0; +FIP: 0; +FIS: 0,1,0,0,0,0,0,0; +FLI: ""; +FLO: 1; +FLP: 0; +FMS: 0; +FNR: 0,0,0,0; +FNS: ""; +FPA: ""; +FPI: ""; +FPP: 0; +FPR: 8; +FPS: 1; +FPW: ""; +FRQ: 0,0; +FRY: 0; +FSA: ""; +FSP: 0 OK
It looks like this switches the phone to device ID 2a21. At that point, AT commands don't seem to work anymore.
AT OK AT+MODE=8
Kernel output
Normal output from powering on the phone while it's connected to the USB cable:
Sep 5 13:53:22 localhost kernel: ohci_hcd 0000:00:03.1: wakeup Sep 5 13:53:22 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 12 Sep 5 13:53:23 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Sep 5 13:53:23 localhost kernel: cdc_acm 3-1:1.0: ttyACM0: USB ACM device
Various output and errors from attempts to talk to the phone with moto4lin:
Sep 5 12:41:25 localhost kernel: ohci_hcd 0000:00:03.1: wakeup Sep 5 12:41:25 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 8 Sep 5 12:41:26 localhost kernel: usb 3-1: device descriptor read/64, error -110 Sep 5 12:41:26 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Sep 5 12:41:26 localhost kernel: cdc_acm 3-1:1.0: ttyACM0: USB ACM device Sep 5 12:42:06 localhost kernel: usb 3-1: USB disconnect, address 8 Sep 5 12:42:07 localhost kernel: ohci_hcd 0000:00:03.1: wakeup Sep 5 12:42:08 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 9 Sep 5 12:42:08 localhost kernel: usb 3-1: config 1 has an invalid interface number: 6 but max is 3 Sep 5 12:42:08 localhost kernel: usb 3-1: config 1 has an invalid interface number: 8 but max is 3 Sep 5 12:42:08 localhost kernel: usb 3-1: config 1 has no interface number 2 Sep 5 12:42:08 localhost kernel: usb 3-1: config 1 has no interface number 3 Sep 5 12:42:08 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Sep 5 12:42:08 localhost kernel: cdc_acm 3-1:1.0: ttyACM0: USB ACM device Sep 5 12:47:32 localhost kernel: usb 3-1: USB disconnect, address 9 Sep 5 13:17:13 localhost kernel: ohci_hcd 0000:00:03.1: wakeup Sep 5 13:17:13 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 10 Sep 5 13:17:14 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Sep 5 13:17:14 localhost kernel: cdc_acm 3-1:1.0: ttyACM0: USB ACM device Sep 5 13:18:29 localhost kernel: usb 3-1: USB disconnect, address 10 Sep 5 13:18:30 localhost kernel: ohci_hcd 0000:00:03.1: wakeup Sep 5 13:18:31 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 11 Sep 5 13:18:31 localhost kernel: usb 3-1: config 1 has an invalid interface number: 6 but max is 3 Sep 5 13:18:31 localhost kernel: usb 3-1: config 1 has an invalid interface number: 8 but max is 3 Sep 5 13:18:31 localhost kernel: usb 3-1: config 1 has no interface number 2 Sep 5 13:18:31 localhost kernel: usb 3-1: config 1 has no interface number 3 Sep 5 13:18:31 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Sep 5 13:18:31 localhost kernel: cdc_acm 3-1:1.0: ttyACM1: USB ACM device Sep 5 13:18:51 localhost kernel: usb 1-3: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110 Sep 5 13:37:50 localhost kernel: usb 1-3: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
The above output is from 2.6.17:
jcarr:~# uname -a Linux jcarr 2.6.17-1-686 #1 SMP Thu Jun 29 21:48:36 UTC 2006 i686 GNU/Linux
lsusb -v output (When in device 2a21 mode)
Bus 003 Device 011: ID 22b8:2a21 Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x22b8 Motorola PCS
idProduct 0x2a21
bcdDevice 0.01
iManufacturer 1 Motorola Inc.
iProduct 2 Motorola A41x/V32x
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 92
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 4 Motorola Communication Interface
CDC Header:
bcdCDC 1.09
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x0f
connection notifications
sends break
line coding and serial state
get/set/clear comm features
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 4 Motorola Communication Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a EP 10 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0b EP 11 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
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 Data
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
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
lsusb -v output (When in device 2ac2 mode)
Bus 003 Device 016: ID 22b8:2ac2 Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications bDeviceSubClass 0 bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x22b8 Motorola PCS
idProduct 0x2ac2
bcdDevice 0.01
iManufacturer 1 Motorola, Inc.
iProduct 2 Motorola A41x/V32x
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 4 Motorola Communication Interface
CDC Header:
bcdCDC 1.09
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x0f
connection notifications
sends break
line coding and serial state
get/set/clear comm features
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 4 Motorola Communication Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a EP 10 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0b EP 11 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
