lkml.org 
[lkml]   [2010]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open
On 09/21/2010 10:30 AM, Alan Stern wrote:
> On Tue, 21 Sep 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'll look into that.
>
> Apparently the problem is that intf->minors doesn't get initialized
> properly. This patch should fix it. Everybody, please try it out.

Yes, this works for me. (as did Jiri's version.)

Thank you both for the support.

Feel free to add my:

Tested-by: Philip J. Turmel <philip@turmel.org>


\
 
 \ /
  Last update: 2010-09-21 16:57    [W:0.129 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site