[Bug 284129] Re: [intrepid] HAL installs a number of different joysticks as mice

2008-10-28 Thread Ari Mustonen
The patch proposed on the mailing list works for joysticks, but still incorrectly detects tablets as touchpads since the check for touchpads just tests for pressure, which is common to both tablets and touchpads. The actual check for tablets is inside a block whose condition is never true, and even

[Bug 284129] Re: [intrepid] HAL installs a number of different joysticks as mice

2008-10-21 Thread Ari Mustonen
I can confirm this behavior, with the addition that some other devices, such as tablets aren't detected properly either. Furthermore, I have written a fix against hal_0.5.11-4ubuntu3 and tested it with the following peripherals: On a 32-bit machine: * THRUSTMASTER Firestorm Dual Analog 2 --> inpu

[Bug 274203] Re: Joystick detected as mouse, crashes X

2008-09-27 Thread Ari Mustonen
I'm experiencing this as well and decided to poke the bug a bit. Hopefully some of this information turns out to be useful. ** Attachment added: "lshal output" http://launchpadlibrarian.net/18004375/lshal.txt -- Joystick detected as mouse, crashes X https://bugs.launchpad.net/bugs/274203 You

[Bug 274203] Re: Joystick detected as mouse, crashes X

2008-09-27 Thread Ari Mustonen
Obtained a gdb backtrace of the crash by following the instructions on https://wiki.ubuntu.com/DebuggingXorg ** Attachment added: "gdb backtrace" http://launchpadlibrarian.net/18004452/gdb.txt -- Joystick detected as mouse, crashes X https://bugs.launchpad.net/bugs/274203 You received this bu

[Bug 274203] Re: Joystick detected as mouse, crashes X

2008-09-27 Thread Ari Mustonen
Workaround for my gamepad model. Probably not immediately useful to too many people since you'll have to change the matching criteria if your joystick isn't exactly the same as mine. Then: sudo cp 95-joystick.fdi /usr/share/hal/fdi/preprobe/20thirdparty/ sudo /etc/init.d/hal restart And after res

[Bug 274203] Re: Joystick detected as mouse, crashes X

2008-10-06 Thread Ari Mustonen
Installing the newest xserver-xorg-input-joystick package fixes the crash for me, but the fix is incorrect since the problem remains if you don't have the package installed (i.e. if you want to use the joystick for gaming purposes, not as a pointer device). ** Changed in: xserver-xorg-input-joysti