Hi
This implements a hid_ll_driver user-space interface similar to uinput for the
input devices. It allows to implement the HID transport-layer in user-space as
required by Bluetooth Low-Energy (HoG).
This is my "first final revision" for the module. Please review and test.
Changes from the previous RFCs include:
- The feature-report mechanism is now implemented
- Several min_t() fixes
- Minor coding-style issues
I did not change __attribute__((__packed__)) to __packed as the latter one is
not provided to user-space.
If there are any more issues, please tell me. And for the record, the HoG devs
told me that they are working since several months with it now so we have a real
user-space application that needs it ;)
If there are no more issues (which i doubt) I can also resend this splitted into
multiple patches.
Regards
David
David Herrmann (1):
HID: User-space I/O driver support for HID subsystem
Documentation/hid/uhid.txt | 169 +++++++++++++
drivers/hid/Kconfig | 21 ++
drivers/hid/Makefile | 2 +-
drivers/hid/uhid.c | 572 +++++++++++++++++++++++++++++++++++++++++++
include/linux/Kbuild | 1 +
include/linux/uhid.h | 104 ++++++++
samples/uhid/Makefile | 10 +
samples/uhid/uhid-example.c | 381 ++++++++++++++++++++++++++++
8 files changed, 1259 insertions(+), 1 deletion(-)
create mode 100644 Documentation/hid/uhid.txt
create mode 100644 drivers/hid/uhid.c
create mode 100644 include/linux/uhid.h
create mode 100644 samples/uhid/Makefile
create mode 100644 samples/uhid/uhid-example.c
--
1.7.10