每当我试图插入我的光学鼠标后,我的Ubuntu10.04已经启动,操作系统似乎没有热插拔我的鼠标。为了使用鼠标,我需要重新启动操作系统。有什么脚本可以激活我的鼠标吗?
lsusb命令的输出是
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Hama Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 003: ID 138a:0001 DigitalPersona, Inc Fingeprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:09b8 Logitech, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我的syslog输出:
Oct 14 15:00:08 avi-laptop kernel: [15966.380131] usb 5-2: new low speed USB device using uhci_hcd and address 2
Oct 14 15:00:08 avi-laptop kernel: [15966.554437] usb 5-2: configuration #1 chosen from 1 choice
发布于 2010-10-14 23:00:40
看看这个bug报告,它还包含一些解决办法:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/564459
发布于 2010-10-14 08:13:26
它应该是开箱即用的…我认为您应该将此报告为launchpad.net上的一个bug。
发布于 2010-10-15 00:15:08
这是一个错误,鼠标应该被自动检测。
你能跑吗
udevadm monitor
在终端上,看看当你插上鼠标时会打印什么?我有很多事情要办:
KERNEL[1287101516.932598] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1 (usb)
KERNEL[1287101516.937554] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0 (usb)
KERNEL[1287101516.937637] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/0003:046D:C526.0003 (hid)
KERNEL[1287101516.941362] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38 (input)
KERNEL[1287101516.941765] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38/mouse2 (input)
KERNEL[1287101516.941827] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38/event8 (input)
KERNEL[1287101516.942005] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/0003:046D:C526.0003/hidraw/hidraw0 (hidraw)
KERNEL[1287101516.942317] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1 (usb)
KERNEL[1287101516.942588] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/0003:046D:C526.0004 (hid)
UDEV [1287101516.943166] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1 (usb)
UDEV [1287101516.949212] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1 (usb)
UDEV [1287101516.949292] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/0003:046D:C526.0004 (hid)
UDEV [1287101516.950697] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0 (usb)
KERNEL[1287101516.955641] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input39 (input)
UDEV [1287101516.957342] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/0003:046D:C526.0003 (hid)
UDEV [1287101516.958723] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/0003:046D:C526.0003/hidraw/hidraw0 (hidraw)
KERNEL[1287101516.961049] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input39/event9 (input)
KERNEL[1287101516.961188] add /class/usb (class)
UDEV [1287101516.962059] add /class/usb (class)
UDEV [1287101516.963646] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38 (input)
KERNEL[1287101516.965077] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/usb/hiddev0 (usb)
UDEV [1287101516.966175] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/usb/hiddev0 (usb)
KERNEL[1287101516.966837] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/0003:046D:C526.0004/hidraw/hidraw1 (hidraw)
UDEV [1287101516.967578] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/0003:046D:C526.0004/hidraw/hidraw1 (hidraw)
UDEV [1287101516.973294] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input39 (input)
UDEV [1287101516.988644] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38/mouse2 (input)
UDEV [1287101517.012808] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input39/event9 (input)
UDEV [1287101517.025623] add /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input38/event8 (input)
通过比较您所看到的,您可能可以确定基础设施的哪个部分正在掉球。
https://askubuntu.com/questions/7075
复制相似问题