william hanlon
2007-08-11
Hi,
I can't get my cdma razr v3m to speak to bitpim or moto4lin. after some hunting I think I know what the problem is. When I load the cdc_acm and usbserial modules, the ttyACM0 device is not created in /dev. If I make if using mknod (char dev major 166), moto4lin and bitpim say something like invalid name or device, which seems to mean to me that the kernel driver can't talk to the device.
I'm running Fedora 7 and when I do lsusb the device subclass doesn't report back as 0x02, which is what I believe is needed for the kernel to recognize it as an ACM device (according to linux/usb/cdc.h) and what I see that all users in the past have used to speak with their phones. Instead the device class and subclass are reported as 255 or Vendor Specific Class. Does this mean that Motorola has changed these values so that only proprietary software sold by motorola can read the device (at least without hacking the linux cdc-acm module)?
My Razr is relatively new, less than 1 year old. Can others confirm if they see this behavior? Could anyone in that has gotten their razrs to work with moto4lin or bitpim confirm as well. I'm looking at the output of lsusb -vv and the bDeviceClass and bDeviceSubClass fields.
Lukins
2008-01-01
Verified:
Bus 002 Device 004: ID 22b8:2a64 Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x22b8 Motorola PCS
idProduct 0x2a64
bcdDevice 0.01
iManufacturer 1 Motorola Inc.
iProduct 2 Motorola L7c/K1m/V3m
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 62
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Motorola Communication Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 128
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 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 0x02 EP 2 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 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Motorola Communication Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 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 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)