De repente, a roda do meu G9x parou de funcionar. Os outros botões funcionam bem, eu posso até usar a roda do mouse para rolar para a esquerda e para a direita, empurrando a roda do mouse para um lado ou outro. Eu me pergunto qual seria a melhor maneira de fazê-lo funcionar novamente. Eu não quero reinstalar todo o sistema, apenas para voltar a funcionar novamente.
EDIT3 : Finalmente descobri. Veja abaixo ...
EDITAR : Ao usar xinput test 12
, posso confirmar que nada é rastreado para a roda do mouse (a esquerda e a direita são consideradas botões). O mesmo é verdade para xev
.
EDIT2 : Eu resizei o xorg via:
sudo apt-get remove --purge xserver-xorg
sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xserver-xorg
Sem nenhum efeito. Agora xinput test #
não mostra nada, embora o mouse ainda esteja funcionando.
xinput list
mostra dois mouses, um para o mouse e outro para a roda de rolagem, como parece:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Logitech Illuminated Keyboard id=11 [slave pointer (2)]
⎜ ↳ Logitech G9x Laser Mouse id=12 [slave pointer (2)]
⎜ ↳ Logitech G9x Laser Mouse id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=16 [slave pointer (2)]
Aqui está a saída do meu Xorg.0.log
:
[ 4873.049] (II) config/udev: Adding input device Logitech G9x Laser Mouse (/dev/input/mouse0)
[ 4873.049] (II) No input driver specified, ignoring this device.
[ 4873.049] (II) This device may have been added with another device file.
[ 4873.051] (II) config/udev: Adding input device Logitech G9x Laser Mouse (/dev/input/event10)
[ 4873.051] (**) Logitech G9x Laser Mouse: Applying InputClass "evdev pointer catchall"
[ 4873.051] (II) Using input driver 'evdev' for 'Logitech G9x Laser Mouse'
[ 4873.051] (**) Logitech G9x Laser Mouse: always reports core events
[ 4873.051] (**) evdev: Logitech G9x Laser Mouse: Device: "/dev/input/event10"
[ 4873.051] (--) evdev: Logitech G9x Laser Mouse: Vendor 0x46d Product 0xc066
[ 4873.051] (--) evdev: Logitech G9x Laser Mouse: Found 20 mouse buttons
[ 4873.051] (--) evdev: Logitech G9x Laser Mouse: Found scroll wheel(s)
[ 4873.051] (--) evdev: Logitech G9x Laser Mouse: Found relative axes
[ 4873.051] (--) evdev: Logitech G9x Laser Mouse: Found x and y relative axes
[ 4873.051] (II) evdev: Logitech G9x Laser Mouse: Configuring as mouse
[ 4873.051] (II) evdev: Logitech G9x Laser Mouse: Adding scrollwheel support
[ 4873.051] (**) evdev: Logitech G9x Laser Mouse: YAxisMapping: buttons 4 and 5
[ 4873.051] (**) evdev: Logitech G9x Laser Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 4873.051] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.0/input/input31/event10"
[ 4873.051] (II) XINPUT: Adding extended input device "Logitech G9x Laser Mouse" (type: MOUSE, id 12)
[ 4873.051] (II) evdev: Logitech G9x Laser Mouse: initialized for relative axes.
[ 4873.051] (**) Logitech G9x Laser Mouse: (accel) keeping acceleration scheme 1
[ 4873.051] (**) Logitech G9x Laser Mouse: (accel) acceleration profile 0
[ 4873.051] (**) Logitech G9x Laser Mouse: (accel) acceleration factor: 2.000
[ 4873.051] (**) Logitech G9x Laser Mouse: (accel) acceleration threshold: 4
[ 4873.065] (II) config/udev: Adding input device Logitech G9x Laser Mouse (/dev/input/event11)
[ 4873.066] (**) Logitech G9x Laser Mouse: Applying InputClass "evdev keyboard catchall"
[ 4873.066] (II) Using input driver 'evdev' for 'Logitech G9x Laser Mouse'
[ 4873.066] (**) Logitech G9x Laser Mouse: always reports core events
[ 4873.066] (**) evdev: Logitech G9x Laser Mouse: Device: "/dev/input/event11"
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Vendor 0x46d Product 0xc066
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Found 1 mouse buttons
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Found scroll wheel(s)
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Found relative axes
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: Forcing relative x/y axes to exist.
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Found absolute axes
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: Forcing absolute x/y axes to exist.
[ 4873.066] (--) evdev: Logitech G9x Laser Mouse: Found keys
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: Configuring as mouse
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: Configuring as keyboard
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: Adding scrollwheel support
[ 4873.066] (**) evdev: Logitech G9x Laser Mouse: YAxisMapping: buttons 4 and 5
[ 4873.066] (**) evdev: Logitech G9x Laser Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 4873.066] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.1/input/input32/event11"
[
4873.066] (II) XINPUT: Adding extended input device "Logitech G9x Laser Mouse" (type: KEYBOARD, id 13)
[ 4873.066] (**) Option "xkb_rules" "evdev"
[ 4873.066] (**) Option "xkb_model" "pc105"
[ 4873.066] (**) Option "xkb_layout" "de"
[ 4873.066] (II) evdev: Logitech G9x Laser Mouse: initialized for relative axes.
[ 4873.066] (WW) evdev: Logitech G9x Laser Mouse: ignoring absolute axes.
[ 4873.066] (**) Logitech G9x Laser Mouse: (accel) keeping acceleration scheme 1
[ 4873.066] (**) Logitech G9x Laser Mouse: (accel) acceleration profile 0
[ 4873.066] (**) Logitech G9x Laser Mouse: (accel) acceleration factor: 2.000
[ 4873.066] (**) Logitech G9x Laser Mouse: (accel) acceleration threshold: 4
Aqui está a saída para o dvice # 12:
Logitech G9x Laser Mouse id=12 [slave pointer (2)]
Reporting 7 classes:
Class originated from: 12. Type: XIButtonClass
Buttons supported: 24
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" "Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
Button state:
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 12. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 1.000000
flags: 0x0
Class originated from: 12. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: -1.000000
flags: 0x2 ( preferred )
E para o dispositivo # 13
Logitech G9x Laser Mouse id=13 [slave pointer (2)]
Reporting 6 classes:
Class originated from: 13. Type: XIButtonClass
Buttons supported: 7
Button labels: "Button 0" "Button Unknown" "Button Unknown" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
Button state:
Class originated from: 13. Type: XIKeyClass
Keycodes supported: 248
Class originated from: 13. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 13. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 13. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 13. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 1.000000
flags: 0x0
que mostra um número diferente de botões.