首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >HotPlug我的USB鼠标

HotPlug我的USB鼠标
EN

Ask Ubuntu用户
提问于 2010-10-14 08:05:05
回答 3查看 2K关注 0票数 3

每当我试图插入我的光学鼠标后,我的Ubuntu10.04已经启动,操作系统似乎没有热插拔我的鼠标。为了使用鼠标,我需要重新启动操作系统。有什么脚本可以激活我的鼠标吗?

lsusb命令的输出是

代码语言:javascript
运行
复制
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输出:

代码语言:javascript
运行
复制
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
EN

回答 3

Ask Ubuntu用户

发布于 2010-10-14 23:00:40

看看这个bug报告,它还包含一些解决办法:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/564459

票数 3
EN

Ask Ubuntu用户

发布于 2010-10-14 08:13:26

它应该是开箱即用的…我认为您应该将此报告为launchpad.net上的一个bug。

票数 2
EN

Ask Ubuntu用户

发布于 2010-10-15 00:15:08

这是一个错误,鼠标应该被自动检测。

你能跑吗

代码语言:javascript
运行
复制
udevadm monitor

在终端上,看看当你插上鼠标时会打印什么?我有很多事情要办:

代码语言:javascript
运行
复制
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)

通过比较您所看到的,您可能可以确定基础设施的哪个部分正在掉球。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/7075

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档