[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100924164609.GB16655@kroah.com>
Date: Fri, 24 Sep 2010 09:46:09 -0700
From: Greg KH <greg@...ah.com>
To: Mat <jackdachef@...il.com>
Cc: Gabriel C <nix.or.die@...glemail.com>,
Alan Stern <stern@...land.harvard.edu>,
Jiri Kosina <jkosina@...e.cz>,
Guillaume Chazarain <guichaz@...il.com>,
linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>,
Oliver Neukum <oliver@...kum.org>, Alan Ott <alan@...nal11.us>,
linux-usb@...r.kernel.org, linux-input@...r.kernel.org,
Andreas Bombe <aeb@...ian.org>,
Alex Riesen <raa.lkml@...il.com>
Subject: Re: [BUG, Regression, bisected] USB mouse causes bug on 1st
insert, ignored on 2nd insert, lsusb stuck at usbdev_open
On Wed, Sep 22, 2010 at 11:47:09AM +0200, Mat wrote:
> On Tue, Sep 21, 2010 at 6:08 PM, Gabriel C <nix.or.die@...glemail.com> wrote:
> > 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@...mel.org>
> >
> >
> > And mine if you wish.
> > Tested-by: Gabriel Craciunescu <nix.or.die@...glemail.com>
> >
> >
>
> confirmed !
>
> I also tested both and it works fine so far :)
>
> I don't know if it's too late already:
> Tested-by: Matthias Bayer <jackdachef@...il.com>
Nope, not to late, I've added this to the patch as well, thanks for
letting us know.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists