USB键盘偶尔会工作
几天前,我买了一台SL640 Hama USB键盘,用于我的笔记本电脑和Ubuntu 12.04。 但是我遇到了问题,因为它有10次有效!
在我女朋友的笔记本电脑上运行Windows Vista,这个键盘总能正常工作。 当我启动进入Windows 7而不是Ubuntu时,它也总能在我的笔记本电脑上运行。
以下是一些信息:
~$ lsusb Bus 006 Device 003: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty
正如您所看到的,操作系统识别出它,但键盘没有反应……即使Caps Lock和Num Lock键也不闪烁。
关于传统支持(对GRUB有用),我在BIOS中找不到任何条目。 但我对此并不感兴趣。 我只是想在Ubuntu中使用它。
但是,在GRUB中它有时会起作用。
令人惊讶的是,现在我已经启动了我的笔记本电脑:usb键盘在GRUB中没有用,但是自从ubuntu登录以来它已经运行了! 而现在我正在打字。
嗯..这意味着Ubuntu有正确的驱动程序,他们的工作。 但是如何正确“加载”它们呢?
这是另一个例子:
经过多次插拔操作后,现在可以正常工作了。
这是dmesg
的输出:
[ 1007.280090] usb 6-1: USB disconnect, device number 19 [ 1010.192060] usb 5-2: new low-speed USB device number 20 using uhci_hcd [ 1010.732051] usb 5-2: device not accepting address 20, error -84 [ 1010.844046] usb 5-2: new low-speed USB device number 21 using uhci_hcd [ 1011.133123] usb 5-2: can't set config #1, error -84 [ 1029.848104] usb 5-2: USB disconnect, device number 21 [ 1038.064057] usb 4-2: new low-speed USB device number 4 using uhci_hcd [ 1038.363131] usb 4-2: can't set config #1, error -84 [ 1089.120105] usb 4-2: USB disconnect, device number 4 [ 1096.460073] usb 6-1: new low-speed USB device number 20 using uhci_hcd [ 1097.060046] usb 6-1: device not accepting address 20, error -71 [ 1097.172077] usb 6-1: new low-speed USB device number 21 using uhci_hcd [ 1097.534131] generic-usb: probe of 0003:04D9:1503.0016 failed with error -84 [ 1097.554110] generic-usb: probe of 0003:04D9:1503.0017 failed with error -32 [ 1140.952075] usb 6-1: USB disconnect, device number 21 [ 1145.968084] usb 6-1: new low-speed USB device number 22 using uhci_hcd [ 1146.512052] usb 6-1: device not accepting address 22, error -71 [ 1146.624087] usb 6-1: new low-speed USB device number 23 using uhci_hcd [ 1146.957109] generic-usb: probe of 0003:04D9:1503.0018 failed with error -84 [ 1147.000116] generic-usb: probe of 0003:04D9:1503.0019 failed with error -84 [ 1199.480080] usb 6-1: USB disconnect, device number 23 [ 1201.928080] usb 5-2: new low-speed USB device number 22 using uhci_hcd [ 1202.301173] generic-usb: probe of 0003:04D9:1503.001A failed with error -84 [ 1202.342182] generic-usb: probe of 0003:04D9:1503.001B failed with error -84 [ 1227.008092] usb 5-2: USB disconnect, device number 22 [ 1234.416066] usb 4-2: new low-speed USB device number 5 using uhci_hcd [ 1234.960058] usb 4-2: device not accepting address 5, error -71 [ 1235.072071] usb 4-2: new low-speed USB device number 6 using uhci_hcd [ 1235.616071] usb 4-2: device not accepting address 6, error -84 [ 1235.728071] usb 4-2: new low-speed USB device number 7 using uhci_hcd [ 1235.903088] usb 4-2: can't set config #1, error -84 [ 1258.256080] usb 4-2: USB disconnect, device number 7 [ 1265.796058] usb 5-2: new low-speed USB device number 23 using uhci_hcd [ 1266.388076] usb 5-2: device not accepting address 23, error -71 [ 1266.500074] usb 5-2: new low-speed USB device number 24 using uhci_hcd [ 1266.793126] usb 5-2: can't set config #1, error -84 [ 1333.152111] usb 5-2: USB disconnect, device number 24 [ 1336.520066] usb 6-1: new low-speed USB device number 24 using uhci_hcd [ 1336.805091] usb 6-1: can't set config #1, error -84 [ 1402.592088] usb 6-1: USB disconnect, device number 24 [ 1406.020078] usb 5-2: new low-speed USB device number 25 using uhci_hcd [ 1406.299121] usb 5-2: can't set config #1, error -84 [ 1564.288095] usb 5-2: USB disconnect, device number 25 [ 1566.968105] usb 6-1: new low-speed USB device number 25 using uhci_hcd [ 1567.508073] usb 6-1: device not accepting address 25, error -71 [ 1567.620073] usb 6-1: new low-speed USB device number 26 using uhci_hcd [ 1568.164069] usb 6-1: device not accepting address 26, error -84 [ 1568.276085] usb 6-1: new low-speed USB device number 27 using uhci_hcd [ 1568.326126] usb 6-1: device descriptor read/all, error -84 [ 1568.440071] usb 6-1: new low-speed USB device number 28 using uhci_hcd [ 1568.651128] usb 6-1: can't set config #1, error -84 [ 1649.848120] usb 6-1: USB disconnect, device number 28 [ 1653.104073] usb 5-2: new low-speed USB device number 26 using uhci_hcd [ 1653.462591] input: USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input17 [ 1653.462767] generic-usb 0003:04D9:1503.001C: input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:1d.0-2/input0 [ 1653.552194] input: USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.1/input/input18 [ 1653.552337] generic-usb 0003:04D9:1503.001D: input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:1d.0-2/input1
如何解决这个问题,以便键盘始终在Ubuntu中工作? 请帮忙!
我发现这个问题已经过时了,但对于那些仍然遇到这种麻烦的人来说(就像我一样):
我在微软舒适曲线键盘2000上遇到了类似的麻烦。这个键盘有时突然被绞死,所以我不得不重新插上它。
我已经通过关闭irqbalance(如Alen写的)以及在启动时启用内核选项中的irqpoll来解决这个问题:( 来自ubuntugeek.com的解决方案 )
gksudo gedit /etc/default/grub
将GRUB_CMDLINE_LINUX设置为
GRUB_CMDLINE_LINUX=”acpi=force irqpoll”
然后
sudo update-grub
然后重启。
打开终端并输入: gksu gedit /etc/default/irqbalance
删除所有内容并粘贴:
#Configuration for the irqbalance daemon #Should irqbalance be enabled? ENABLED="0" #Balance the IRQs only once? ONESHOT="0"
保存并重启。