[Bug 421812] Re: Saitek X52 Pro not detected/detected as mouse

TBRUSA tbrusa at gmail.com
Sun Jan 24 13:37:25 UTC 2010


*** This bug is a duplicate of bug 300143 ***
    https://bugs.launchpad.net/bugs/300143

Its a joystick class driver problem. I had the same problem with the
Saitek X52 and I found the workaround in the kernel bugzilla at
http://bugzilla.kernel.org/show_bug.cgi?id=14049.

Patch for correction:

=====================================================================================

>From 83c004fb08fed8064b76041d398c2daa33871cc8 Mon Sep 17 00:00:00 2001
From: Janos Laube <janos.dev at gmail.com>
Date: Thu, 10 Sep 2009 09:34:14 +0200
Subject: [PATCH] Revert "Input: joydev - blacklist digitizers"

This reverts commit d07a9cba6be5c0e947afc1014b5a62182a86f1f1.

This fixes kernel bugzilla #14049:
joydev: blacklist digitizers avoids recognition of Saitek X52 joysticks

Signed-off-by: Janos Laube <janos.dev at gmail.com>
---
 drivers/input/joydev.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c
index 9a1d55b..84865e5 100644
--- a/drivers/input/joydev.c
+++ b/drivers/input/joydev.c
@@ -857,13 +857,7 @@ 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 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 */
+	},	/* Avoid itouchpads, touchscreens and tablets */
 	{ }	/* Terminating entry */
 };
 
-- 
1.6.4.2

=====================================================================================

Best regards.

** Bug watch added: Linux Kernel Bug Tracker #14049
   http://bugzilla.kernel.org/show_bug.cgi?id=14049

-- 
Saitek X52 Pro not detected/detected as mouse 
https://bugs.launchpad.net/bugs/421812
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux (via bug 300143).




More information about the kernel-bugs mailing list