mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
eventlircd: add acpi powerbutton handling
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Power Button (ACPI)
|
||||
KEY_POWER = KEY_POWER
|
||||
@@ -57,6 +57,13 @@ SUBSYSTEMS=="rc", \
|
||||
ENV{eventlircd_enable}="true", \
|
||||
ENV{eventlircd_evmap}="ircore.evmap"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Ask eventlircd to handle power button.
|
||||
#-------------------------------------------------------------------------------
|
||||
SUBSYSTEMS=="acpi", ATTRS{hid}=="LNXPWRBN", \
|
||||
ENV{eventlircd_enable}="true", \
|
||||
ENV{eventlircd_evmap}="power.evmap"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Ask eventlircd to handle USB HID devices that show up as event devices and are
|
||||
# known to be remote controls. For simplicity, the event map file names have the
|
||||
|
||||
Reference in New Issue
Block a user