zoukankan      html  css  js  c++  java
  • linux usb驱动——USB文件结构

    linux内核中关于usb文档说明

    #vi xxx/.../qca/src/linux-3.14/drivers/usb/README
    Here is a list of what each subdirectory here is, and what is contained in
    them.
    
    core/           - This is for the core USB host code, including the
                      usbfs files and the hub class driver ("khubd").
    
    host/           - This is for USB host controller drivers.  This
                      includes UHCI, OHCI, EHCI, and others that might
                      be used with more specialized "embedded" systems.
    
    gadget/         - This is for USB peripheral controller drivers and
                      the various gadget drivers which talk to them.
    
    
    Individual USB driver directories.  A new driver should be added to the
    first subdirectory in the list below that it fits into.
    
    image/          - This is for still image drivers, like scanners or
                      digital cameras.
    ../input/       - This is for any driver that uses the input subsystem,
                      like keyboard, mice, touchscreens, tablets, etc.
    ../media/       - This is for multimedia drivers, like video cameras,
                      radios, and any other drivers that talk to the v4l
                      subsystem.
    ../net/         - This is for network drivers.
    serial/         - This is for USB to serial drivers.
    storage/        - This is for USB mass-storage drivers.
    class/          - This is for all USB device drivers that do not fit
                      into any of the above categories, and work for a range
                      of USB Class specified devices.
    misc/           - This is for all USB device drivers that do not fit
                      into any of the above categories.             

    usb文件系统

    pon@ubuntu:~/xxx/......./linux-3.14/drivers/usb$ tree -L 1
    .
    ├── atm
    ├── built-in.o
    ├── c67x00
    ├── chipidea
    ├── class
    ├── core
    ├── dwc2
    ├── dwc3
    ├── early
    ├── gadget
    ├── host
    ├── image
    ├── Kconfig
    ├── Makefile
    ├── misc
    ├── modules.builtin
    ├── modules.order
    ├── mon
    ├── musb
    ├── phy
    ├── README
    ├── renesas_usbhs
    ├── serial
    ├── storage
    ├── usb-common.c
    ├── usb-common.o
    ├── usb-skeleton.c
    └── wusbcore
  • 相关阅读:
    android第四天晚:绘图和handle
    第二天学英语:django 第二章 get started(1)
    C#进程间的同步,实现只能运行一个程序的效果
    C# Winform Chart的配置
    C#平台调用的步骤
    分享一个开源小工具,关于单词的
    C#的log4net、log2console、rollingfile综合配置
    C#,字符串加密
    使用C#尽可能以最少的代码完成多层次的软件配置(基于PropertyGrid控件)
    C# Winform 单例的Form窗体
  • 原文地址:https://www.cnblogs.com/mahj/p/8489002.html
Copyright © 2011-2022 走看看