From: David Herrmann <dh.herrmann@googlemail.com>
To: linux-input@vger.kernel.org
Cc: jkosina@suse.cz, David Herrmann <dh.herrmann@googlemail.com>
Subject: [PATCH 00/16] HID: uhid: User-space HID I/O driver
Date: Sun, 10 Jun 2012 15:16:12 +0200 [thread overview]
Message-ID: <1339334188-21766-1-git-send-email-dh.herrmann@googlemail.com> (raw)
This adds a new low-level HID driver that allows user-space to implement the
transport-layer. This is needed by HOGP (HID over Gatt on Bluetooth Low Energy).
There is already an implementation of HOGP, see the
linux-bluetooth@vger.kernel.org mailing list for this.
I've split this into multiple patches to make review easier. This patchset is
already working for several months for the HOGP developers but there may still
be some issues with it. Please review.
The uhid_*() functions implement the basic module functionality. The
uhid_char_*() functions handle character-device related functionality. The
uhid_dev_*() functions handle the uhid-device object and the uhid_hid_*()
functions are HID-callbacks.
I am open for any suggestions.
Regards
David
David Herrmann (16):
HID: uhid: introduce user-space I/O driver support for HID
HID: uhid: add internal message buffer
HID: uhid: allow poll()'ing on uhid devices
HID: uhid: implement read() on uhid devices
HID: uhid: implement write() on uhid devices
HID: uhid: add UHID_CREATE and UHID_DESTROY events
HID: uhid: allow feeding input data into uhid devices
HID: uhid: forward hid report-descriptor to hid core
HID: uhid: add UHID_START and UHID_STOP events
HID: uhid: forward open/close events to user-space
HID: uhid: forward output request to user-space
HID: uhid: forward raw output reports to user-space
HID: uhid: implement feature requests
HID: uhid: add documentation
HID: uhid: add example program
MAINTAINERS: add UHID entry
Documentation/hid/uhid.txt | 169 +++++++++++++
MAINTAINERS | 7 +
drivers/hid/Kconfig | 21 ++
drivers/hid/Makefile | 1 +
drivers/hid/uhid.c | 572 +++++++++++++++++++++++++++++++++++++++++++
include/linux/Kbuild | 1 +
include/linux/uhid.h | 104 ++++++++
samples/uhid/Makefile | 10 +
samples/uhid/uhid-example.c | 381 ++++++++++++++++++++++++++++
9 files changed, 1266 insertions(+)
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.4
next reply other threads:[~2012-06-10 13:16 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-10 13:16 David Herrmann [this message]
2012-06-10 13:16 ` [PATCH 01/16] HID: uhid: introduce user-space I/O driver support for HID David Herrmann
2012-06-10 13:16 ` [PATCH 02/16] HID: uhid: add internal message buffer David Herrmann
2012-06-10 13:16 ` [PATCH 03/16] HID: uhid: allow poll()'ing on uhid devices David Herrmann
2012-06-10 13:16 ` [PATCH 04/16] HID: uhid: implement read() " David Herrmann
2012-06-10 13:16 ` [PATCH 05/16] HID: uhid: implement write() " David Herrmann
2012-06-10 13:16 ` [PATCH 06/16] HID: uhid: add UHID_CREATE and UHID_DESTROY events David Herrmann
2012-06-10 13:16 ` [PATCH 07/16] HID: uhid: allow feeding input data into uhid devices David Herrmann
2012-06-10 13:16 ` [PATCH 08/16] HID: uhid: forward hid report-descriptor to hid core David Herrmann
2012-06-10 13:16 ` [PATCH 09/16] HID: uhid: add UHID_START and UHID_STOP events David Herrmann
2012-06-10 13:16 ` [PATCH 10/16] HID: uhid: forward open/close events to user-space David Herrmann
2012-06-10 13:16 ` [PATCH 11/16] HID: uhid: forward output request " David Herrmann
2012-06-10 13:16 ` [PATCH 12/16] HID: uhid: forward raw output reports " David Herrmann
2012-06-10 13:16 ` [PATCH 13/16] HID: uhid: implement feature requests David Herrmann
2012-06-10 13:16 ` [PATCH 14/16] HID: uhid: add documentation David Herrmann
2012-06-10 13:16 ` [PATCH 15/16] HID: uhid: add example program David Herrmann
2012-06-10 13:16 ` [PATCH 16/16] MAINTAINERS: add UHID entry David Herrmann
2012-06-11 14:46 ` [PATCH 00/16] HID: uhid: User-space HID I/O driver Joao Paulo Rechi Vita
2012-06-11 17:56 ` David Herrmann
[not found] ` <CAAngNMa3GMqrgZUrx=XqaRWfK2MaFMewK6OEQU_=4oPj1FOMNw@mail.gmail.com>
2012-06-14 22:05 ` Joao Paulo Rechi Vita
2012-06-16 12:44 ` David Herrmann
2012-06-18 11:46 ` Jiri Kosina
2012-07-02 21:05 ` Joao Paulo Rechi Vita
2012-07-02 21:19 ` David Herrmann
2012-07-03 2:15 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339334188-21766-1-git-send-email-dh.herrmann@googlemail.com \
--to=dh.herrmann@googlemail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).