input: Blacklist digitizers from joydev.c
Subsystems (2)
PATCH 1/1 input: Blacklist digitizers from joydev.c
This patch has been included in Ubuntu. Does it look sensible for upstream inclusion?
Stefan
Quoted 1 line
From
79d826fd1e314846b889fd524eab0a9445f0f70aMon Sep 17 00:00:00 2001
From: Stefan Bader <[email protected]>
Date: Tue, 28 Apr 2009 16:44:18 +0200
Subject: [PATCH] UBUNTU: SAUCE: input: Blacklist digitizers from joydev.c
BTN_TOUCH is not set by the wacom driver which causes it to be handled by the joydev driver while the resulting device is broken. This causes problems with applications that try to use a joystick device.
--- drivers/input/joydev.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
drivers/input/joydev.c +7 -1
@@ -846,7 +846,13 @@ static const struct input_device_id joydev_blacklist[] = { INPUT_DEVICE_ID_MATCH_KEYBIT, .evbit = { BIT_MASK(EV_KEY) }, .keybit = { [BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH) }, - }, /* Avoid itouchpads, touchscreens and tablets */ + }, /* Avoid itouchpads and touchscreens */ + { + .flags = INPUT_DEVICE_ID_MATCH_EVBIT | + INPUT_DEVICE_ID_MATCH_KEYBIT, + .evbit = { BIT_MASK(EV_KEY) }, + .keybit = { [BIT_WORD(BTN_DIGI)] = BIT_MASK(BTN_DIGI) }, + }, /* Avoid tablets, digitisers and similar devices */ { }/* Terminating entry */ };
Signature · 1 line
1.5.4.3
Dmitry Torokhov
maintainerQuoted 3 lines · Stefan Bader
This patch has been included in Ubuntu. Does it look sensible for upstream inclusion?
Will apply, thanks. It is a bit unclear who is the author of the patch; it looks like Tim submitted it to the launchpad... who do I mark down as the guilty party? ;)
Thanks!
Signature · 1 line
Dmitry
Quoted 8 lines · Dmitry Torokhov
Quoted 2 lines · Stefan Bader
This patch has been included in Ubuntu. Does it look sensible for upstream inclusion?
Will apply, thanks. It is a bit unclear who is the author of the patch; it looks like Tim submitted it to the launchpad... who do I mark down as the guilty party? ;)
Yes, that would be my take as well. I put him to the signed-off for that reason. The only thing I did was adding a little description and headers.
Cheers,
Stefan
Signature · 1 line
When all other means of communication fail, try words!