Google
 
Web www.howardforums.com
Pages: 1

z6c and Linux

(Click here to view the original thread with full colors/images)


Posted by: hyc

Using the V710m profile on my MPT works fine with my laptop on WindowsXP. I was able to copy some photos I snapped from the phone to my PC, and I was able to use it as a modem.

But on Linux I don't get anything from it; it doesn't register as a modem or anything else. Any ideas?

Also, my K1 had a menu option for switching the USB connection from Modem, to Storage, to Printing mode. The z6c doesn't have any of these menu options. Is there a SEEM edit to enable them?



Posted by: hyc

Here's the relevant output from lsusb -v for the K1
Code:
Bus 003 Device 051: ID 22b8:4902 Motorola PCS E398 GSM Phone Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x22b8 Motorola PCS idProduct 0x4902 E398 GSM Phone bcdDevice 0.01 iManufacturer 1 Motorola Inc. iProduct 2 Motorola Phone (K1) iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 67 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 4 Motorola Communication Class bmAttributes 0x80 (Bus Powered) MaxPower 500mA 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 5 Motorola Communication Interface CDC Header: bcdCDC 1.01 CDC Call Management: bmCapabilities 0x03 call management use DataInterface bDataInterface 1 CDC Union: bMasterInterface 0 bSlaveInterface 1 CDC ACM: bmCapabilities 0x02 line coding and serial state Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x89 EP 9 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 10 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 16 Motorola Data Interface Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0020 1x 32 bytes bInterval 0 Device Status: 0x0000 (Bus Powered)


Here's the info for the z6c:
Code:
Bus 003 Device 050: ID 22b8:2b24 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 0x2b24 bcdDevice 0.02 iManufacturer 1 Motorola Inc. iProduct 2 Motorola Z6c 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 0x0010 1x 16 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)


Looks like they've programmed this thing to advertise an undefined device class. Very annoying.



Posted by: SCALFK

I have the same problem, Emailed Moto Tech support, and told them I use Ubuntu 8.04 Debian based Linux Distrobution, they responded with "What version of windows are you using?" so help from them is out...
does your ssudo dmesg output look like this
Code:
[ 517.503081] usb 3-1: new full speed USB device using uhci_hcd and address 4 [ 517.544857] usb 3-1: configuration #1 chosen from 1 choice

Scalf



Posted by: ndnihil

You need to load the usbserial module with the vendor and product options for your particular phone. For my W755, the process looked something like this:

Get vendor and product ID:
# lsusb |grep -i moto
Bus 003 Device 060: ID 22b8:2b44 Motorola PCS

Tell modprobe to load usbserial for this device. Method varies from dist to dist:
alias usb:v22b8:2b44* usbserial
options usbserial vendor=0x22b8 product=0x2b44

Then when the module is loaded with those parameters, you'll get a device file for the phone. You may get two devices (I do for the W755, but not for the E815), if so, use the first. From /var/log/messages:

Aug 14 23:45:20 jama kernel: usb 3-2: generic converter now attached to ttyUSB0
Aug 14 23:45:20 jama kernel: usb 3-2: generic converter now attached to ttyUSB1

For the E815 the device is /dev/ttyACM0, but varies from phone to phone and system to system. I'd guess that any of them with the microUSB plugs will show up as /dev/ttyUSB*.





vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2008 - Created by Stefan "Xenon" Kaeser