Saitek X52 Pro not detected/detected as mouse

Bug #421812 reported by Neo
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
New
Undecided
Unassigned

Bug Description

I wanted play a bit fgfs and had to realize that my joystick don't work any more. It is a bit strange because I'm pretty sure that it did work several weeks ago. I'm using (K)Ubuntu 9.04 and I know that I was able to calibrate this joystick (Saitek X52 Pro) in the "System Settings" -> "Keyboard & Mouse" -> "Joystick". Now there is only error message "No joystick device found on this computer"

I checked it and there is indeed no /dev/js device. If I plug this joystick in my computer dmesg detects it like this:

[13654.784428] usb 3-1: USB disconnect, address 2
[13657.010948] usb 3-1: new full speed USB device using uhci_hcd and address 4
[13657.197966] usb 3-1: configuration #1 chosen from 1 choice
[13657.212791] input: Saitek Saitek X52 Pro Flight Control System as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input10
[13657.229529] generic-usb 0003:06A3:0762.0007: input,hidraw0: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1a.0-1/input0

I saw that HAL assigns this device to /dev/event9 so I suppose that it could be the problem. I tried to symlink /dev/event9 to /dev/js0 but it didn't work. KDE Joystick setting said that this device isn't a joystick.

I've tried to uninstall xserver-xorg-input-joystick and install it again but it don't help too.

I'm attaching lsusb. lshal and dmesg output.
My kernel is: 2.6.28-15-generic #49-Ubuntu SMP x86_64 GNU/Linux
I'm using KDE 4.3

I saw that there are similar reports but I believe that this is not the same problem as my X-Server does not crash and I don't want to use my joystick as a mouse. The other one report I've found concerns the beta version of Jounty and I'm using the stable version and as I wrote above, this joystick did work before. The only one big update I did in the meantime was the update to KDE 4.3

Best regards,
Neo

Revision history for this message
Neo (suski-radek) wrote :
Revision history for this message
Luke (puffo-) wrote :

Actually it seems to me that it's a problem specifically related to kernel 2.6.28-15-generic

See the dmesg result below for kernel 15 and 11 and how they differ.
Also Saitek X52 Pro works correctly on my machine Kubuntu 64-bit 9.04 with kernel 2.6.28-13-generic

It would be interesting to know what exactly changed from kernel 2.6.28-13-generic to 2.6.28-15-generic,
as I'm fairly sure this is the root cause of the malfunction described in this bug report.

Regards,
Luke

------------------------------------------------------------------------------------------------
 Using kernel 2.6.28-15-generic i386 DOESN'T WORK
------------------------------------------------------------------------------------------------

[ 290.312080] usb 1-2: new full speed USB device using uhci_hcd and address 2
[ 290.545927] usb 1-2: configuration #1 chosen from 1 choice
[ 290.702823] usbcore: registered new interface driver hiddev
[ 290.718774] input: Saitek Saitek X52 Pro Flight Control System as /devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0/input/input9
[ 290.736718] generic-usb 0003:06A3:0762.0001: input,hidraw0: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1f.2-2/input0
[ 290.736779] usbcore: registered new interface driver usbhid
[ 290.736789] usbhid: v2.6:USB HID core driver

------------------------------------------------------------------------------------------------
Using kernel 2.6.28-11-generic i386 WORKS
------------------------------------------------------------------------------------------------

[ 1277.676096] usb 1-2: new full speed USB device using uhci_hcd and address 13
[ 1277.910589] usb 1-2: configuration #1 chosen from 1 choice
[ 1277.931319] input: Saitek Saitek X52 Pro Flight Control System as /devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0/input/input12
[ 1277.960398] generic-usb 0003:06A3:0762.0004: input,hidraw0: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1f.2-2/input0

Revision history for this message
Neo (suski-radek) wrote :

Yes you're right. I noticed in the meantime that on my laptop where I have kernel 2.6.28-14-generic this joystick works fine.
Unfortunately my laptop is too weak to play Flightgear 1.9 :-/

I think we can only wait ...

Revision history for this message
arky (arky) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in PKGNAME.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → hal (Ubuntu)
Revision history for this message
TBRUSA (tbrusa) wrote :

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 <email address hidden>
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 <email address hidden>
---
 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.

Revision history for this message
th3flyboy (th3flyboy) wrote :

This is not a duplicate of 300143, and it is still happening in Maverick with the latest kernel. Please incorporate this fix to allow for the X52/Pro to be detected. I really don't want to have to build my own kernels every kernel update in order to get my joystick to work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.