这是一个常见问题,但没有解决方案,我安装了 ubuntu 14.04,USB 端口已断开连接,我只需重新启动一、二或三次即可连接。这是输出dmesg |grep usb
:
[ 29.376705] usb 2-7: Device not responding to set address.
[ 29.580760] usb 2-7: device not accepting address 5, error -71
[ 29.692831] usb 2-7: new full-speed USB device number 6 using xhci_hcd
[ 29.710358] usb 2-7: New USB device found, idVendor=0cf3, idProduct=3004
[ 29.710367] usb 2-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 29.728078] usbcore: registered new interface driver rts5139
[ 30.009124] usb 2-4: USB disconnect, device number 2
[ 30.257612] usb 2-6: USB disconnect, device number 3
[ 30.293655] usb 2-7: USB disconnect, device number 6
答案1
我创建了自己的 udev 规则。创建文件:/etc/udev/rules.d/usb-power.rules。 使用系统盘对于 idVendor 和 idProduct。
尝试这个规则:
ACTION=="add", ATTR{idVendor}=="0cf3", ATTR{idProduct}=="3004", RUN="/bin/sh -c 'echo 0 >/sys/\$devpath/authorized'"