Skip to content

Do Not Disturb broke GD D-pad

Terry Tritton linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/21 patch 1 replyIn review
  2. v1 posting 1/21 patch 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1input: fix generic desktop D-Pad controlsdrivers/hid/hid-input.c include/linux/hid.h+18 -201 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAseda AboagyeCarlos Llamas
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 0/1] Do Not Disturb broke GD D-pad

Hi,
We noticed a breakage in the android test: CtsHardwareTestCases_cts_tests android.hardware.input.cts.tests.GameviceGv186Test#testAllMotions

I bisected the issue to:
commit 22d6d060ac77 ("input: Add support for "Do Not Disturb"")
The cause is pretty clear there are 2 separate checks for:

	if ((usage->hid & 0xf0) == 0x90)

so the second one which handles the d-pad is getting skipped.

I've combined them both in the following patch which works for me.

Resending with reviewers tagged from previous discussion[1]

Thanks

[1] https://lore.kernel.org/linux-input/[email protected]/

Terry Tritton (1):
input: fix generic desktop D-Pad controls

 drivers/hid/hid-input.c | 37 +++++++++++++++++--------------------
 include/linux/hid.h     |  1 +
 2 files changed, 18 insertions(+), 20 deletions(-)
Signature · 1 line
2.39.5