Sorry about the delayed reply - I have been away for a couple of days. On Thu, Oct 27, 2005 at 05:25:12PM -0400, James Hiscock wrote: > > and the fact that you get a /dev/ttyACM0 and I get a /dev/usb/acm/0. > > I wonder if that indicates a slight USB driver change between our > > two kernels? > > The device file difference might just be from me running > sys-fs/udev-070-r1... not sure, though.
Is that non-standard? I only see * sys-fs/udev Latest version available: 068 Latest version installed: [ Not Installed ] Size of downloaded files: 436 kB Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html Description: Linux dynamic and persistent device naming support (aka userspace devfs) License: GPL-2 in portage, and as you can see I don't have it installed. > > I assume the two addresses I get on connect reflect the fact that my > > phone has two interfaces defined - one comm. with a single endpoint, and > > one data with 2 endpoints. Yours seems to have two configurations > > whereas mine has Cfg#=1 > > You lost me there, but that's ok -- I think I know what you're talking > about.... It is all magic that I didn't know anything about till I started trying to figure out how to get this phone to work ;) > > Errno 71 corresponds to "protocol error" which doesn't sound good. > > No, that it doesn't. > > > What does your /proc/bus/usb/devices entry show for the phone? > > Here you go -- hope it makes more sense to you, than it does to me. ;) > > T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2 > P: Vendor=22b8 ProdID=4902 Rev= 0.01 > S: Manufacturer=Motorola Inc. > S: Product=Motorola Phone (V3) config 1 (active) > C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm > E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms > I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm > E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms config 2 > C: #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver= > E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms > I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver= > E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms That tells me that you (or at least your phone) has two configurations, of which the first is the active one. The only significant difference I can see is that the first has a much higher maximum power requirement (500mA vs 100mA) - however both are quite a bit higher than the 20mA of my phone's single configuaration... Both of your configurations have two Interfaces, the first is a 'comm.' type with one end point, and the second a 'data' with two Bulk endpoints. Thus they both look more or less the same as the single config that I have. I tried installing the latest kernel (2.6.12-r10) but that did not seem to make any difference - I get the same protocol error message on connection. So currently I am at a bit of a loss. Unless you have some subtly different settings in your kernel config, it is starting to look like resolving this may require a deeper understanding of USB, the Linux USB driver implementation and the protocols used by Motorola phones than I currently posess (I do not have a copy of the Windows software for the phone, so I can't check to see what it is doing differently). Here is what 'grep USB /usr/src/linux/.conf' produces for me - does anything standout as being different to your config? # USB devices # CONFIG_SND_USB_AUDIO is not set # CONFIG_SND_USB_USX2Y is not set # USB support CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB=m # CONFIG_USB_DEBUG is not set # Miscellaneous USB options CONFIG_USB_DEVICEFS=y # CONFIG_USB_BANDWIDTH is not set # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_SUSPEND is not set # CONFIG_USB_OTG is not set # USB Host Controller Drivers CONFIG_USB_EHCI_HCD=m # CONFIG_USB_EHCI_SPLIT_ISO is not set # CONFIG_USB_EHCI_ROOT_HUB_TT is not set CONFIG_USB_OHCI_HCD=m # CONFIG_USB_OHCI_BIG_ENDIAN is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=m # CONFIG_USB_SL811_HCD is not set # USB Device Class drivers # CONFIG_USB_AUDIO is not set # CONFIG_USB_BLUETOOTH_TTY is not set # CONFIG_USB_MIDI is not set CONFIG_USB_ACM=m CONFIG_USB_PRINTER=m # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # USB Input Devices CONFIG_USB_HID=m CONFIG_USB_HIDINPUT=y CONFIG_USB_HIDDEV=y # USB HID Boot Protocol drivers # CONFIG_USB_KBD is not set # CONFIG_USB_MOUSE is not set # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_KBTAB is not set # CONFIG_USB_POWERMATE is not set # CONFIG_USB_MTOUCH is not set # CONFIG_USB_EGALAX is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_ATI_REMOTE is not set # USB Imaging devices # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # USB Multimedia devices # CONFIG_USB_DABUSB is not set # Video4Linux support is needed for USB Multimedia device support # USB Network Adapters # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # CONFIG_USB_ZD1201 is not set CONFIG_USB_MON=m # USB port drivers # CONFIG_USB_USS720 is not set # USB Serial Converter support # CONFIG_USB_SERIAL is not set # USB Miscellaneous drivers # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGETKIT is not set # CONFIG_USB_PHIDGETSERVO is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_TEST is not set # USB ATM/DSL drivers # USB Gadget Support # CONFIG_USB_GADGET is not set Only other thing I can think of is a problem with my cable. It is not specifically made for the phone (it is from my MP3 player), but my understanding is that USB is just a 4 wire protocol, so it the connectors phsically fit the cable should be usable. Regards, DigbyT -- Digby R. S. Tarvin [EMAIL PROTECTED] http://www.digbyt.com -- gentoo-user@gentoo.org mailing list