最終更新:2017-06-16 (金) 17:26:55 (129d)  

FunctionFS はてなブックマークを見る
Top / FunctionFS

Function Filesystem

概要

  • The Function Filesystem (FunctionFS) lets one create USB composite functions in user space in the same way GadgetFS lets one create USB gadgets in user space. This allows creation of composite gadgets such that some of the functions are implemented in kernel space (for instance Ethernet, serial or mass storage) and other are implemented in user space.

ドキュメント

使い方

  • Usage:
    • open ep0 file
    • Write function descriptors
    • Write function strings
    • Open epXX (if any)
    • Read events from ep0
    • …(Protocol specific)

.config

依存

マウント

  • mount -t functionfs mtp /dev/ffs-mtp
    mount -t functionfs hid /dev/ffs-hid

関連