xhci_resume是如何被调用的

歌神flaming 2016-09-30 02:59:28
我在插拔连接在机器的typec转USB口的u盘时,遇到U盘不能识别的问题,当然有的U盘是可以识别的,而且我说的U盘都必须是USB3.0的U盘。当我单独插拔U盘时,能够识别到的打印如下

[ 38.308671] hub 6-0:1.0: state 7 ports 1 chg 0000 event 0002
[ 38.308973] hub.c:hub_handle_remote_wakeup
[ 38.309021] usb 6-1: USB disconnect, device number 2
[ 40.041400] msm-dwc3 6a00000.ssusb: DWC3 in low power mode
[ 45.580435] msm-dwc3 6a00000.ssusb: DWC3 exited from low power mode
[ 45.580516] dwc3_ext_event_notify():cancel HRTIMER
[ 45.584860] xhci.c:xhci_resume
[ 45.584960] hcd.c:usb_hcd_resume_root_hub
[ 45.585082] hcd.c:hcd_resume_work
[ 45.692609] hub.c:hub_activate type=4
[ 45.693004] 33333
[ 45.800660] hub 5-0:1.0: state 7 ports 1 chg 0002 event 0000
[ 45.800873] hub.c:hub_handle_remote_wakeup
[ 45.808436] hcd.c:usb_hcd_resume_root_hub
[ 45.808564] hcd.c:hcd_resume_work
[ 45.861086] hub 5-0:1.0: state 7 ports 1 chg 0000 event 0002
[ 45.861295] hub.c:hub_handle_remote_wakeup
[ 45.910374] hub.c:hub_activate type=4
[ 45.910612] 33333
[ 46.022193] hub 6-0:1.0: state 7 ports 1 chg 0002 event 0000
[ 46.022365] hub.c:hub_handle_remote_wakeup
[ 46.143007] usb 6-1: new SuperSpeed USB device number 3 using xhci-hcd
[ 46.165365] usb 6-1: New USB device found, idVendor=0781, idProduct=5581
[ 46.165407] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 46.165432] usb 6-1: Product: Ultra
[ 46.165454] usb 6-1: Manufacturer: SanDisk
[ 46.165475] usb 6-1: SerialNumber: 4C530001020420110343
[ 46.168313] usb-storage 6-1:1.0: USB Mass Storage device detected

我想问的是这个xhci_resume为什么会被调用,是什么导致它被调用?
...全文
1010 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
是不是插拔中断后调用的
赵4老师 2016-10-01
  • 打赏
  • 举报
回复
在xhci_resume中设置断点,中断时看Call Stack

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧