At the very least, it should guess based on the product name: $ xinput | grep -i trackball ⎜ ↳ Logitech USB Trackball id=15 [slave pointer (2)]
Pls attach an evtest output of the device.
/dev/input/event11: Logitech USB Trackball Select the device event number [0-11]: 11 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x46d product 0xc408 version 0x110 Input device name: "Logitech USB Trackball" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 272 (BTN_LEFT) Event code 273 (BTN_RIGHT) Event code 274 (BTN_MIDDLE) Event code 275 (BTN_SIDE) Event code 276 (BTN_EXTRA) Event type 2 (EV_REL) Event code 0 (REL_X) Event code 1 (REL_Y) Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Properties: Testing ... (interrupt to exit) Event: time 1364309550.848435, type 2 (EV_REL), code 0 (REL_X), value -2 Event: time 1364309550.848435, -------------- SYN_REPORT ------------ Event: time 1364309550.856394, type 2 (EV_REL), code 0 (REL_X), value -2 Event: time 1364309550.856394, -------------- SYN_REPORT ------------ Event: time 1364309550.864397, type 2 (EV_REL), code 0 (REL_X), value -4 Event: time 1364309550.864397, type 2 (EV_REL), code 1 (REL_Y), value 2 Event: time 1364309550.864397, -------------- SYN_REPORT ------------ etc.
Created attachment 77060 [details] udev output for trackball
http://patchwork.freedesktop.org/patch/13396/
More generic, though less automatic solution proposed in bug 62831
commit b59a1a25dad4437e013ce8d3d65d4591c6f4ee4a Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Apr 2 14:12:26 2013 +1000 Add option TypeName (#62831) Actual assignment of the trackball is up to the distributions in their quirks files, I'll push that to Fedora asap.
(In reply to comment #6) <snip> > Actual assignment of the trackball is up to the distributions in their > quirks files, I'll push that to Fedora asap. Why? Doesn't it make sense for every distro to inherit from those quirks?
> (In reply to comment #7) > Why? Doesn't it make sense for every distro to inherit from those quirks? in pull request here: http://patchwork.freedesktop.org/patch/13820/
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.