device descriptor read/64, error -110,如何在 Linux 启动时屏蔽特定设备?

2015-04-27 21:48:32 +08:00
 yellowvii
每次开机在这里要卡住一分多钟,dmesg:
--------------
[ 3.484134] Switched to clocksource tsc
[ 17.713515] usb 2-1.5: device descriptor read/64, error -110
[ 32.889995] usb 2-1.5: device descriptor read/64, error -110
[ 33.065012] usb 2-1.5: new high-speed USB device number 5 using ehci-pci
[ 48.139468] usb 2-1.5: device descriptor read/64, error -110
[ 63.315966] usb 2-1.5: device descriptor read/64, error -110
[ 63.491048] usb 2-1.5: new high-speed USB device number 6 using ehci-pci
[ 68.503600] usb 2-1.5: device descriptor read/8, error -110
[ 73.617096] usb 2-1.5: device descriptor read/8, error -110
[ 73.792000] usb 2-1.5: new high-speed USB device number 7 using ehci-pci
[ 78.804617] usb 2-1.5: device descriptor read/8, error -110
[ 83.918101] usb 2-1.5: device descriptor read/8, error -110
[ 84.020005] usb 2-1-port5: unable to enumerate USB device
[ 84.044630] PM: Marking nosave pages: [mem 0x0009c000-0x000fffff]
--------------
真是让人不能自理……
笔记本内置读卡器出现硬件问题,Win系统下有未识别设备,谷歌发现解决方案大多是移除设备,但是我这读卡器是焊在主板上的。
前面还有一个error -22,但是似乎并没有太大影响,可以顺利识别:
---------
[ 2.564532] usb 2-1.4: string descriptor 0 read error: -22
[ 2.565653] usb 2-1.4: New USB device found, idVendor=0cf3, idProduct=3004
[ 2.565657] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
---------
请教各位要如何处理,搜索半晚上感觉毫无收获,头晕脑胀,错误代码意义都没有搜出个意思……
7824 次点击
所在节点    Linux
3 条回复
whoops
2015-04-27 22:20:58 +08:00
搜linux disable device on boot
好像好多帖子都提到 udev rule
linux玩的也不深,等高人解答吧
qq446015875
2015-04-28 09:42:47 +08:00
试试rfkill,我也是小白。。。
yellowvii
2015-04-28 09:47:36 +08:00
@qq446015875 好像 rfkill 是用来控制无线网络设备的吧?可能不太适用我这种情况。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/186810

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX