USB tablet support sometimes confuses VMs

Bug #313518 reported by Quentin Smith
2
Affects Status Importance Assigned to Milestone
Invirt Project
New
Medium
Unassigned

Bug Description

Some distros misinterpret the USB tablet that we provide, and they end up with both a /dev/input/mouse0 for the regular PS/2 mouse and a /dev/input/mouse1 for the USB tablet. X then listens on /dev/input/mice, which is the union of all mouse devices in the system. The result is that these distros see every mouse movement twice, which makes it impossible to sync your cursor. On SystemRescueCD, this presents as:

drwxr-xr-x 4 root root 240 2009-01-03 17:50 /dev/input
drwxr-xr-x 2 root root 80 2009-01-03 17:50 /dev/input/by-id
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-id/usb-QEMU_0.9.0_QEMU_USB_Tablet_1-event-joystick -> ../event3
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-id/usb-QEMU_0.9.0_QEMU_USB_Tablet_1-joystick -> ../mouse2
drwxr-xr-x 2 root root 140 2009-01-03 17:50 /dev/input/by-path
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-path/pci-0000:00:01.3-usb-0:2:1.0-event-joystick -> ../event3
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-path/pci-0000:00:01.3-usb-0:2:1.0-joystick -> ../mouse2
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-path/platform-i8042-serio-0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-path/platform-i8042-serio-1-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 2009-01-03 17:50 /dev/input/by-path/platform-i8042-serio-1-mouse -> ../mouse1
crw-r----- 1 root root 13, 64 2009-01-03 17:50 /dev/input/event0
crw-r----- 1 root root 13, 65 2009-01-03 17:50 /dev/input/event1
crw-r----- 1 root root 13, 66 2009-01-03 17:50 /dev/input/event2
crw-r----- 1 root root 13, 67 2009-01-03 17:50 /dev/input/event3
crw-r----- 1 root root 13, 63 2009-01-03 17:50 /dev/input/mice
crw-r----- 1 root root 13, 32 2009-01-03 17:50 /dev/input/mouse0
crw-r----- 1 root root 13, 33 2009-01-03 17:50 /dev/input/mouse1
crw-r----- 1 root root 13, 34 2009-01-03 17:50 /dev/input/mouse2

Greg Price (gregprice)
Changed in invirt:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.