搜索
bottom↓
回复: 3

求助:android休眠唤醒后不能识别U盘了,怎么回事?

[复制链接]

出0入0汤圆

发表于 2016-12-17 10:20:47 | 显示全部楼层 |阅读模式
机器挂着U盘,测试android的休眠唤醒功能,唤醒后有时候无法识别U盘,这个时候,即使重新插拨U盘也没用,必须要重启机器才能识别。
唤醒后的LOG如下:
[  313.540302] <<-GTP-INFO->> System resume.
[  313.564334] <<-GTP-INFO->> Guitar reset
[  313.564334]
[  313.740584] <<-GTP-INFO->> GTP wakeup sleep.
[  313.824634] intel_otg_mode_write,req_mode=2

[  314.130264] intel-usb2phy e4800000.phy: OTG runtime resume
[  314.131545] intel-usb2phy e4800000.phy: got usb reset in 0 us
[  314.131580] intel-usb2phy e4800000.phy: USB exited from low power mode
[  314.131633] intel-usb2phy e4800000.phy: b_idle work
[  314.131656] intel-usb2phy e4800000.phy: !id
[  314.131678] intel-usb2phy e4800000.phy: a_idle work
[  314.131696] intel-usb2phy e4800000.phy: !a_bus_drop && (a_srp_det || a_bus_req)
[  314.190290] intel-usb2phy e4800000.phy: starting a_wait_vrise timer
[  314.290446] intel-usb2phy e4800000.phy: expired a_wait_vrise timer
[  314.296800] intel-usb2phy e4800000.phy: a_wait_vrise work
[  314.296850] intel-usb2phy e4800000.phy: a_vbus_vld
[  314.296873] intel-usb2phy e4800000.phy: host on
[  314.500471] dwc2 e2100000.usb: _dwc2_hcd_resume()
[  314.787066] intel_otg_mode_write,req_mode=2

[  314.787560] ttyBT btif-0: Revision Id: 0x2, Module Id: 0x52, TopSpin Rev: 0x307
[  314.800351] usb 1-1: new high-speed USB device number 10 using dwc2
[  319.990459] hsotg->flags.b.port_connect_status

[  319.990750] dwc2 e2100000.usb: dwc2_hc_halt: HCCHAR 0x00000000, ep_type 0
[  325.200706] hsotg->flags.b.port_connect_status

[  325.200847] dwc2 e2100000.usb: dwc2_hc_halt: HCCHAR 0x00000000, ep_type 0
[  325.410460] usb 1-1: device not accepting address 10, error -110
[  325.600641] usb 1-1: new high-speed USB device number 11 using dwc2
[  330.600632] hsotg->flags.b.port_connect_status

[  330.600813] dwc2 e2100000.usb: dwc2_hc_halt: HCCHAR 0x00000000, ep_type 0

与正常能识别的LOG对比,发现这么一句:usb 1-1: device not accepting address 10, error -110

不知道有没有人碰到过这样的问题,是怎么解决的?

阿莫论坛20周年了!感谢大家的支持与爱护!!

月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!

出0入0汤圆

 楼主| 发表于 2016-12-19 08:56:17 | 显示全部楼层
没人帮看吗,真找不到原因了

出0入0汤圆

发表于 2017-5-25 15:56:17 | 显示全部楼层
ximuyi 发表于 2016-12-19 08:56
没人帮看吗,真找不到原因了

找到原因了,可以私聊啊。我告诉你原因

出0入0汤圆

发表于 2017-5-25 16:11:47 | 显示全部楼层
If Linux suddenly happen to fail to recognize a USB drive, check dmesg for errors. Once you see a bunch of errors like

usb 1-5: device descriptor read/64, error -32  
usb 1-5: new high speed USB device using ehci_hcd and address 21  
usb 1-5: device not accepting address 21, error -32
most probably it’s a result of hardware failure rather than a driver or kernel bug. USB has an over-current protection, which gets triggered when power consumption from the port is too high.

Unplug all USB devices from PC, turn power off, and wait a minute or two. Plug everything back and boot into Linux.

I spent the whole morning, until found out why. I hope that this message will save someone a few hours, and nerves.

PS: Actual errors may vary. You may see different port and/or error code. Ex.:

usb 3-1: device descriptor read/64, error -62
or

usb 4-2: device descriptor read/64, error -71
or

usb 2-3: device descriptor read/64, error -101

貌似电流过大,硬件进入保护状态
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-25 05:07

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表