我的无线 USB 鼠标无法插入和播放。
这是我第一次使用 linux (Ubuntu 12.04),我正在尝试让开发环境在我了解更多时学习使用 shell、Python 和其他东西。
我已尽力解决问题,但找不到解决方案。我已经运行了lsusb
,当我在lsusb
没有插入 USB 小块的情况下进入时,我可以看到 Novatek 设备消失了。
有没有办法使用我的鼠标?在 Windows 上,它是即插即用的。我不知道这是否重要。
我会在lsusb
打开更多调试的情况下运行,以查看 Linux 系统对鼠标的具体了解。
$ lsusb -vv
Run Code Online (Sandbox Code Playgroud)
还要查看dmesg
日志以查看鼠标是否被正确检测到,以及是否在启动期间为它分配了驱动程序和/或内核模块。
例如在dmesg
我的鼠标日志中:
$ grep -i mouse /var/log/dmesg
[ 1.668480] mice: PS/2 mouse device common for all mice
[ 2.637695] generic-usb 0003:046D:C521.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input0
Run Code Online (Sandbox Code Playgroud)
我可以看到它被检测到并分配给input0
.
另一个有帮助的工具是hwinfo
,特别是hwinfo --mouse
. 例如:
$ # hwinfo --mouse
38: USB 00.0: 10503 USB Mouse
[Created at usb.122]
Unique ID: R8DB.etCFWb3M1lD
Parent ID: FKGF.0j9+vWlqL56
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0
SysFS BusID: 2-1.1:1.0
Hardware Class: mouse
Model: "Logitech USB Receiver"
Hotplug: USB
Vendor: usb 0x046d "Logitech, Inc."
Device: usb 0xc521 "USB Receiver"
Revision: "57.01"
Compatible to: int 0x0210 0x0028
Driver: "usbhid"
Driver Modules: "usbhid"
Device File: /dev/input/mice (/dev/input/mouse1)
Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event5, /dev/char/13:69, /dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-event-mouse, /dev/char/13:33, /dev/input/by-id/usb-Logitech_USB_Receiver-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-mouse, /dev/char/13:63
Device Number: char 13:63 (char 13:33)
Speed: 1.5 Mbps
Module Alias: "usb:v046DpC521d5701dc00dsc00dp00ic03isc01ip02"
Driver Info #0:
Buttons: 8
Wheels: 2
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #37 (Hub)
Run Code Online (Sandbox Code Playgroud)
上面显示了该设备正在使用哪个驱动程序,usbhid
.
归档时间: |
|
查看次数: |
43011 次 |
最近记录: |