Bug 105621

Summary: cdc-acm: USB device id table not complete
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Klein <asklein>
Component: Mobile DevicesAssignee: Greg Kroah-Hartman <gregkh>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: behlert, dieter, Fox7777, hare, haveaniceday, lnussel, ROBERT_REINDT, vetter
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: udev messages
script to make udev log readable
/proc/bus/usb/devices from my phone
Fix for not autoloading cdc-acm drivers

Description Andreas Klein 2005-08-18 16:24:23 UTC
If I plug in my phone, /dev/ttyACE0 is not created. This device is necessary to
access the phone with kmobiletools.
This works without problems in SUSE 9.3.
Comment 1 Andreas Klein 2005-08-18 16:29:45 UTC
Sorry, the device is ttyACM0.
It works, if I do modprobe cdc-acm.
In SUSE9.3 the module is loaded automatically, when the device is plugged in.
Comment 2 Stefan Behlert 2005-08-18 17:45:22 UTC
Christian, is there some udev-rule missing? 
Comment 3 Christian Zoz 2005-08-19 07:22:06 UTC
The problem is that the module is not loaded.

Please unload the module and unplug your phone. Set udev_log=info in
/etc/udev/udev.conf and restart boot.udev. Or use 'udevcontrol
log_priority=info. Then watch your syslog file and plug the phone.
Comment 4 Andreas Klein 2005-08-19 10:37:18 UTC
Created attachment 46672 [details]
udev messages
Comment 5 Christian Zoz 2005-08-19 11:11:54 UTC
Created attachment 46680 [details]
script to make udev log readable

Call it
   MESSAGES=/tmp/udevdebug ./show_event_log 1195 last
(will be in next udev package)

Then compare events 119{6,7 }with
   modinfo cdc-acm
You see that your device is unknown to the driver.

In next beta you may be able to use hwcfg- files also for usb
Comment 6 Christian Zoz 2005-08-19 11:15:52 UTC
Greg, it seems new_id for usb is also a good idea.

Who can add this device to cdc-acm device table?
Comment 7 Andreas Klein 2005-08-19 11:30:06 UTC
Same problem with Elsa Microlink 56k USB modem. Maybe all devices that were know
in SuSE 9.3 should be added to 10.0 as well?
Comment 8 Greg Kroah-Hartman 2005-08-19 18:18:06 UTC
Can you attach /proc/bus/usb/devices to this bug, with the device plugged into
the system?  That way I can try to determine why the cdc-acm driver isn't being
automatically loaded.

Also, re: comment #7, all devices that were automatically loaded in 9.3 should
already be supported in 10.  If not, please provide the same file and I'll look
into why not.
Comment 9 Ludwig Nussel 2005-08-25 13:25:06 UTC
Created attachment 47547 [details]
/proc/bus/usb/devices from my phone

after loading cdc-acm manually /dev/ttyACM0 works fine so the driver feels
responsible.
Comment 10 Greg Kroah-Hartman 2005-10-06 18:48:28 UTC
I've gotten this bug a lot, and if the driver itself can bind to the device,
then this means something is wrong with the hotplug subsystem, not the kernel.

Can someone please reassign this bug to the proper group?
Comment 11 Greg Kroah-Hartman 2005-10-06 18:49:09 UTC
*** Bug 118115 has been marked as a duplicate of this bug. ***
Comment 12 Greg Kroah-Hartman 2005-10-06 20:46:10 UTC
*** Bug 103978 has been marked as a duplicate of this bug. ***
Comment 13 Greg Kroah-Hartman 2005-10-10 19:47:06 UTC
Ugh, found this, this is not a hotplug bug, but using udev somehow
causes it to show up.

It's a kernel issue, I'll work on fixing it...
Comment 14 Greg Kroah-Hartman 2005-10-21 22:05:19 UTC
Created attachment 55137 [details]
Fix for not autoloading cdc-acm drivers

Can you try this patch out to see if it solves
your problem?
Comment 15 Andreas Klein 2005-10-24 08:51:21 UTC
Yes, this patch solves the problem.
Comment 16 Greg Kroah-Hartman 2005-10-25 22:21:48 UTC
Thanks, has been checked into cvs and will show up in the next kernel release.
Comment 17 Greg Kroah-Hartman 2005-10-29 19:53:25 UTC
*** Bug 131154 has been marked as a duplicate of this bug. ***
Comment 18 Greg Kroah-Hartman 2005-10-29 19:54:46 UTC
*** Bug 121817 has been marked as a duplicate of this bug. ***
Comment 19 Christian Volkmann 2005-10-30 12:43:23 UTC
tested: patch solves problem for Fritz!Box USB interface.
Thanks, Christian