UFBFN RNDIS

来源:互联网 发布:mac os 百度云盘 编辑:程序博客网 时间:2024/06/06 16:36

http://bluefish.blog.51cto.com/214870/1239085

There are 3 types usb driver in wince system. They areusb host driver, usb slave driver, usb otg driver.


1, usb host driver

When device was plug in, system enume the register according the device descriptor and interface descriptor, then load the usb client driver, call the usbdeviceattach function. Normaly, usb client driver will support stream driver interface, in usbdeviceattach function, the stream driver will be actived


2,usbslave driver

Usbfn.dll will be loaded by system device manager at system startup steps. Then if the device was plug in host hub, usbfn.dll will detect power changed, then try to load usb client driver according to register key. Here the client driver can be rndisfn, uartfn, storagefn.

 

0 0