Bug 121355
| Summary: | cdc_acm: probe of 1-1:1.0 failed with error -5 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aleksey Nogin <aleksey> |
| Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.6.5-1.346 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-05-06 07:41:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Aleksey Nogin
2004-04-20 18:02:37 UTC
Any hints on where I look and how I start investigating this? Thanks! I got it to work!
Near the top of the acm_probe function in drivers/usb/class/cdc-acm.c,
there is the following code:
if (usb_interface_claimed(cfacm->interface[j]) ||
usb_interface_claimed(cfacm->interface[j + 1]))
continue;
The probe loop is only executed once (with j = 0) and when it is
executed, it turns out that usb_interface_claimed(cfacm->interface[0])
is true, while usb_interface_claimed(cfacm->interface[1]) is false and
the probe aborts. After I commented out those three lines, everything
works!
I am guessing that I only masked the real issue (i.e. why was the
usb_interface_claimed true?), hopefully somebody more knowledgeable
than I am can figure out what is causing it.
According to David Brownell (david-b <at> pacbell.net), this should be fixed in the current Linus' BK snapshot. This now works for me in 2.6.5-1.346 |