1 |
> That is encouraging. Which model phone to you have it working |
2 |
> with? |
3 |
|
4 |
Razr V3 - it's a pretty sweet phone. ;) |
5 |
|
6 |
> You were right - my initail problem was having omitted the cdc_acm |
7 |
> driver from my kernel config. |
8 |
|
9 |
Excellent. I like it when I'm right - it happens so infrequently... :) |
10 |
|
11 |
> cdc_acm 1-1:1.0: ttyACM0: USB ACM device |
12 |
|
13 |
Now _that's_ what I was expecting you to get -- the rest of the |
14 |
messages are gibberish to me, though... :( |
15 |
|
16 |
> But when I try moto4lin I get |
17 |
> [info] Phone pluged as AT |
18 |
> Try to connect |
19 |
> [error] Unable to connect |
20 |
> [info] Phone is unpluged |
21 |
|
22 |
Did you specify the correct device for moto4lin? Should be |
23 |
/dev/ttyACM0. Also, check the permissions on /dev/ttyACM0 -- by |
24 |
default, they're too restrictive. |
25 |
|
26 |
If you run moto4lin from a terminal, it spits out a bit of debugging |
27 |
info that might help too, that looks like this: |
28 |
|
29 |
<snip> |
30 |
sanity@greed ~ $ moto4lin |
31 |
Form1 |
32 |
PhoneMan |
33 |
New mode: 1 |
34 |
doActConnect |
35 |
doActConnect |
36 |
P2kProc::doConnect() |
37 |
sh: /dev/ttyACM0: Permission denied |
38 |
</snip> |
39 |
|
40 |
...so I changed the permissions, and tried clicking the |
41 |
Connect/Disconnect button again, and go this: |
42 |
|
43 |
<snip> |
44 |
doActConnect |
45 |
doActConnect |
46 |
P2kProc::doConnect() |
47 |
New mode: 2 |
48 |
doActConnect |
49 |
Filelist received: 527 |
50 |
</snip> |
51 |
|
52 |
> What do your system messages look like? |
53 |
|
54 |
When I first plugged in the phone, I got this: |
55 |
<snip> |
56 |
usb 4-2: new full speed USB device using uhci_hcd and address 2 |
57 |
usb 4-2: configuration #1 chosen from 2 choices |
58 |
usb.agent[24980]: Keeping default configuration with |
59 |
/sys//devices/pci0000:00/0000:00:1d.3/usb4/4-2 |
60 |
cdc_acm 4-2:1.0: ttyACM0: USB ACM device |
61 |
usbcore: registered new driver cdc_acm |
62 |
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver |
63 |
for USB modems and ISDN adapters |
64 |
</snip> |
65 |
|
66 |
After fixing the permissions on /dev/ttyACM0 and clicking the |
67 |
Connect/Disconnect button in moto4lin, I got this: |
68 |
|
69 |
<snip> |
70 |
usb 4-2: USB disconnect, address 2 |
71 |
usb 4-2: new full speed USB device using uhci_hcd and address 3 |
72 |
usb 4-2: config 1 has an invalid interface number: 5 but max is 2 |
73 |
usb 4-2: config 1 has an invalid interface number: 6 but max is 2 |
74 |
usb 4-2: config 1 has an invalid interface number: 8 but max is 2 |
75 |
usb 4-2: config 1 has no interface number 0 |
76 |
usb 4-2: config 1 has no interface number 1 |
77 |
usb 4-2: config 1 has no interface number 2 |
78 |
</snip> |
79 |
|
80 |
...which looks pretty much the same as yours, but everything works the |
81 |
way it should after that, so the only thing I can think of is the |
82 |
permissions thing. <shrug> |
83 |
|
84 |
> Any ideas what you are doing differently? |
85 |
|
86 |
Well, it's a slightly different configuration from the default: I've |
87 |
got the Settings -> Preferences -> File Manager -> "Load File list on |
88 |
connect" option selected, the "ACM Device" pointed at /dev/ttyACM0, |
89 |
and read-write permissions for everybody on /dev/ttyACM0... |
90 |
|
91 |
I suspect I may have also gone into the Preferences -> Connection |
92 |
section, and clicked the "Update List" button, selected my phone from |
93 |
the list of devices, and clicked both the "Set As AT Device" and "Set |
94 |
As P2k Device" as well, since I've got the right Vendor/Product IDs |
95 |
set, as well... |
96 |
|
97 |
Anyway... hope _something_ in there helps... |
98 |
|
99 |
-- |
100 |
gentoo-user@g.o mailing list |