From: Gabriel C <nix.or.die@googlemail.com>
To: Phil Turmel <philip@turmel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Jiri Kosina <jkosina@suse.cz>, Mat <jackdachef@gmail.com>,
Guillaume Chazarain <guichaz@gmail.com>,
linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
Oliver Neukum <oliver@neukum.org>, Alan Ott <alan@signal11.us>,
linux-usb@vger.kernel.org, linux-input@vger.kernel.org,
Andreas Bombe <aeb@debian.org>, Alex Riesen <raa.lkml@gmail.com>
Subject: Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open
Date: Tue, 21 Sep 2010 18:08:50 +0200 [thread overview]
Message-ID: <4C98D892.7030605@googlemail.com> (raw)
In-Reply-To: <4C98C70B.3080407@turmel.org>
On 21.09.2010 16:54, Phil Turmel wrote:
> 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.)
Both versions of the patch are working fine for me too also.
>
> Thank you both for the support.
>
> Feel free to add my:
>
> Tested-by: Philip J. Turmel <philip@turmel.org>
And mine if you wish.
Tested-by: Gabriel Craciunescu <nix.or.die@googlemail.com>
next prev parent reply other threads:[~2010-09-21 16:08 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 1:33 [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open Phil Turmel
2010-09-20 9:43 ` Guillaume Chazarain
2010-09-20 10:47 ` Phil Turmel
2010-09-20 12:42 ` Jiri Kosina
2010-09-20 13:19 ` Phil Turmel
2010-09-20 13:25 ` Jiri Kosina
2010-09-20 13:56 ` Mat
2010-09-20 15:10 ` Jiri Kosina
2010-09-20 17:05 ` Mat
2010-09-20 17:40 ` Phil Turmel
2010-09-21 12:31 ` Jiri Kosina
2010-09-21 13:57 ` Jiri Kosina
2010-09-21 14:48 ` Heinz Diehl
2010-09-21 14:55 ` Jiri Kosina
2010-09-21 14:30 ` Alan Stern
2010-09-21 14:40 ` Jiri Kosina
2010-09-21 14:42 ` Phil Turmel
2010-09-21 14:54 ` Phil Turmel
2010-09-21 16:08 ` Gabriel C [this message]
2010-09-22 9:47 ` Mat
2010-09-24 16:46 ` Greg KH
2010-09-21 16:50 ` Greg KH
2010-09-21 16:55 ` Jiri Kosina
2010-09-21 17:07 ` Greg KH
2010-09-21 17:14 ` Jiri Kosina
2010-09-20 20:55 ` Alan Stern
2010-09-20 22:48 ` Jiri Kosina
2010-09-21 0:41 ` Andreas Bombe
2010-09-20 14:11 ` Phil Turmel
2010-09-20 19:35 ` Maciej Rutecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C98D892.7030605@googlemail.com \
--to=nix.or.die@googlemail.com \
--cc=aeb@debian.org \
--cc=alan@signal11.us \
--cc=gregkh@suse.de \
--cc=guichaz@gmail.com \
--cc=jackdachef@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.org \
--cc=philip@turmel.org \
--cc=raa.lkml@gmail.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox