On Thu, Oct 27, 2005 at 12:31:37AM -0400, James Hiscock wrote:
> 
> 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.

It defaults to /dev/usb/acm/0 which seems to be correct for me. At least
this file exists, whereas /dev/ttyACM0 does not.

I tried it as root to make sure there were no permissions problems - it
had no effect.

> If you run moto4lin from a terminal, it spits out a bit of debugging
> info that might help too, that looks like this:
.
.
> <snip>
> doActConnect
> doActConnect
> P2kProc::doConnect()
> New mode: 2
> doActConnect
> Filelist received: 527
> </snip>
> 

For me it produces:
 Form1
 PhoneMan
 New mode: 1
 doActConnect
 doActConnect
 P2kProc::doConnect()
 New mode: 0

> > 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>
 
Looks like the main clues are the error messages produced when I plug in:
 usb 1-1: new full speed USB device using uhci_hcd and address 8
 usb 1-1: device descriptor read/64, error -71
 usb 1-1: device descriptor read/64, error -71
 usb 1-1: new full speed USB device using uhci_hcd and address 9
 usb 1-1: device descriptor read/64, error -71
 cdc_acm 1-1:1.0: ttyACM0: USB ACM device

vs your
 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

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?

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

Errno 71 corresponds to "protocol error" which doesn't sound good.

What does your /proc/bus/usb/devices entry show for the phone?

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                             [EMAIL PROTECTED]
http://www.digbyt.com
-- 
gentoo-user@gentoo.org mailing list

Reply via email to