1 |
On Wed, Oct 26, 2005 at 04:43:23PM -0400, James Hiscock wrote: |
2 |
> > Do you have it working? |
3 |
> |
4 |
> Yes. |
5 |
|
6 |
That is encouraging. Which model phone to you have it working |
7 |
with? |
8 |
|
9 |
> > And if so, which kernel are you using? |
10 |
> |
11 |
> gentoo-sources-2.6.13-r3 (or some other -r? value - can't recall offhand) |
12 |
|
13 |
Ok, hopefully my 2.6.10-gentoo-r6 is close enough to not make any |
14 |
difference. |
15 |
|
16 |
> > Is it a Kernel V2.6 thing, or is there some configuration that I need |
17 |
> > to do? |
18 |
> |
19 |
> As I said in my reply to your other post, make sure you have USB Modem |
20 |
> support in the kernel compiled as a module, and pay attention to dmesg |
21 |
> when you plug your phone in -- it'll give you the right device path... |
22 |
> just slap that into the configuration for moto4lin, and it should |
23 |
> work... |
24 |
> |
25 |
> (I suspect I also had to change the permissions/ownership of the /dev |
26 |
> entry for the USB Modem driver, but that was pretty straight-forward: |
27 |
> since I'm working on a single-user system, I did the horribly insecure |
28 |
> thing and just chmod 777'd the dev entry... ;) |
29 |
|
30 |
You were right - my initail problem was having omitted the cdc_acm |
31 |
driver from my kernel config. |
32 |
|
33 |
Now that I have rectified that oversight I seem to get a little |
34 |
closer, but something is still going wrong. |
35 |
|
36 |
Plugging in the phone now results in the following messages: |
37 |
usb 1-1: new full speed USB device using uhci_hcd and address 2 |
38 |
usb 1-1: device descriptor read/64, error -71 |
39 |
usb 1-1: device descriptor read/64, error -71 |
40 |
usb 1-1: new full speed USB device using uhci_hcd and address 3 |
41 |
usb 1-1: device descriptor read/64, error -71 |
42 |
cdc_acm 1-1:1.0: ttyACM0: USB ACM device |
43 |
|
44 |
The last message is encouraging, but the preceding error '-71's are |
45 |
worrying. |
46 |
|
47 |
The /proc/bus/usb/devices entry for the phone has the correct driver |
48 |
indicated: |
49 |
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 |
50 |
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
51 |
P: Vendor=22b8 ProdID=4902 Rev= 0.01 |
52 |
S: Manufacturer=Motorola Inc. |
53 |
S: Product=Motorola Phone (C380) |
54 |
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA |
55 |
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm |
56 |
E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms |
57 |
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm |
58 |
E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
59 |
E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms |
60 |
|
61 |
And /proc/usb now contains |
62 |
1.penemunde:/proc/bus/usb> ls -l /dev/usb |
63 |
total 0 |
64 |
drwxr-xr-x 1 root root 0 Jan 1 1970 acm |
65 |
drwxr-xr-x 1 root root 0 Jan 1 1970 hid |
66 |
1.penemunde:/proc/bus/usb> ls -lR /dev/usb |
67 |
/dev/usb: |
68 |
total 0 |
69 |
drwxr-xr-x 1 root root 0 Jan 1 1970 acm |
70 |
drwxr-xr-x 1 root root 0 Jan 1 1970 hid |
71 |
|
72 |
/dev/usb/acm: |
73 |
total 0 |
74 |
crw------- 1 root root 166, 0 Jan 1 1970 0 |
75 |
|
76 |
/dev/usb/hid: |
77 |
total 0 |
78 |
|
79 |
|
80 |
But when I try moto4lin I get |
81 |
[info] Phone pluged as AT |
82 |
Try to connect |
83 |
[error] Unable to connect |
84 |
[info] Phone is unpluged |
85 |
and the following system messages are generated |
86 |
usb 1-1: USB disconnect, address 3 |
87 |
usb 1-1: new full speed USB device using uhci_hcd and address 4 |
88 |
usb 1-1: config 1 has an invalid interface number: 5 but max is 2 |
89 |
usb 1-1: config 1 has an invalid interface number: 6 but max is 2 |
90 |
usb 1-1: config 1 has an invalid interface number: 8 but max is 2 |
91 |
usb 1-1: config 1 has no interface number 0 |
92 |
usb 1-1: config 1 has no interface number 1 |
93 |
usb 1-1: config 1 has no interface number 2 |
94 |
|
95 |
Any ideas what you are doing differently? What do your system messages |
96 |
look like? |
97 |
|
98 |
Regards, |
99 |
DigbyT |
100 |
-- |
101 |
Digby R. S. Tarvin digbyt@××××××.com |
102 |
http://www.digbyt.com |
103 |
-- |
104 |
gentoo-user@g.o mailing list |