mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Regression][v3.10][v3.11] Revert "HID: Fix logitech-dj: missing Unifying device issue"
@ 2013-07-15 17:26 Joseph Salisbury
       [not found] ` <CAAfQ=89uUcT9RAPSXN1AoJ9tBvAT-z66WuAvRsYUtEW66A7DoA@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Salisbury @ 2013-07-15 17:26 UTC (permalink / raw)
  To: adlr, nlopezcasad; +Cc: jkosina, linux-input, linux-kernel

Hi Andrew,

A bug was opened against the Ubuntu kernel[0].  It was found that
reverting the following commit resolved this bug:

commit 8af6c08830b1ae114d1a8b548b1f8b056e068887
Author: Andrew de los Reyes <adlr@chromium.org>
Date:   Mon Feb 18 09:20:23 2013 -0800

    Revert "HID: Fix logitech-dj: missing Unifying device issue"


The regression was introduced as of v3.10-rc1.  Commit 8af6c08 reverts
commit 5962640, so it seems commit 5962640 may still be needed.

I see that you are the author of this patch, so I wanted to run this by
you.  I was thinking of requesting a revert for v3.11, but I wanted to
get your feedback first.


Thanks,

Joe

[0] http://pad.lv/1194649

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Regression][v3.10][v3.11] Revert "HID: Fix logitech-dj: missing Unifying device issue"
       [not found] ` <CAAfQ=89uUcT9RAPSXN1AoJ9tBvAT-z66WuAvRsYUtEW66A7DoA@mail.gmail.com>
@ 2013-07-17  9:01   ` Nestor Lopez Casado
  0 siblings, 0 replies; 2+ messages in thread
From: Nestor Lopez Casado @ 2013-07-17  9:01 UTC (permalink / raw)
  To: Andrew de los Reyes
  Cc: Joseph Salisbury, Jiri Kosina, open list:HID CORE LAYER,
	linux-kernel, Benjamin Tissoires

Added Benjamin.

On Mon, Jul 15, 2013 at 8:37 PM, Andrew de los Reyes <adlr@chromium.org> wrote:
> I believe this commit was an optimization, so it should be okay to revert
> it.
>
> Nestor, can you confirm?

5962640 is not an optimization, is a workaround for the dropped
packets during enumeration. After a9dd22b73085734 it should not be
necessary as the issue should be resolved.

Nevertheless, it turns out that the workaround not only helps in the
case that some input reports get dropped (which no longer happens),
but also in the case that the underlying usb controllers fail to send
the report that request the enumeration of the Unifying receiver.
We've seen this ocassionally depending on the usb controllers and some
time dependent behaviour.

Concluding I'd say that this patch being otherwise harmless, albeit
ugly, could be put back in. I'd suggest as well investigating why the
usb controllers fails to send the enumeration request with -EPIPE, as
this my be hiding a race inside those usb drivers.

If we re-add 596264082f10dd4. We should fix setting querying_devices
flag to true. This was not done in the original patch. As the impact
was not seen and the patch was to be removed anyway it was never
corrected.

>
>
> On Mon, Jul 15, 2013 at 10:26 AM, Joseph Salisbury
> <joseph.salisbury@canonical.com> wrote:
>>
>> Hi Andrew,
>>
>> A bug was opened against the Ubuntu kernel[0].  It was found that
>> reverting the following commit resolved this bug:
>>
>> commit 8af6c08830b1ae114d1a8b548b1f8b056e068887
>> Author: Andrew de los Reyes <adlr@chromium.org>
>> Date:   Mon Feb 18 09:20:23 2013 -0800
>>
>>     Revert "HID: Fix logitech-dj: missing Unifying device issue"
>>
>>
>> The regression was introduced as of v3.10-rc1.  Commit 8af6c08 reverts
>> commit 5962640, so it seems commit 5962640 may still be needed.
>>
>> I see that you are the author of this patch, so I wanted to run this by
>> you.  I was thinking of requesting a revert for v3.11, but I wanted to
>> get your feedback first.
>>
>>
>> Thanks,
>>
>> Joe
>>
>> [0] http://pad.lv/1194649
>
>

Cheers,
Nestor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-17  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 17:26 [Regression][v3.10][v3.11] Revert "HID: Fix logitech-dj: missing Unifying device issue" Joseph Salisbury
     [not found] ` <CAAfQ=89uUcT9RAPSXN1AoJ9tBvAT-z66WuAvRsYUtEW66A7DoA@mail.gmail.com>
2013-07-17  9:01   ` Nestor Lopez Casado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®