最終更新:2015-02-04 (水) 13:56:48 (3368d)
UHID
Top / UHID
User-space I/O driver support for HID subsystem
メモ
- HIDのトランスポートレイヤを実装するためのドライバ。
- this driver allows to write the transport-layer driver in user-space like USB-HID and Bluetooth-HID do in kernel-space.
- The UHID driver is a"low-level/transport-level driver (hid_ll_driver)" which was written to allow user-space to act as I/O drivers for the HID subsystem.
関連の仕組み
hidraw
- UHID cannot be used to parse HID-reports in user-space and write special HID-drivers. You should use hidraw for that.
uinput
- User level driver support for input subsystem
- It does not do any sophisticated protocol parsing or similar but simply forwards the events to all interested listeners.
使い方
- User-space can simply open /dev/uhid and create/destroy hid-devices in the hid-core.
- Each open file-descriptor on /dev/uhid can control exactly one device.
- The UHID driver registers the new device with the HID core and user-space can now transmit I/O data to the kernel
使いドコロ
Android
ドキュメント
サンプル
ドライバ
ヘッダ
デバイス
- Linux/dev/uhid?