鼠标指针在 Ubuntu 20.04(与 Windows 10 双启动)中跳动

鼠标指针在 Ubuntu 20.04(与 Windows 10 双启动)中跳动

现在,我已经在装有 Windows 10 Home 64 位的 Packard Bell 上安装了 Ubuntu 20.04 进行双启动,我无法阻止鼠标指针跳来跳去,无论指针移动到哪里都会留下一串闪烁的指针。当我将鼠标悬停在按钮上时,指针会跳来跳去,点击按钮会变得非常不稳定。同时,当我在屏幕上移动第二个指针时,一个不动的指针位于屏幕的右下角。请问我该如何解决这个问题?这是鼠标驱动程序兼容性问题吗?

这是我的xinput的结果:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal

$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ USB Wired Keyboard Consumer Control       id=13   [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=10   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ USB Wired Keyboard                        id=11   [slave  keyboard (3)]
    ↳ USB Wired Keyboard System Control         id=12   [slave  keyboard (3)]
    ↳ USB Wired Keyboard Consumer Control       id=14   [slave  keyboard (3)]

我在这里瞎猜。我拔掉了 USB 鼠标,重新插入后,没有任何变化。我还下载了,因为有人说,当他的鼠标指针在升级到 Ubuntu 20.04 后跳来跳去时,这对他的触摸板有效。对他来说有效,但对我不起作用。

这是我下载的内容:

$ sudo apt install xserver-xorg-input-synaptics

因此,看起来我必须将其卸载。

$ sudo apt-get remove xserver-xorg-input-synaptics

删除它之后我收到以下消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'xserver-xorg-input-synaptics' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic linux-image-5.4.0-26-generic
  linux-modules-5.4.0-26-generic linux-modules-extra-5.4.0-26-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 129 not to upgrade.

因此,我已自动删除不再需要的软件包。它没有改变任何东西。我已将鼠标从 USB 3 拔下,并将其插入 USB 2,但没有任何效果。让我们看看输出:

lsb_release -a; uname -a; lsusb

输出为:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal
Linux charlesb2t-iMedia-S2984 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:0153 Realtek Semiconductor Corp. 3-in-1 (SD/SDHC/SDXC) Card Reader
Bus 001 Device 007: ID 0461:4e6f Primax Electronics, Ltd Acer Wired Keyboard Model KBAY211
Bus 001 Device 008: ID 0461:4e70 Primax Electronics, Ltd USB Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Primax Electronics Ltd USB 光电鼠标与 Ubuntu 不兼容吗?

我注意到Linux USB ID以下列表:

0461  Primax Electronics, Ltd
    0010  HP PR1101U / Primax PMX-KPR1101U Keyboard
    0300  G2-300 Scanner
    0301  G2E-300 Scanner
    0302  G2-300 #2 Scanner
    0303  G2E-300 #2 Scanner
    0340  Colorado 9600 Scanner
    0341  Colorado 600u Scanner
    0345  Visioneer 6200 Scanner
    0346  Memorex Maxx 6136u Scanner
    0347  Primascan Colorado 2600u/Visioneer 4400 Scanner
    0360  Colorado 19200 Scanner
    0361  Colorado 1200u Scanner
    0363  VistaScan Astra 3600(ENG)
    0364  LG Electronics Scanworks 600U Scanner
    0365  VistaScan Astra 3600(ENG)
    0366  6400
    0367  VistaScan Astra 3600(ENG)
    0371  Visioneer Onetouch 8920 Scanner
    0374  UMAX Astra 2500
    0375  VistaScan Astra 3600(ENG)
    0377  Medion MD 5345 Scanner
    0378  VistaScan Astra 3600(ENG)
    037b  Medion MD 6190 Scanner
    037c  VistaScan Astra 3600(ENG)
    0380  G2-600 Scanner
    0381  ReadyScan 636i Scanner
    0382  G2-600 #2 Scanner
    0383  G2E-600 Scanner
    038a  UMAX Astra 3000/3600
    038b  Xerox 2400 Onetouch
    038c  UMAX Astra 4100
    0392  Medion/Lifetec/Tevion/Cytron MD 6190
    03a8  9420M
    0813  IBM UltraPort Camera
    0815  Micro Innovations IC200 Webcam
    0819  Fujifilm IX-30 Camera [webcam mode]
    081a  Fujifilm IX-30 Camera [storage mode]
    081c  Elitegroup ECS-C11 Camera
    081d  Elitegroup ECS-C11 Storage
    0a00  Micro Innovations Web Cam 320
    4d01  Comfort Keyboard / Kensington Orbit Elite
    4d02  Mouse-in-a-Box
    4d03  Kensington Mouse-in-a-box
    4d04  Mouse
    4d06  Balless Mouse (HID)
    4d0f  HP Optical Mouse
    4d15  Dell Optical Mouse
    4d17  Optical Mouse
    4d20  HP Optical Mouse
    4d2a  PoPo Elixir Mouse (HID)
    4d2b  Wireless Laser Mini Mouse (HID)
    4d2c  PoPo Mini Pointer Mouse (HID)
    4d2e  Optical Mobile Mouse (HID)
    4d51  0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
    4d62  HP Laser Mobile Mini Mouse
    4d75  Rocketfish RF-FLBTAD Bluetooth Adapter
    4d81  Dell N889 Optical Mouse
    4d8a  HP Multimedia Keyboard
    4d91  Laser mouse M-D16DL
    4d92  Optical mouse M-D17DR
    4db1  Dell Laptop Integrated Webcam 2Mpix
    4de3  HP 5-Button Optical Comfort Mouse
    4de7  webcam
    4e04  Lenovo Keyboard KB1021
    4e22  Dell Mouse, 2 Buttons, Modell: MS111-P
    4e6f  Acer Wired Keyboard Model KBAY211

4e70 USB 光电鼠标未列出。这可能是我的问题吗?

为了尝试回答这个问题,我找到了一个 Xenta 无线光电鼠标,但是仍然存在一个鼠标指针抖动的问题(我可以移动它),而第二个鼠标指针却固定在屏幕右下角。

$ lsb_release -a; uname -a; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal
Linux charlesb2t-iMedia-S2984 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:0153 Realtek Semiconductor Corp. 3-in-1 (SD/SDHC/SDXC) Card Reader
Bus 001 Device 003: ID 0461:4e6f Primax Electronics, Ltd Acer Wired Keyboard Model KBAY211
Bus 001 Device 002: ID 1d57:0008 Xenta 2.4G Wireless Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

我查看了 Packard Bell 网站,查看 BIOS 是否是最新的,看起来是最新的。自 2016 年购买机器以来,没有任何变化。

获得输入列表后:

$ xinput --list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ USB Wired Keyboard Consumer Control       id=11   [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ USB Wired Keyboard System Control         id=10   [slave  keyboard (3)]
    ↳ USB Wired Keyboard Consumer Control       id=12   [slave  keyboard (3)]
    ↳ USB Wired Keyboard                        id=13   [slave  keyboard (3)]

我可以获得属性列表:

$ xinput --list-props "PixArt USB Optical Mouse"
Device 'PixArt USB Optical Mouse':
    Device Enabled (161):   1
    Coordinate Transformation Matrix (163): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (298):   0
    libinput Natural Scrolling Enabled Default (299):   0
    libinput Scroll Methods Available (300):    0, 0, 1
    libinput Scroll Method Enabled (301):   0, 0, 0
    libinput Scroll Method Enabled Default (302):   0, 0, 0
    libinput Button Scrolling Button (303): 2
    libinput Button Scrolling Button Default (304): 2
    libinput Middle Emulation Enabled (305):    0
    libinput Middle Emulation Enabled Default (306):    0
    libinput Accel Speed (307): -0.014706
    libinput Accel Speed Default (308): 0.000000
    libinput Accel Profiles Available (309):    1, 1
    libinput Accel Profile Enabled (310):   1, 0
    libinput Accel Profile Enabled Default (311):   1, 0
    libinput Left Handed Enabled (312): 0
    libinput Left Handed Enabled Default (313): 0
    libinput Send Events Modes Available (283): 1, 0
    libinput Send Events Mode Enabled (284):    0, 0
    libinput Send Events Mode Enabled Default (285):    0, 0
    Device Node (286):  "/dev/input/event6"
    Device Product ID (287):    1121, 20080
    libinput Drag Lock Buttons (314):   <no items>
    libinput Horizontal Scroll Enabled (315):   1

然而,我认为任何改变都无法解决这个问题。

作为4e70 USB 光电鼠标未列出,在Linux USB ID 列表,但肯辛顿 4d03 盒子里的老鼠是,我要尝试得到其中的一个。

答案1

所以,我在这里解决的所有问题是:

  1. 这不是 Windows 10 和 Ubuntu 20.04 的双启动设置
  2. 这不是由于鼠标驱动程序不兼容

然而,当我将另一台显示器连接到我的电脑时,鼠标指针跳跃的问题就出现了 -https://help.ubuntu.com/stable/ubuntu-help/display-dual-monitors.html

相关内容