From 5b807bf643ef3834c87598ce19433e3e1a2dadf9 Mon Sep 17 00:00:00 2001 From: Gerald Pinder <4626052+gmpinder@users.noreply.github.com> Date: Thu, 26 Jun 2025 17:04:24 -0400 Subject: [PATCH] Add udev rule for shokz headset --- files/shokz/80-shokz-blacklist.rules | 1 + recipes/common/jp-common.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 files/shokz/80-shokz-blacklist.rules diff --git a/files/shokz/80-shokz-blacklist.rules b/files/shokz/80-shokz-blacklist.rules new file mode 100644 index 0000000..a5314a4 --- /dev/null +++ b/files/shokz/80-shokz-blacklist.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", ATTRS{idVendor}=="3511", ATTRS{idProduct}=="2ef2", DRIVER=="usbhid", ATTR{authorized}="0" diff --git a/recipes/common/jp-common.yml b/recipes/common/jp-common.yml index f041028..b2c9c9d 100644 --- a/recipes/common/jp-common.yml +++ b/recipes/common/jp-common.yml @@ -12,6 +12,8 @@ modules: files: - source: distrobox destination: / + - source: shokz + destination: /etc/udev/rules.d/ - type: fonts fonts: nerd-fonts: