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

Heinz Diehl
2010-09-21T14:48:32Z

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

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 #2: config.bz2 --]
[-- Type: application/octet-stream, Size: 19191 bytes --]