Skip to content

Input: joydev blacklist feature

Roderick Colenbrander linux-input stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Input: joydev - blacklist ds3/ds4/udraw motion sensorsdrivers/input/joydev.c+57 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Input: joydev blacklist feature

From: Roderick Colenbrander <[email protected]>

Hi,

The joydev changes introduced by this patch are the result of a discussion on linux-input about handling of features in newer devices, which classic joydev applications may not pick up and confuse. The original motivation was dualshock 3 /4 and thq udraw devices, which expose motion sensors on a subdevice. These got picked up by joydev and confused older applications and users and has been a regression since 4.12.

The original patch proposed to filter out motion sensor capability from joydev, but this was 'too wide' of a filter. Ultimately Dmitry suggested for joydev to reject certain devices.

This patch introduces an initial blacklist mechanism for joydev. It is used to filter out the motion sensor subdevice on dualshock 3 / 4 and thq udraw.

We hope this feature could still make it into 4.14 to minimize impact on our users as this will be a long LTS release.

Thanks,
Roderick

Roderick Colenbrander (1):
Input: joydev - blacklist ds3/ds4/udraw motion sensors

 drivers/input/joydev.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
Signature · 1 line
2.13.6