> That is encouraging. Which model phone to you have it working
> with?

Razr V3 - it's a pretty sweet phone. ;)

> You were right - my initail problem was having omitted the cdc_acm
> driver from my kernel config.

Excellent. I like it when I'm right - it happens so infrequently... :)

>   cdc_acm 1-1:1.0: ttyACM0: USB ACM device

Now _that's_ what I was expecting you to get -- the rest of the
messages are gibberish to me, though... :(

> But when I try moto4lin I get
>         [info] Phone pluged as AT
>         Try to connect
>         [error] Unable to connect
>         [info] Phone is unpluged

Did you specify the correct device for moto4lin? Should be
/dev/ttyACM0. Also, check the permissions on /dev/ttyACM0 -- by
default, they're too restrictive.

If you run moto4lin from a terminal, it spits out a bit of debugging
info that might help too, that looks like this:

<snip>
[EMAIL PROTECTED] ~ $ moto4lin
Form1
PhoneMan
New mode: 1
doActConnect
doActConnect
P2kProc::doConnect()
sh: /dev/ttyACM0: Permission denied
</snip>

...so I changed the permissions, and tried clicking the
Connect/Disconnect button again, and go this:

<snip>
doActConnect
doActConnect
P2kProc::doConnect()
New mode: 2
doActConnect
Filelist received: 527
</snip>

> What do your system messages look like?

When I first plugged in the phone, I got this:
<snip>
usb 4-2: new full speed USB device using uhci_hcd and address 2
usb 4-2: configuration #1 chosen from 2 choices
usb.agent[24980]: Keeping default configuration with
/sys//devices/pci0000:00/0000:00:1d.3/usb4/4-2
cdc_acm 4-2:1.0: ttyACM0: USB ACM device
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver
for USB modems and ISDN adapters
</snip>

After fixing the permissions on /dev/ttyACM0 and clicking the
Connect/Disconnect button in moto4lin, I got this:

<snip>
usb 4-2: USB disconnect, address 2
usb 4-2: new full speed USB device using uhci_hcd and address 3
usb 4-2: config 1 has an invalid interface number: 5 but max is 2
usb 4-2: config 1 has an invalid interface number: 6 but max is 2
usb 4-2: config 1 has an invalid interface number: 8 but max is 2
usb 4-2: config 1 has no interface number 0
usb 4-2: config 1 has no interface number 1
usb 4-2: config 1 has no interface number 2
</snip>

...which looks pretty much the same as yours, but everything works the
way it should after that, so the only thing I can think of is the
permissions thing. <shrug>

> Any ideas what you are doing differently?

Well, it's a slightly different configuration from the default: I've
got the Settings -> Preferences -> File Manager -> "Load File list on
connect" option selected, the "ACM Device" pointed at /dev/ttyACM0,
and read-write permissions for everybody on /dev/ttyACM0...

I suspect I may have also gone into the Preferences -> Connection
section, and clicked the "Update List" button, selected my phone from
the list of devices, and clicked both the "Set As AT Device" and "Set
As P2k Device" as well, since I've got the right Vendor/Product IDs
set, as well...

Anyway... hope _something_ in there helps...

-- 
gentoo-user@gentoo.org mailing list

Reply via email to