Kubuntu 12.10
a4tech x748k
⎜ ↳ A4TECH USB Device id=10 [slave pointer (2)]
⎜ ↳ A4TECH USB Device id=11 [slave pointer (2)]
10 - это боковые кнопки, работающие как кнопки 5 и 6 клавиатуры.
Device 'A4TECH USB Device':
Device Enabled (126): 1
Coordinate Transformation Matrix (128): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (252): 0
Device Accel Constant Deceleration (253): 1.000000
Device Accel Adaptive Deceleration (254): 1.000000
Device Accel Velocity Scaling (255): 10.000000
Device Product ID (246): 2522, 37008
Device Node (247): "/dev/input/event4"
Evdev Axis Inversion (256): 0, 0
Evdev Axes Swap (258): 0
Axis Labels (259): "Rel X" (136), "Rel Y" (137), "Rel Horiz Wheel" (251)
Button Labels (260): "Button 0" (250), "Button Unknown" (249), "Button Unknown" (249), "Button Wheel Up" (132), "Button Wheel Down" (133), "Button Horiz Wheel Left" (134), "Button Horiz Wheel Right" (135)
Evdev Middle Button Emulation (261): 0
Evdev Middle Button Timeout (262): 50
Evdev Third Button Emulation (263): 0
Evdev Third Button Emulation Timeout (264): 1000
Evdev Third Button Emulation Button (265): 3
Evdev Third Button Emulation Threshold (266): 20
Evdev Wheel Emulation (267): 0
Evdev Wheel Emulation Axes (268): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (269): 10
Evdev Wheel Emulation Timeout (270): 200
Evdev Wheel Emulation Button (271): 4
Evdev Drag Lock Buttons (272): 0
11 - это остальная мышь
Device 'A4TECH USB Device':
Device Enabled (126): 1
Coordinate Transformation Matrix (128): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (252): 0
Device Accel Constant Deceleration (253): 1.000000
Device Accel Adaptive Deceleration (254): 1.000000
Device Accel Velocity Scaling (255): 10.000000
Device Product ID (246): 2522, 37008
Device Node (247): "/dev/input/event5"
Evdev Axis Inversion (256): 0, 0
Evdev Axes Swap (258): 0
Axis Labels (259): "Rel X" (136), "Rel Y" (137), "Rel Horiz Wheel" (251), "Rel Vert Wheel" (278)
Button Labels (260): "Button Left" (129), "Button Middle" (130), "Button Right" (131), "Button Wheel Up" (132), "Button Wheel Down" (133), "Button Horiz Wheel Left" (134), "Button Horiz Wheel Right" (135), "Button Side" (273), "Button Extra" (274), "Button Forward" (275), "Button Back" (276), "Button Task" (277), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249), "Button Unknown" (249)
Evdev Middle Button Emulation (261): 0
Evdev Middle Button Timeout (262): 50
Evdev Third Button Emulation (263): 0
Evdev Third Button Emulation Timeout (264): 1000
Evdev Third Button Emulation Button (265): 3
Evdev Third Button Emulation Threshold (266): 20
Evdev Wheel Emulation (267): 0
Evdev Wheel Emulation Axes (268): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (269): 10
Evdev Wheel Emulation Timeout (270): 200
Evdev Wheel Emulation Button (271): 4
Evdev Drag Lock Buttons (272): 0
То есть там разные девайс нод. Если сделать cat /dev/input/event4, то мусор будет только от боковых кнопок, если сat /dev/input/event5, то от всего, кроме боковых.
Как это починить?
Причем в браузере боковые кнопки работают.