[plug] USB modem / cdc-acm problem in kernel 2.6.8?

Steve Boak sboak at westnet.com.au
Tue Mar 1 12:33:44 WST 2005


On Monday 28 February 2005 14:59, Carl Gherardi wrote:
> On Fri, 25 Feb 2005 21:47:22 +0800, Steve Boak <sboak at westnet.com.au> wrote:
> > Hi all
> >
> > Anyone else using (or tried to use) the cdc-acm.o module under kernel
> > 2.6.8 (debian sarge)? It was working perfectly controlling my Telstra
> > NT1+II ISDN modem in 2.4.22 (which uses acm, not cdc-acm), but after
> > upgrading the kernel it no longer works. Hotplug is working and my modem
> > is detected, but the cdc-acm module fails to create the /dev/ttyACM0
> > device as it used to.
>
> 2.4 kernels used a static /dev/ tree, devices weren't dynamically
> created at all. 2.6 device nodes are created at run time. From 2.4.22
> 'ls -l /dev/ttyACM0' - that will give oyu enough info to mknod the
> device in 2.6 if necessary
>
> Also what are you getting out of /var/log/messages and/or dmesg for this
> device?

Finally got the cdc-acm.o module working with my Telstra NT1+II ISDN modem - 
by downloading the latest 2.6.11-rc5-bk3 kernel source (including a cdc-acm.c 
patch) from http://www.kernel.org/

Under 2.6.11-rc5 (and from somewhere around 2.6.7), apparently /dev/ttyACM0 
was created, but when ppp tried to connect to it, the cdc-acm module crashed.

Seems it was a bug in the module initialisation code.

> > Also, and this one has caught me by suprise, /proc/bus/usb no longer
> > exists - even back on 2.4.22 (debian sarge) that I am using now. Maybe it
> > disappeared in one of the sarge updates? Where do I look for what used to
> > be in /proc/bus/usb?
> >
> > Any hints or tips on how to work out what is going on?
>
> /proc/bus/usb exists for me in 2.6.10, but you also have a
> /sys/bus/usb - which is now the prefered way to expose kernel stuff to
> userspace.

Yep, that's where it is!

Thanks

Steve


-- 
Ph: +61 8 97560662, IP-Phone: FWD# 454566, e164.org# 61897560662 

"Most men occasionally stumble over the truth, but most pick themselves
up and continue on as if nothing had happened." - Winston Churchill




More information about the plug mailing list