On Wed, Oct 26, 2005 at 04:43:23PM -0400, James Hiscock wrote:
> > Do you have it working?
> 
> Yes.

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

> > And if so, which kernel are you using?
> 
> gentoo-sources-2.6.13-r3 (or some other -r? value - can't recall offhand)

Ok, hopefully my 2.6.10-gentoo-r6 is close enough to not make any
difference.

> > Is it a Kernel V2.6 thing, or is there some configuration that I need
> > to do?
> 
> As I said in my reply to your other post, make sure you have USB Modem
> support in the kernel compiled as a module, and pay attention to dmesg
> when you plug your phone in -- it'll give you the right device path...
> just slap that into the configuration for moto4lin, and it should
> work...
> 
> (I suspect I also had to change the permissions/ownership of the /dev
> entry for the USB Modem driver, but that was pretty straight-forward:
> since I'm working on a single-user system, I did the horribly insecure
> thing and just chmod 777'd the dev entry... ;)

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

Now that I have rectified that oversight I seem to get a little
closer, but something is still going wrong.

Plugging in the phone now results in the following messages:
  usb 1-1: new full speed USB device using uhci_hcd and address 2
  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 3
  usb 1-1: device descriptor read/64, error -71
  cdc_acm 1-1:1.0: ttyACM0: USB ACM device

The last message is encouraging, but the preceding error '-71's are
worrying.

The /proc/bus/usb/devices entry for the phone has the correct driver
indicated:
  T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
  D:  Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
  P:  Vendor=22b8 ProdID=4902 Rev= 0.01
  S:  Manufacturer=Motorola Inc.
  S:  Product=Motorola Phone (C380)
  C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
  I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
  E:  Ad=89(I) Atr=03(Int.) MxPS=  16 Ivl=10ms
  I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
  E:  Ad=01(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
  E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms

And /proc/usb now contains
  1.penemunde:/proc/bus/usb> ls -l /dev/usb
  total 0
  drwxr-xr-x  1 root root 0 Jan  1  1970 acm
  drwxr-xr-x  1 root root 0 Jan  1  1970 hid
  1.penemunde:/proc/bus/usb> ls -lR /dev/usb
  /dev/usb:
  total 0
  drwxr-xr-x  1 root root 0 Jan  1  1970 acm
  drwxr-xr-x  1 root root 0 Jan  1  1970 hid
  
  /dev/usb/acm:
  total 0
  crw-------  1 root root 166, 0 Jan  1  1970 0
  
  /dev/usb/hid:
  total 0


But when I try moto4lin I get
        [info] Phone pluged as AT
        Try to connect
        [error] Unable to connect
        [info] Phone is unpluged
and the following system messages are generated
  usb 1-1: USB disconnect, address 3
  usb 1-1: new full speed USB device using uhci_hcd and address 4
  usb 1-1: config 1 has an invalid interface number: 5 but max is 2
  usb 1-1: config 1 has an invalid interface number: 6 but max is 2
  usb 1-1: config 1 has an invalid interface number: 8 but max is 2
  usb 1-1: config 1 has no interface number 0
  usb 1-1: config 1 has no interface number 1
  usb 1-1: config 1 has no interface number 2

Any ideas what you are doing differently? What do your system messages
look like?

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

Reply via email to