1 |
Sorry about the delayed reply - I have been away for a couple |
2 |
of days. |
3 |
|
4 |
On Thu, Oct 27, 2005 at 05:25:12PM -0400, James Hiscock wrote: |
5 |
> > and the fact that you get a /dev/ttyACM0 and I get a /dev/usb/acm/0. |
6 |
> > I wonder if that indicates a slight USB driver change between our |
7 |
> > two kernels? |
8 |
> |
9 |
> The device file difference might just be from me running |
10 |
> sys-fs/udev-070-r1... not sure, though. |
11 |
|
12 |
Is that non-standard? I only see |
13 |
* sys-fs/udev |
14 |
Latest version available: 068 |
15 |
Latest version installed: [ Not Installed ] |
16 |
Size of downloaded files: 436 kB |
17 |
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html |
18 |
Description: Linux dynamic and persistent device naming support (aka userspace devfs) |
19 |
License: GPL-2 |
20 |
|
21 |
in portage, and as you can see I don't have it installed. |
22 |
|
23 |
> > I assume the two addresses I get on connect reflect the fact that my |
24 |
> > phone has two interfaces defined - one comm. with a single endpoint, and |
25 |
> > one data with 2 endpoints. Yours seems to have two configurations |
26 |
> > whereas mine has Cfg#=1 |
27 |
> |
28 |
> You lost me there, but that's ok -- I think I know what you're talking |
29 |
> about.... |
30 |
|
31 |
It is all magic that I didn't know anything about till I started |
32 |
trying to figure out how to get this phone to work ;) |
33 |
|
34 |
> > Errno 71 corresponds to "protocol error" which doesn't sound good. |
35 |
> |
36 |
> No, that it doesn't. |
37 |
> |
38 |
> > What does your /proc/bus/usb/devices entry show for the phone? |
39 |
> |
40 |
> Here you go -- hope it makes more sense to you, than it does to me. ;) |
41 |
> |
42 |
> T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 |
43 |
> D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2 |
44 |
> P: Vendor=22b8 ProdID=4902 Rev= 0.01 |
45 |
> S: Manufacturer=Motorola Inc. |
46 |
> S: Product=Motorola Phone (V3) |
47 |
|
48 |
config 1 (active) |
49 |
|
50 |
> C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=500mA |
51 |
> I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm |
52 |
> E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms |
53 |
> I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm |
54 |
> E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
55 |
> E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
56 |
|
57 |
config 2 |
58 |
|
59 |
> C: #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=100mA |
60 |
> I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver= |
61 |
> E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms |
62 |
> I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver= |
63 |
> E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
64 |
> E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
65 |
|
66 |
That tells me that you (or at least your phone) has two configurations, |
67 |
of which the first is the active one. The only significant |
68 |
difference I can see is that the first has a much higher maximum |
69 |
power requirement (500mA vs 100mA) - however both are quite a bit |
70 |
higher than the 20mA of my phone's single configuaration... |
71 |
|
72 |
Both of your configurations have two Interfaces, the first is a 'comm.' type |
73 |
with one end point, and the second a 'data' with two Bulk endpoints. |
74 |
Thus they both look more or less the same as the single config that I have. |
75 |
|
76 |
I tried installing the latest kernel (2.6.12-r10) but that did not seem |
77 |
to make any difference - I get the same protocol error message on |
78 |
connection. |
79 |
|
80 |
So currently I am at a bit of a loss. Unless you have some subtly |
81 |
different settings in your kernel config, it is starting to look |
82 |
like resolving this may require a deeper understanding of USB, the |
83 |
Linux USB driver implementation and the protocols used by Motorola |
84 |
phones than I currently posess (I do not have a copy of the Windows |
85 |
software for the phone, so I can't check to see what it is doing |
86 |
differently). |
87 |
|
88 |
Here is what 'grep USB /usr/src/linux/.conf' produces for me - does |
89 |
anything standout as being different to your config? |
90 |
|
91 |
# USB devices |
92 |
# CONFIG_SND_USB_AUDIO is not set |
93 |
# CONFIG_SND_USB_USX2Y is not set |
94 |
# USB support |
95 |
CONFIG_USB_ARCH_HAS_HCD=y |
96 |
CONFIG_USB_ARCH_HAS_OHCI=y |
97 |
CONFIG_USB=m |
98 |
# CONFIG_USB_DEBUG is not set |
99 |
# Miscellaneous USB options |
100 |
CONFIG_USB_DEVICEFS=y |
101 |
# CONFIG_USB_BANDWIDTH is not set |
102 |
# CONFIG_USB_DYNAMIC_MINORS is not set |
103 |
# CONFIG_USB_SUSPEND is not set |
104 |
# CONFIG_USB_OTG is not set |
105 |
# USB Host Controller Drivers |
106 |
CONFIG_USB_EHCI_HCD=m |
107 |
# CONFIG_USB_EHCI_SPLIT_ISO is not set |
108 |
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set |
109 |
CONFIG_USB_OHCI_HCD=m |
110 |
# CONFIG_USB_OHCI_BIG_ENDIAN is not set |
111 |
CONFIG_USB_OHCI_LITTLE_ENDIAN=y |
112 |
CONFIG_USB_UHCI_HCD=m |
113 |
# CONFIG_USB_SL811_HCD is not set |
114 |
# USB Device Class drivers |
115 |
# CONFIG_USB_AUDIO is not set |
116 |
# CONFIG_USB_BLUETOOTH_TTY is not set |
117 |
# CONFIG_USB_MIDI is not set |
118 |
CONFIG_USB_ACM=m |
119 |
CONFIG_USB_PRINTER=m |
120 |
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information |
121 |
CONFIG_USB_STORAGE=m |
122 |
# CONFIG_USB_STORAGE_DEBUG is not set |
123 |
# CONFIG_USB_STORAGE_DATAFAB is not set |
124 |
# CONFIG_USB_STORAGE_FREECOM is not set |
125 |
# CONFIG_USB_STORAGE_ISD200 is not set |
126 |
# CONFIG_USB_STORAGE_DPCM is not set |
127 |
# CONFIG_USB_STORAGE_USBAT is not set |
128 |
# CONFIG_USB_STORAGE_SDDR09 is not set |
129 |
# CONFIG_USB_STORAGE_SDDR55 is not set |
130 |
# CONFIG_USB_STORAGE_JUMPSHOT is not set |
131 |
# USB Input Devices |
132 |
CONFIG_USB_HID=m |
133 |
CONFIG_USB_HIDINPUT=y |
134 |
CONFIG_USB_HIDDEV=y |
135 |
# USB HID Boot Protocol drivers |
136 |
# CONFIG_USB_KBD is not set |
137 |
# CONFIG_USB_MOUSE is not set |
138 |
# CONFIG_USB_AIPTEK is not set |
139 |
# CONFIG_USB_WACOM is not set |
140 |
# CONFIG_USB_KBTAB is not set |
141 |
# CONFIG_USB_POWERMATE is not set |
142 |
# CONFIG_USB_MTOUCH is not set |
143 |
# CONFIG_USB_EGALAX is not set |
144 |
# CONFIG_USB_XPAD is not set |
145 |
# CONFIG_USB_ATI_REMOTE is not set |
146 |
# USB Imaging devices |
147 |
# CONFIG_USB_MDC800 is not set |
148 |
# CONFIG_USB_MICROTEK is not set |
149 |
# USB Multimedia devices |
150 |
# CONFIG_USB_DABUSB is not set |
151 |
# Video4Linux support is needed for USB Multimedia device support |
152 |
# USB Network Adapters |
153 |
# CONFIG_USB_CATC is not set |
154 |
# CONFIG_USB_KAWETH is not set |
155 |
# CONFIG_USB_PEGASUS is not set |
156 |
# CONFIG_USB_RTL8150 is not set |
157 |
# CONFIG_USB_USBNET is not set |
158 |
# CONFIG_USB_ZD1201 is not set |
159 |
CONFIG_USB_MON=m |
160 |
# USB port drivers |
161 |
# CONFIG_USB_USS720 is not set |
162 |
# USB Serial Converter support |
163 |
# CONFIG_USB_SERIAL is not set |
164 |
# USB Miscellaneous drivers |
165 |
# CONFIG_USB_EMI62 is not set |
166 |
# CONFIG_USB_EMI26 is not set |
167 |
# CONFIG_USB_AUERSWALD is not set |
168 |
# CONFIG_USB_RIO500 is not set |
169 |
# CONFIG_USB_LEGOTOWER is not set |
170 |
# CONFIG_USB_LCD is not set |
171 |
# CONFIG_USB_LED is not set |
172 |
# CONFIG_USB_CYTHERM is not set |
173 |
# CONFIG_USB_PHIDGETKIT is not set |
174 |
# CONFIG_USB_PHIDGETSERVO is not set |
175 |
# CONFIG_USB_IDMOUSE is not set |
176 |
# CONFIG_USB_SISUSBVGA is not set |
177 |
# CONFIG_USB_TEST is not set |
178 |
# USB ATM/DSL drivers |
179 |
# USB Gadget Support |
180 |
# CONFIG_USB_GADGET is not set |
181 |
|
182 |
Only other thing I can think of is a problem with my cable. It is not |
183 |
specifically made for the phone (it is from my MP3 player), but my |
184 |
understanding is that USB is just a 4 wire protocol, so it the |
185 |
connectors phsically fit the cable should be usable. |
186 |
|
187 |
Regards, |
188 |
DigbyT |
189 |
-- |
190 |
Digby R. S. Tarvin digbyt@××××××.com |
191 |
http://www.digbyt.com |
192 |
-- |
193 |
gentoo-user@g.o mailing list |