[PATCH 0/8] HID: bpf: sync up programs with udev-hid-bpf

Benjamin Tissoires posted 8 patches 3 days, 18 hours ago
drivers/hid/bpf/progs/Generic__touchpad.bpf.c      |   90 +
.../bpf/progs/Huion__KeydialK20-Bluetooth.bpf.c    |  492 ++++
drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c      |    3 +-
.../hid/bpf/progs/IOGEAR__Kaliber-MMOmentum.bpf.c  |    2 +-
drivers/hid/bpf/progs/Trust__Philips-SPK6327.bpf.c |   49 +
drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c          |    2 +-
drivers/hid/bpf/progs/XPPen__DecoMini4.bpf.c       |    2 +-
drivers/hid/bpf/progs/hid_bpf_async.h              |   36 +-
drivers/hid/bpf/progs/hid_bpf_helpers.h            |  321 +++
.../hid/bpf/progs/hid_report_descriptor_helpers.h  |   80 +
drivers/hid/bpf/progs/hid_usages.h                 | 2810 ++++++++++++++++++++
11 files changed, 3865 insertions(+), 22 deletions(-)
[PATCH 0/8] HID: bpf: sync up programs with udev-hid-bpf
Posted by Benjamin Tissoires 3 days, 18 hours ago
Not a full sync of udev-hid-bpf as the remaining .h syncs are not used
in merged HID-BPF progs (namely Logitech Bolt support).

I've tried to re-apply the header changes by merging the resulting code
and put references where I could.

We now gain support for:
- Huion KeyDial K20 over bluetooth
- Trust Philips SPK6327 keyboard
- A small helper to add a udev property to touchpads not running v6.18
  yet

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Benjamin Tissoires (8):
      HID: bpf: fix some signed vs unsigned compiler warnings
      HID: bpf: hid_bpf_helpers: provide a cleanup functions
      HID: bpf: add helper macros for LE/BE conversion
      HID: bpf: handle injected report descriptor in HID-BPF
      hid: bpf: hid_bpf_helpers: add helper for having read/write udev properties
      HID: bpf: add a BPF to get the touchpad type
      HID: bpf: Add support for the Huion KeyDial K20 over bluetooth
      bpf: Add fix for Trust Philips SPK6327 (145f:024b) modifier keys

 drivers/hid/bpf/progs/Generic__touchpad.bpf.c      |   90 +
 .../bpf/progs/Huion__KeydialK20-Bluetooth.bpf.c    |  492 ++++
 drivers/hid/bpf/progs/Huion__KeydialK20.bpf.c      |    3 +-
 .../hid/bpf/progs/IOGEAR__Kaliber-MMOmentum.bpf.c  |    2 +-
 drivers/hid/bpf/progs/Trust__Philips-SPK6327.bpf.c |   49 +
 drivers/hid/bpf/progs/Wacom__ArtPen.bpf.c          |    2 +-
 drivers/hid/bpf/progs/XPPen__DecoMini4.bpf.c       |    2 +-
 drivers/hid/bpf/progs/hid_bpf_async.h              |   36 +-
 drivers/hid/bpf/progs/hid_bpf_helpers.h            |  321 +++
 .../hid/bpf/progs/hid_report_descriptor_helpers.h  |   80 +
 drivers/hid/bpf/progs/hid_usages.h                 | 2810 ++++++++++++++++++++
 11 files changed, 3865 insertions(+), 22 deletions(-)
---
base-commit: 26639c5427d32a90301b31bc8ab82719629c1864
change-id: 20260403-wip-sync-udev-hid-bpf-2026-04-7bcea43616cc

Best regards,
-- 
Benjamin Tissoires <bentiss@kernel.org>