Comment 56 for bug 274203

Revision history for this message
Loïc Martin (loic-martin3) wrote :

Thanks for the update.

I tried it with different joysticks, and they don't crash the X server anymore.

However, there's 3 side effect (one is normal):
- applications doesn't recognise joystick input anymore (tested with Frozen-Bubble), that's normal since everybody has to send lshal output for their joystick, and these output need to be processed;

- the joysticks aren't hot-pluggable anymore. One need to restart X in order for them to be recognised by X (where they move the mice cursor like a joystick would;
- the Dual Shock 3 problem is more serious - in order for it to be recognised, the middle "P" (Playstation) joystick button needs to be pressed (restarting X has no effect, on the other hand by pressing this button it can be hotplugged). Afterwards, both the DS3 and the mouse behave like joysticks (and the mouse is thus useless. By "acting like a joystick, I mean the mouse cursor comes back to the middle of the screen all the time, and moving the mouse jerks the cursor left, right, up or down before it quickly returns to central position (however the jerk is analog, since it can be controlled by moving the DS3 analog pad slowly).

By the way, tImo, can you please have a look at https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-October/005908.html ? I'm going to send the emails anyways, I'd just like to know if it's really impossible to collect lshal outputs in a single bug report, and if the diff is enough (see the email). Thanks a lot.