Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert,ignored on 2nd insert, lsusb stuck at usbdev_open

From: Heinz Diehl
Date: Tue Sep 21 2010 - 10:48:37 EST


On 21.09.2010, Jiri Kosina wrote:

> > I have just found out that it's actually CONFIG_USB_DYNAMIC_MINORS which
> > makes the difference. When unset, the problem doesn't trigger, and
> > usb_find_interface() always returns the proper interface. When
> > CONFIG_USB_DYNAMIC_MINORS is being used, the oops happen.

I don't have it set in my .config:

liesel:/usr/src/linux-2.6.36-rc4-git5 # cat .config | grep DYNAMIC_MINORS
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_USB_DYNAMIC_MINORS is not set

> Could you guys please verify whether the patch below fixes the issues you
> were seeing and puts everything back into shape again? Thanks.

Your patch applies cleanly to 2.6.36-rc4-git5, however, it doesn't fix the
problem for me.

My .config is attached.

Thanks,
Heinz.

Attachment: config.bz2
Description: Binary data