From 24fb463fda62f1491d34c299e501fb4be5de54d7 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 8 Nov 2017 13:19:28 +0100 Subject: [PATCH 1/2] Generic: compile appleir driver as module Signed-off-by: Matthias Reichl --- projects/Generic/linux/linux.x86_64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Generic/linux/linux.x86_64.conf b/projects/Generic/linux/linux.x86_64.conf index 18af9e5646..6e9f837156 100644 --- a/projects/Generic/linux/linux.x86_64.conf +++ b/projects/Generic/linux/linux.x86_64.conf @@ -3827,7 +3827,7 @@ CONFIG_HID_GENERIC=y CONFIG_HID_A4TECH=y # CONFIG_HID_ACRUX is not set CONFIG_HID_APPLE=y -CONFIG_HID_APPLEIR=y +CONFIG_HID_APPLEIR=m CONFIG_HID_AUREAL=y CONFIG_HID_BELKIN=y # CONFIG_HID_BETOP_FF is not set From d2a7c9c5d2a1ba46ab2c7a0aaa673da5d6bd56d7 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 8 Nov 2017 13:19:28 +0100 Subject: [PATCH 2/2] atvclient: enable wakeup by Apple IR remote Signed-off-by: Matthias Reichl --- packages/sysutils/atvclient/udev.d/98-appleir.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/sysutils/atvclient/udev.d/98-appleir.rules b/packages/sysutils/atvclient/udev.d/98-appleir.rules index 6a0b732f44..420e7af0dc 100644 --- a/packages/sysutils/atvclient/udev.d/98-appleir.rules +++ b/packages/sysutils/atvclient/udev.d/98-appleir.rules @@ -1,3 +1,4 @@ ACTION=="add", SUBSYSTEM=="usb", \ ATTR{idVendor}=="05ac", ATTR{idProduct}=="824[012]", \ + RUN+="wakeup_enable", \ TAG+="systemd", ENV{SYSTEMD_WANTS}+="atvclient.service"