Linux kernel中USB枚举失败总结
Linux kernel中USB枚举失败总结
·
1.unable to enumerate USB device on port 1
出现这个问题,电压不够或者USB走线有干扰。
2.new config #1 exceeds power limit by 60mA
shell@android:/ # [ 202.946798] usb 2-1.2: USB disconnect, device number 5[ 205.229143] usb 2-1.3: new full speed USB device number 6 using usb20_host[ 205.332891] usb 2-1.3: New USB device found, idVendor=0b57, idProduct=8021[ 205.332976] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3[ 205.333031] usb 2-1.3: Product: Tablet[ 205.333059] usb 2-1.3: Manufacturer: HanWang[ 205.333452] usb 2-1.3: new config #1 exceeds power limit by 60mA[ 205.335828] usb 2-1.3: 160mA is over 100mA budget for port 3!shell@android:/ #
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
快速的解决方法:中间连接一个USB HUB。
3. no configuration chosen from 1 choice
usb 2-1.3: new high-speed USB device number 13 using dwc2usb 2-1.3: New USB device found, idVendor=8644, idProduct=800busb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3usb 2-1.3: Product: USB Flash Disk usb 2-1.3: Manufacturer: General usb 2-1.3: SerialNumber: 000000000000BC30usb 2-1.3: rejected 1 configuration due to insufficient available bus powerusb 2-1.3: no configuration chosen from 1 choice
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Fix:临时解决方案 echo -n 1 > /sys/bus/usb/devices/2-1.3/bConfigurationVusb
如下:
2-1.3: new config #1 exceeds power limit by 400mAalue usb-storage 2-1.3:1.0: USB Mass Storage device detectedscsi host0: usb-storage 2-1.3:1.0miniroot# scsi 0:0:0:0: Direct-Access General USB Flash Disk 1.00 PQ: 0 ANSI: 2sd 0:0:0:0: [sda] 31299584 512-byte logical blocks: (16.0 GB/14.9 GiB)sd 0:0:0:0: [sda] Write Protect is offsd 0:0:0:0: [sda] No Caching mode page foundsd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1sd 0:0:0:0: [sda] Attached SCSI removable disk
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow
更多推荐
已为社区贡献1条内容
所有评论(0)