Re: [linux-usb-devel] USB-related oops in sysfs with linux v2.6.23-rc3-50-g28e8351

From: Oliver Neukum
Date: Tue Aug 21 2007 - 08:06:44 EST


Am Dienstag 21 August 2007 schrieb Florin Iucha:
> On Wed, Aug 15, 2007 at 04:58:33PM +0200, Jiri Kosina wrote:
> > On Wed, 15 Aug 2007, Florin Iucha wrote:
> >
> > > [See my message to Alan]: It happened twice, within 15 minutes of
> > > boot+login, with 2.6.23-rc3-$whatever . I does not happen with
> > > 2.6.2[123](-rc*)? After the two incidents, I rebooted in 2.6.23-rc2 and
> > > it is working for an hour now.
> >
> > It is not immediately clear what might be causing this, 2.6.23-rc3 didn't
> > get any USB nor HID updates at all compared to 2.6.23-rc2.
> >
> > Could you please enable USB and HID debugging to see whether we can see
> > anything spurious in the logs at the time the keyboard gets stuck?
>
> Jiri,
>
> I have enabled USB debugging and I see a bunch (=46) of these messages:
>
> [ $timestamp] usb 1-9: usb auto-suspend
> [ $timestamp] usb 1-9: usb auto-resume
> [ $timestamp] ehci_hcd 0000:00:02.1: GetStatus port 9 status 001005 POWER sig=se0 PE CONNECT
> [ $timestamp] usb 1-9: finish resume
>
> The messages continued to be logged, even after the keyboard has
> become unresponsive.

[ 60.756730] usb 1-9: usb auto-resume
Did you hit a key at that time?


It looks like your keyboard gets autosuspended. But how can that happen?
Keyboards should never autosuspend, as they are always open.
The patch for minimum autosuspend support in HID did get in earlier,
didn't it?

Regards
Oliver


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/