You are not logged in.
Hello,
I'm having the problem that my laptop detects the device created by xboxdrv as a (somehow buggy) mouse.
I've tried all woraround for that mentioned at http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv.html (except disabling the xorg auto detection)
Is there any way I can force xorg (or whatever service is making troubles) to detect the device as a Joystick?
the temporary hal workaround gave no errors, but it was no solution.
about the permanent hal workaround I don't know whether it had errors or not, but it didn't work.
Here the output I had when trying the xinput workaround (don't know what to do here):
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
⎜ ↳ Xbox Gamepad (userspace driver) id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ CNF8140 id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ Xbox Gamepad (userspace driver) (keys) id=14 [slave keyboard (3)]
$ xinput set-int-prop 13 'Device Enabled' 32 0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 144 (XInputExtension)
Minor opcode of failed request: 57 ()
Value in failed request: 0x79
Serial number of failed request: 18
Current serial number in output stream: 19
Last edited by sylar_5 (2011-04-25 19:22:13)
Offline
I don't think this is an xboxdrv-specific issue. There have been a number of reports of *any* joystick being detected as a mouse in Linux as of late.
I was experiencing these issues:
- X crashed whenever gamepad was unplugged
- Gamepad recognized as 'mouse'(dpad moved cursor; some of the buttons were interpreted as mouse clicks)
Editing /etc/x11/xorg.conf.d/50-joystick.conf to use the 'evdev' driver(instead of 'joystick') fixed the former, but I was still getting pointer issues.
In the end, what fixed it was uninstalling xf86-input-joystick(and not even bothering with the .conf file).
(In my case, I'm running 2.6.38 and was using a Microsoft Sidewinder USB gamepad)
Last edited by Ronin-Sage (2011-04-23 16:04:12)
Offline
Thank you, this helped.
Offline