mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tero Kristo <tero.kristo@linux.intel.com>
To: linux-input@vger.kernel.org, benjamin.tissoires@redhat.com,
	jikos@kernel.org, tero.kristo@linux.intel.com
Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com,
	peter.hutterer@who-t.net
Subject: [RFCv5 0/2] HID: Add USI support
Date: Wed, 15 Dec 2021 15:42:18 +0200	[thread overview]
Message-ID: <20211215134220.1735144-1-tero.kristo@linux.intel.com> (raw)

Hi,

These two patches add the missing pieces for HID USI support. First one
adds the HID core changes to support the new Misc events for pen ID,
line color and line style. The second patch adds a BPF program on top of
the HID-BPF driver which adds support for writing the Pen parameters
from userspace, and to add filtering of HID low level events for ELAN
USI controller. The BPF programs are not built by the kernel as of now
(there are no Makefile changes), as there is a plan to most likely
integrate these to a kernel external repository. I have tested these in
my own external build setup though, and I can provide the makefile for
that if needed. Also a sample client program is provided for
communicating with the D-BUS server.

I have also a kernel testing branch available at [1], which contains a
few fix patches on top of Benjamin's HID-BPF driver work, and is rebased
on top of latest hid/for-next. The HID-BPF fixes have been cleaned up a
bit compared to previous setup. There are also a couple of new patches
for adding support for a delayed_work BPF program on top of the
hid-bpf driver; this is used to execute the raw_requests in non-irq
context.

-Tero

[1] https://github.com/t-kristo/linux/tree/usi-5.16-v5-bpf



             reply	other threads:[~2021-12-15 13:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 13:42 Tero Kristo [this message]
2021-12-15 13:42 ` [RFCv5 1/2] HID: core: Add support for USI style events Tero Kristo
2021-12-15 13:42 ` [RFCv5 2/2] samples: hid-bpf: add HID USI samples Tero Kristo
2021-12-16 10:36 ` [RFCv5 0/2] HID: Add USI support Benjamin Tissoires
2021-12-16 12:28   ` Tero Kristo
2021-12-16 15:52     ` Benjamin Tissoires

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=20211215134220.1735144-1-tero.kristo@linux.intel.com \
    --to=tero.kristo@linux.intel.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter.hutterer@who-t.net \
    /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

all inboxes | Powered by JetHome®