我的无线鼠标有问题,它有时会卡顿,冻结一段时间,使用起来很烦人。我尝试了很多方法,有些方法似乎有效,但一段时间后问题又出现了。我发现鼠标也被识别为键盘,这可能是问题所在吗?如果是这样,我该如何改变它?
(无线鼠标 Trust GXT 130;笔记本电脑联想 y580 - 8 Gb RAM、Nvidia、660M、i7;Ubuntu 18.04.1 LTS)
dmesg | grep Trust
[ 2.578966] usb 1-1.2: Product: Trust Gaming Mouse
[ 2.580501] input: MOSART Semi. Trust Gaming Mouse as /devices /pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:145F:01C1.0004 /input/input12
[ 2.640248] hid-generic 0003:145F:01C1.0004: input,hidraw3: USB HID v1.10 Keyboard [MOSART Semi. Trust Gaming Mouse] on usb-0000:00:1a.0-1.2/input0
[ 2.642068] input: MOSART Semi. Trust Gaming Mouse as /devices /pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:145F:01C1.0005 /input/input13
[ 2.700575] hid-generic 0003:145F:01C1.0005: input,hiddev1,hidraw4: USB HID v1.10 Mouse [MOSART Semi. Trust Gaming Mouse] on usb-0000:00:1a.0-1.2/input1
我试过了:
sudo gedit /etc/modprobe.d/local.conf
- 选项 drm_kms_helper poll=N
sudo gedit /sys/module/usbhid/parameters/mousepoll 将其从 0 更改为 1
sudo gedit /etc/modprobe.d/iwlwifi.conf
- 选项 iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=1
sudo nano /etc/default/grub
- GRUB_CMDLINE_LINUX_DEFAULT="安静启动 acpi_rev_override=1"
答案1
尝试在 sudo 下运行此命令:
echo -1 > /sys/module/usbcore/parameters/autosuspend
如果有帮助的话 - 应用它的永久方法是将参数添加到文件的变量usbcore.autosuspend=-1
中。GRUB_CMDLINE_LINUX_DEFAULT
/etc/default/grub