几天前,我买了一个SL640 Hama USB键盘,用Ubuntu12.04在我的笔记本电脑上使用。但我有问题,因为它的工作时间是十分之一!
在我女朋友运行Windows的笔记本电脑上,这个键盘总是工作的。它也总是工作在我的笔记本电脑,当我启动到Windows 7,而不是Ubuntu。
以下是一些信息:
~$ lsusb
Bus 006 Device 003: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty
如你所见,操作系统识别了它,但键盘没有反应.甚至连卡普斯锁和数字锁键都不会眨眼。
关于遗留支持(对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中工作?请帮帮忙!
发布于 2013-03-28 23:58:05
我知道这个问题已经过时了,但对于那些仍然有这种麻烦的人(就像我一样):
我也有类似的麻烦微软舒适曲线键盘2000。这个键盘有时突然挂起来,所以我不得不重新插上它。
我已经通过关闭irqbalance (就像Alen写的那样)和在启动时启用内核选项中的irqpoll来解决这个问题:(ubuntugeek.com解决方案)
gksudo gedit /etc/default/grub
将GRUB_CMDLINE_LINUX设置为
GRUB_CMDLINE_LINUX=”acpi=force irqpoll”
然后
sudo update-grub
那就重新启动。
发布于 2012-07-06 10:03:04
开放终端并输入:gksu gedit /etc/default/irqbalance
删除所有内容并粘贴如下:
#Configuration for the irqbalance daemon
#Should irqbalance be enabled?
ENABLED="0"
#Balance the IRQs only once?
ONESHOT="0"
保存并重新启动。
https://askubuntu.com/questions/160329
复制相似问题