Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eventlircd: fix subsystem rules for bluetooth HID remotes #9587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions packages/sysutils/eventlircd/udev.d/98-eventlircd.rules
Original file line number Diff line number Diff line change
Expand Up @@ -196,30 +196,24 @@ LABEL="end-usb"
# and are known to be remote controls. For simplicity, the event map file names
# have the format <BUSTYPE>_<VENDOR>_<PRODUCT>.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"

Expand Down