Re: [34-stable regression] USB delay init quirk causes device eventsloss

From: Alan Stern
Date: Mon Sep 13 2010 - 10:16:59 EST


On Mon, 13 Sep 2010, Jiri Slaby wrote:

> Hi,
>
> this commit:
> commit 93362a875fc69881ae69299efaf19a55a1f57db0
> Author: Phil Dibowitz <phil@xxxxxxxx>
> Date: Thu Jul 22 00:05:01 2010 +0200
>
> USB delay init quirk for logitech Harmony 700-series devices
>
> causes a lot of pain for users who loose events from their input devices:
> https://bugzilla.novell.com/show_bug.cgi?id=638200
>
> opensuse 11.3 uses 2.6.34 stable and that's how the patch got there.
> Reverting it makes it work again.
>
> The problem is that the patch shuffles with usb_detect_quirks which used
> to disable autosuspend by default. Apparently it no longer does.

I don't see how that patch could have the effect you claim.
usb_detect_quirks still calls usb_disable_autosuspend. Can you do a
little more debugging to find out why it isn't working as expected?
Reverting the commit is not a good solution.

Alan Stern

--
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/