From 0c52552cb8d41aa3151192cfb108be3ba4cf4ddc Mon Sep 17 00:00:00 2001 From: Dashinginthe90s Date: Mon, 16 Dec 2024 19:19:49 -0500 Subject: [PATCH] Fix subsystem rules for bluetooth HID remotes --- .../sysutils/eventlircd/udev.d/98-eventlircd.rules | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/sysutils/eventlircd/udev.d/98-eventlircd.rules b/packages/sysutils/eventlircd/udev.d/98-eventlircd.rules index 7d04d436d29..7065ae1d4cc 100644 --- a/packages/sysutils/eventlircd/udev.d/98-eventlircd.rules +++ b/packages/sysutils/eventlircd/udev.d/98-eventlircd.rules @@ -196,30 +196,24 @@ LABEL="end-usb" # and are known to be remote controls. For simplicity, the event map file names # have the format __.evmap. #------------------------------------------------------------------------------- -SUBSYSTEMS=="bluetooth", GOTO="begin-bluetooth" -GOTO="end-bluetooth" -LABEL="begin-bluetooth" - -ATTRS{name}=="Nintendo Wii Remote", \ +SUBSYSTEMS=="input", ATTRS{name}=="Nintendo Wii Remote", \ ENV{eventlircd_enable}="true", \ ENV{eventlircd_evmap}="wiimote.evmap" -ATTRS{name}=="BD Remote Control", \ +SUBSYSTEMS=="input", ATTRS{name}=="BD Remote Control", \ ENV{eventlircd_enable}="true", \ ENV{eventlircd_evmap}="ps3remote.evmap" #PS3 BD Remote Version 2 (Bluetooth AND infrared 3 in 1 remote) -ATTRS{name}=="Sony Computer Entertainment Inc BD Remote Control", \ +SUBSYSTEMS=="input", ATTRS{name}=="Sony Computer Entertainment Inc BD Remote Control", \ ENV{eventlircd_enable}="true", \ ENV{eventlircd_evmap}="ps3remote.evmap" # Amazon Fire TV stick remote -ATTRS{name}=="Amazon Fire TV Remote", \ +SUBSYSTEMS=="input", ATTRS{name}=="Amazon Fire TV Remote", \ ENV{eventlircd_enable}="true", \ ENV{eventlircd_evmap}="aftvsremote.evmap" -LABEL="end-bluetooth" - # tell libinput to ignore devices handled by eventlircd ENV{eventlircd_enable}=="true", ENV{LIBINPUT_IGNORE_DEVICE}="1"