I have a problem with my mouse which operates through a KVM switch.
Initially it works fine but once I switch away from the computer and then switch back, the scroll wheel is "amplified". Testing with xev I see 16 messages where I previously expected to see one. rmmod usbhid; modprobe usbhid does not fix. Removing all of hid_multitouch, usbhid, hid_generic, i2c_hid and hid and re modprobing them also doesn't fix. xinput set-prop 10 "Evdev Scrolling Distance" 16 1 1 does fix it - but running this before it's gone into it's "amplified" state makes the mouse wheel almost unusable as it needs 16 clicks to generate one up/down event. It appears to be only the button 4/5 scrollwheel that have this problem. Everything else seems to work normally. xinput list-props 10 shows no differences at all between the bad and the good state. Unplugging and replugging the dongle does fix it until I use the switch box again. But unplugging the computer from the KVM box and plugging it back in does NOT fix the problem. $ xinput list-props 10 Device 'Microsoft Microsoft?? 2.4GHz Transceiver v8.0 Mouse': Device Enabled (150): 1 Coordinate Transformation Matrix (152): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (280): 0 Device Accel Constant Deceleration (281): 1.000000 Device Accel Adaptive Deceleration (282): 1.000000 Device Accel Velocity Scaling (283): 10.000000 Device Product ID (272): 1118, 1861 Device Node (273): "/dev/input/event8" Evdev Axis Inversion (284): 0, 0 Evdev Axes Swap (286): 0 Axis Labels (287): "Rel X" (160), "Rel Y" (161), "Rel Horiz Wheel" (278), "Rel Vert Wheel" (279) Button Labels (288): "Button Left" (153), "Button Middle" (154), "Button Right" (155), "Button Wheel Up" (156), "Button Wheel Down" (157), "Button Horiz Wheel Left" (158), "Button Horiz Wheel Right" (159), "Button Side" (276), "Button Extra" (277), "Button Unknown" (275), "Button Unknown" (275), "Button Unknown" (275), "Button Unknown" (275) Evdev Scrolling Distance (289): 1, 1, 1 Evdev Middle Button Emulation (290): 0 Evdev Middle Button Timeout (291): 50 Evdev Middle Button Button (292): 2 Evdev Third Button Emulation (293): 0 Evdev Third Button Emulation Timeout (294): 1000 Evdev Third Button Emulation Button (295): 3 Evdev Third Button Emulation Threshold (296): 20 Evdev Wheel Emulation (297): 0 Evdev Wheel Emulation Axes (298): 0, 0, 4, 5 Evdev Wheel Emulation Inertia (299): 10 Evdev Wheel Emulation Timeout (300): 200 Evdev Wheel Emulation Button (301): 4 Evdev Drag Lock Buttons (302): 0 Anyone ever seen anything like this and got any ideas how I can fix it? New keyboard and mouse is an option if this is a known problem with this model.