LinuxUSB架构浅谈-guolele出品.pdfVIP

  • 5
  • 0
  • 约1.65万字
  • 约 9页
  • 2021-12-10 发布于河北
  • 举报
Blog: /guolele2010 Linux USB架构浅谈 -guolele 我要注册 -主控制器与 ROOT HUB难分难舍 UHCI的注册与 ROOT HUB注册流程 uhci_hcd_init register_root_hub: usb_get_device_descriptor usb_device_match: 匹配成功后就会调用 接口驱动里的 probe uhci_hcd_init : pci_register_driver register_root_hub: usb_new_device hub_probe: 因为在 usb_init 里调用了 pci_bus_match: usb_hub_init 注册了 hub_driver 当PCI总线匹配后 调用对应的 hub_probe 调用对应 driver-probe hub_probe进行一些初始化 这里为 然后调用 hub_configure usb_hcd_pci_probe 与hub_disconnect usb_new_device: 还要注意的是 usb_hub_init 里 device_add 后 还创建了一个内核线程 调用 usb_bus_type-match 叫hub_thread 它是root hub 处理 即usb_device_match

文档评论(0)

1亿VIP精品文档

相关文档