热插拔USB 设备出现usb 1-1: device descriptor read/64, error -110错误

本文介绍了一种在Linux环境下解决特定型号3G USB Dongle热插拔失败的方法。主要表现为设备无法被系统识别,通过禁用ehci_hcd模块解决了问题。

    设备名:中兴MF190

    Linux Kernel版本:3.4

    错误名:usb 1-1: device descriptor read/64, error -110
                    usb 1-1: device not accepting address 33, error -110
                    usb 1-1: device not accepting address 34, error -110

    症状:我的3G USB dongle在平台上第一次插拔(不管是开机插拔还是热插拔)都能正常运行,不过当我拔掉后,再插上,便会出现以上所示的错误,我用lsusb命令也看不到有任何的新设备被识别出来,之后我插上USB鼠标也是同样的被识别不出来

    解决方式:1.这里的error-110,实际上式连接超时的错误,至于为什么会出现这个错误,还不明所以,后来搜索到资料说USB2.0的驱动有些问题,会导致这样的问题,和USB相关的模块是ehci_hcd模块,你可以通过lsmod命令查看你当前的kernel是否加载ehci_hcd模块,若加载了你可以使用modeprobe -r ehci_hcd把该模块卸载掉,之后你再试试看设备能否被发现;如果还是不行,你找到系统的开机脚本在开机的时候不加载ehci_hcd模块,我便是这样在在开机的时候不加载ehci_hcd的模块,以后热插拔便恢复了正常。

    不过这样之后对USB的传输速度应该有一定的影响,这里只是暂时使用此方法解决,后续若有新发现,继续更新,若有同学有新的线索,恳请交流哦。


] [MI WRN] [602]qf:0 less than min_qf: 1, set to min_qf <5>[ 11.363960] mod:2 dev:8 chn:0 port:0 has set eStrategy, but it will be covered by E_MI_SYS_FRC_STRATEGY_BY_PERIOD <3>[ 11.643306] ------------------> tmi8150b_init <6>[ 12.286415] usb usb1-port1: hub_port_connect: add adjust_async_ladr flag <6>[ 12.436347] usb 1-1: new full-speed USB device number 6 using sstar-ehci <6>[ 12.436398] sstar-ehci 1f284800.sstar-ehci-0: [switch] reg is 0x260b000, 0x10001, 0x80d <3>[ 12.589575] usb 1-1: device descriptor read/64, error -71 <3>[ 12.856356] usb 1-1: device descriptor read/64, error -71 <6>[ 12.976755] phy phy-soc:u2phy1@0x1f284200.0: high-speed disconnect <6>[ 12.976782] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_reset <6>[ 12.977790] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_off <6>[ 12.977797] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_on <6>[ 13.126318] usb 1-1: new full-speed USB device number 7 using sstar-ehci <3>[ 13.276333] usb 1-1: device descriptor read/64, error -71 <3>[ 13.546322] usb 1-1: device descriptor read/64, error -71 <6>[ 13.666631] phy phy-soc:u2phy1@0x1f284200.0: high-speed disconnect <6>[ 13.666652] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_reset <6>[ 13.667659] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_off <6>[ 13.667666] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_on <6>[ 13.667712] usb usb1-port1: attempt power cycle <6>[ 13.916495] usb 1-1: new full-speed USB device number 8 using sstar-ehci <3>[ 14.356352] usb 1-1: device not accepting address 8, error -71 <6>[ 14.356513] phy phy-soc:u2phy1@0x1f284200.0: high-speed disconnect <6>[ 14.356527] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_reset <6>[ 14.357535] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_off <6>[ 14.357542] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_on <6>[ 14.383665] usbcore: registered new interface driver rtl8188fu <6>[ 14.506311] usb 1-1: new full-speed USB device number 9 using sstar-ehci <3>[ 14.946892] usb 1-1: device not accepting address 9, error -71 <6>[ 14.947046] phy phy-soc:u2phy1@0x1f284200.0: high-speed disconnect <6>[ 14.947061] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_reset <6>[ 14.948068] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_off <6>[ 14.948074] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_on <3>[ 14.948419] usb usb1-port1: unable to enumerate USB device <6>[ 14.948569] phy phy-soc:u2phy1@0x1f284200.0: high-speed disconnect <6>[ 14.948582] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_reset <6>[ 14.949589] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_off <6>[ 14.949595] phy phy-soc:u2phy1@0x1f284200.0: sstar_u2phy_utmi_power_on请分析一下
07-09
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值