突然间,我的 G9x 滚轮停止工作了。其他按钮都正常工作,我甚至可以通过将鼠标滚轮推向一侧或另一侧来使用鼠标滚轮左右滚动。我想知道让它重新工作的最佳方法是什么。我不想重新安装整个系统,只是想让它重新工作。
编辑3:终于搞明白了。见下文……
编辑:使用时,xinput test 12
我确实可以确认鼠标滚轮没有被跟踪(左滚轮和右滚轮被视为按钮)。 也是如此xev
。
编辑2:我通过以下方式重置了 xorg:
sudo apt-get remove --purge xserver-xorg
sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xserver-xorg
没有任何效果。现在xinput test #
什么都不显示,尽管鼠标仍在工作。
xinput list
显示两个鼠标,一个用于鼠标,一个用于滚轮,如下所示:
⎡ 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)]
这是我的输出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
以下是设备 #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 )
对于设备 #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
显示不同数量的按钮。
答案1
我让它重新工作了。我做了以下事情:
- 启动 Windows(不知道这是否真的有必要)
- 通过设备底部的配置文件按钮和鼠标速度按钮更改我的鼠标配置文件。
- 非常高兴它终于可以再次工作了。
可能是鼠标中保存的某个配置文件的设置很奇怪,而我在不知情的情况下更改了该配置文件:$
答案2
我刚刚修好了……有一个传感器可以阻挡。阅读后这, 我只是拿出带有吸管的罐式除尘器,倾斜车轮并在车轮的每一侧喷洒几次。它立即开始再次工作...我希望我可以使用现在售价 350.00 美元的鼠标几年,因为它的供应有限。
答案3
在 Ubuntu 上使用游戏鼠标有时会很奇怪。
- 如果可以,启动 Windows PC
- 安装鼠标附带的软件。
- 将“鼠标配置文件”配置成您想要的配置。
- 重新启动 Ubuntu 检查它现在是否运行正常。