最終更新:2024-11-29 (金) 18:58:02 (8d)
Linux/USBガジェット/コンポジットフレームワーク
http://lwn.net/Articles/395712/
概要
- Linux 2.6.27(2008/10/09)でLinux/USBガジェット/コンポジットフレームワーク追加
- usb_composite_driver
- enables multi-function (or USB composite) gadget drivers
- existing gadget drivers slowly moved over to compositable function implementations
- bind時にusb_add_config/usb_add_functionでファンクションを追加
make menuconfigの項目
ドキュメント
現在
最初のコミット
- kernel.org/doc/Documentation/DocBook/gadget.tmpl?
コア
- drivers/usb/gadget/composite.h?
- drivers/usb/gadget/composite.c
関数
- usb_add_function
- usb_function_activate?
- usb_add_config
- usb_composite_probe
型
usb_composite_driver groups configurations into a gadget usb_configuration represents one gadget configuration usb_function describes one function of a configuration
ファンクションドライバ
drivers/usb/gadget/legacy/acm_ms.c? g_acm? drivers/usb/gadget/legacy/audio.c? g_audio drivers/usb/gadget/legacy/cdc2.c? g_cdc drivers/usb/gadget/legacy/ether.c? g_ether drivers/usb/gadget/legacy/gmidi.c? g_midi drivers/usb/gadget/legacy/mass_storage.c? g_mass_storage CONFIG_USB_MASS_STORAGE drivers/usb/gadget/legacy/multi.c? g_multi drivers/usb/gadget/legacy/ncm.c? g_ncm? drivers/usb/gadget/legacy/nokia.c? g_nokia? drivers/usb/gadget/legacy/printer.c? g_printer? drivers/usb/gadget/legacy/webcam.c? g_webcam? drivers/usb/gadget/legacy/zero.c? g_zero CONFIG_USB_ZERO
ファンクション
- drivers/usb/gadget/function/f_acm.c?
- drivers/usb/gadget/function/f_ecm.c?
- drivers/usb/gadget/function/f_eem.c?
- drivers/usb/gadget/function/f_fs.c?
- drivers/usb/gadget/function/f_hid.c?
- drivers/usb/gadget/function/f_mass_storage.c?
- drivers/usb/gadget/function/f_midi.c?
- drivers/usb/gadget/function/f_ncm.c?
- drivers/usb/gadget/function/f_obex.c?
- drivers/usb/gadget/function/f_phonet.c?
- drivers/usb/gadget/function/f_printer.c?
- drivers/usb/gadget/function/f_rndis.c?
- drivers/usb/gadget/function/f_serial.c?
- drivers/usb/gadget/function/f_subset.c?
- drivers/usb/gadget/function/f_uac1.c
- drivers/usb/gadget/function/f_uac1_legacy.c?
- drivers/usb/gadget/function/f_uac2.c?
- drivers/usb/gadget/function/f_uvc.c