I have a conflict under X between my joystick (Saitek X52) and my mouse (Logitech MX). What happens is that both are apparently configured as mouses by evdev, with priority given to the joystick, with the result that both are unusable (basically, the joystick moves the cursor, and the mouse buttons act as, well, mouse buttons). Additional info are given in the bug I originally filed downstream here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582031
so the mouse doesn't work at all when you move it? do you see any output from evtest from this device? The joystick is picked up by evdev but that is a result of your local/distro-specific configuration. you need to modify the xorg.conf.d snippets that the device is picked up by the joystick driver (or simply ignored). also, fwiw, there is no priority between input devices. it's a simple list, having the joystick appear first or last has no effect.
>so the mouse doesn't work at all when you move it? Both devices (mouse and joystick) are working, but it seems that the joystick works as an absolute pointing device while the mouse as a relative one. The end result is that if I try to move the mouse the pointer position is immediately resets to the initial position (since that is what it gets from the joystick). The problem could simply be solved if there was a simple way i could change the way the joystick is being used (from absolute to relative). >The joystick is picked up by evdev but that is a result of your >local/distro-specific configuration. you need to modify the xorg.conf.d >snippets that the device is picked up by the joystick driver (or simply >ignored). To tell you the truth my workaround solution was more drastic. As I mention in the original bug report it is possible that what I'm seeing can be worked around at evdev level by a simple rule. Any pointer (pun intended) I could be given in this regard is appreciated.
(In reply to comment #2) > Both devices (mouse and joystick) are working, but it seems that the joystick > works as an absolute pointing device while the mouse as a relative one. The end > result is that if I try to move the mouse the pointer position is immediately > resets to the initial position (since that is what it gets from the joystick). > The problem could simply be solved if there was a simple way i could change > the way the joystick is being used (from absolute to relative). xinput set-mode "<device name>" RELATIVE should do the job. though that's runtime only. as for a permanent configuration: have a look at http://fedoraproject.org/wiki/Input_device_configuration I guess the best thing for you is to have a section with Option "Ignore" "on" that matches on the device name. If you want to use the joystick under X you need to either hook the joystick driver up to it or add Option "SendCoreEvents" "off". the latter sets the device floating and it then doesn't move the system cursor.
Yep, thanks, these will do.
closing as NOTABUG, problem was in configuration setup.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.