ChinaUnix.net
相关文章推荐:

linux ldm usb device match probe

本文将详细讲述2.6.22下的一个usb设备插上linux系统的PC后是如何一步一步调到我们的usb设备驱动的probe函数的, 我们知道我们的usb驱动的probe函数中的一个参数是interface结构, 因此一般来说, 一个usb设备中的任何一个接口都应该有对应的一个驱动程序,当然也有例外(如cdc-acm). 我们知道usb设备都是通过插入上层HUB的一个Port来连入系统并进而被系统发现的, 当usb设备插入一个HUB时,该HUB的那个port的状态就会改变, 从而系统就会...

by vector_leizi - Linux文档专区 - 2009-05-08 14:28:40 阅读(1223) 回复(0)

相关讨论

from http://www.linux-ren.org/modules/newbb/viewtopic.php?topic_id=1611&forum=21&PHPSESSID=a8af14f116834e93a3bee3340f039366 linux boot time is an ongoing sore point - there are few users who wish that their systems would take longer to come up. There are many things which happen during the boot process, and many possible ways of speeding things up. Most of the opportunities for improving boo...

by loverf - Linux文档专区 - 2006-10-05 19:21:02 阅读(572) 回复(0)

linux设备驱动归纳总结(八):2.总线、设备和驱动的关系


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

by diytvgy - 移动操作系统 - 2011-02-02 23:13:50 阅读(2094) 回复(0)

浅析linux 2.6.23 bus总线模型下match()和probe()函数调用顺序 文章来源:http://gliethttp.cublog.cn 将driver驱动内嵌的kobj对象添加到管理该driver的总线层次管理集合kset所管理的链表中, 然后调用driver_attach()函数,遍历驱动所在bus总线的设备链表klist_devices检测该driver 驱动程序是否可以为bus总线上未获得驱动的device设备提供驱动,进一步通过__driver_attach() 函数检测设备是否可以被该driver驱动管理. __driver_atta...

by gliethttp - Linux文档专区 - 2007-10-29 09:34:46 阅读(838) 回复(0)

本帖最后由 zd零 于 2010-12-28 19:23 编辑 在 linux 2.6.12 内核中 在 UHCI 中执行了一系列对 root hub 的初始化后 最终会调用 hub_probe() 函数 问题就在这:hub_probe() 函数第一个参数 struct usb_interface *intf 是通过一个宏而得到的![code]to_usb_interface(dev) #define to_usb_interface(d) container_of(d, struct usb_interface, dev)[/code]dev 为 struct usb_device 结构中 struct device dev 的指针!而此处是...

by zd零 - 内核源码 - 2010-12-28 19:32:38 阅读(1783) 回复(2)

http://blog.csdn.net/lm_tom/archive/2007/09/09/1778031.aspx understanding linux usb ehci device driver(1) [email=lm_tom@163.com]lm_tom@163.com[/email] 大概一年多前,曾经在linux下调试过VIA的一款ehci host controller,当时受项目进度以及知识积累所限,未能深入理解EHCI以及linux下的软件层面实现. 随着个人usb技术的不断积累, 近期在工作之余, 写了一些对EHCI以及linux下实现的理解. 选择EHCI作为一个...

by soararing - Linux文档专区 - 2009-06-02 16:25:26 阅读(2388) 回复(0)

http://blog.csdn.net/lm_tom/archive/2007/09/22/1795931.aspx understanding linux usb ehci device driver(2) [email=lm_tom@163.com]lm_tom@163.com[/email] 2. linux ehci device driver(ehci hcd) 2.1. linux usb subsystem arch overview(host) 2.2. ehci_hcd 2.3. ehci 实现的接口 2.3.1. ehci_pci_setup() (hc_driver->reset) 2.3.2. ehci_run() (hc_driver->start) 2.3.3. ehci_stop() (hc_driver->stop) 2.3.4. e...

by soararing - Linux文档专区 - 2009-06-02 16:23:31 阅读(2184) 回复(0)

请问: S3C2410A --- usb device < ========================> pc (windows) 通过usb 相接 实 现数据通信。    我现在不知怎么下手。 我是应在arm 里写 usb device driver 。还是怎么办。 请大侠指导!!!!!!!!!!

USB通信

by rlingxing - 嵌入式开发 - 2011-05-27 17:47:22 阅读(1874) 回复(2)

请教hub_probe函数被谁调用,我从内核起动信息看,这个函数被调用了两次,这个函数到底被谁调用啊?

by bbxyliyang - 驱动开发 - 2012-07-09 16:43:16 阅读(3953) 回复(22)

本资源回复后,可见下载链接

linux

by 戴墨镜的乌龟 - 服务器资源下载 - 2012-03-26 12:24:15 阅读(2339) 回复(5)

本人最近在调试9200的usb device,想把usb口当做一通信口使用(和pc机usb口相连后,与pc互通数据),使用usb Gadget Drivers ,有没有哪位大侠把它调试出来。? 我的信息是:   linux内核的启动信息是:    udc: at91_udc version 3 May 2006    gs_bind: Gadget Serial v2.2 bound    gs_module_init: Gadget Serial v2.2 loaded 这说明底层驱动已经配置好。不知是否正确。 PC机上的驱动是根...

by audi78 - 嵌入式开发 - 2007-02-08 11:56:43 阅读(3338) 回复(1)