Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: [linux-usb-devel] 2.6.6-rc1: cdc-acm still (differently) broken | Date | Thu, 15 Apr 2004 20:50:53 +0200 |
| |
Am Donnerstag, 15. April 2004 20:11 schrieb Colin Leroy: > Hi, > > cdc-acm was broken since after 2.6.4, due to the alt_cursetting changes. I > sent a patch, which has been integrated (well, the same one has ;-)) not > long ago. I gave 2.6.6-rc1 a try, and found that cdc-acm is now broken is a > new way: when plugging the phone, acm_probe() fails on interface #0; I > traced the problem to this: usb_interface_claimed() returns true - and in > fact intf->dev.driver is already cdc-acm (despite the fact that this is the > first call to acm_probe() !), for reasons beyond my comprehension. > > But, even if the interface is claimed, the intfdata hasn't been set, which > allows to do another check: the attached patch fixes this bug.
But somebody else may have claimed the interface. You can't simply assume that only cdc-acm will take the device.
Regards Oliver
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |