From 933489018c361e6b3c1c4a397a79c41ab50b2791 Mon Sep 17 00:00:00 2001 From: Gujs Date: Wed, 9 Nov 2011 19:12:36 +0100 Subject: [PATCH] eventlircd: add support and evmap for remote PHILIPS MCE USB IR Receiver- Spinel plus --- .../eventlircd/evmap/03_0471_0613.evmap | 38 +++++++++++++++++++ .../eventlircd/udev.d/98-eventlircd.rules | 4 ++ 2 files changed, 42 insertions(+) create mode 100644 packages/sysutils/remote/eventlircd/evmap/03_0471_0613.evmap diff --git a/packages/sysutils/remote/eventlircd/evmap/03_0471_0613.evmap b/packages/sysutils/remote/eventlircd/evmap/03_0471_0613.evmap new file mode 100644 index 000000000..07bf67c4e --- /dev/null +++ b/packages/sysutils/remote/eventlircd/evmap/03_0471_0613.evmap @@ -0,0 +1,38 @@ +# 0471:0613 PHILIPS MCE USB IR Receiver- Spinel plus + + KEY_1 = KEY_NUMERIC_1 # 1 + KEY_2 = KEY_NUMERIC_2 # 2 + KEY_3 = KEY_NUMERIC_3 # 3 + KEY_4 = KEY_NUMERIC_4 # 4 + KEY_5 = KEY_NUMERIC_5 # 5 + KEY_6 = KEY_NUMERIC_6 # 6 + KEY_7 = KEY_NUMERIC_7 # 7 + KEY_8 = KEY_NUMERIC_8 # 8 + KEY_9 = KEY_NUMERIC_9 # 9 + KEY_0 = KEY_NUMERIC_0 # 0 + shift+KEY_8 = KEY_NUMERIC_STAR # * + shift+KEY_3 = KEY_NUMERIC_POUND # # + + KEY_POWER = KEY_POWER # Power + KEY_RECORD = KEY_RECORD # Record + KEY_PAUSE = KEY_PAUSE # Pause + KEY_STOPCD = KEY_STOP # Stop + KEY_REWIND = KEY_REWIND # Rev + KEY_PLAY = KEY_PLAY # Play + KEY_FASTFORWARD = KEY_FASTFORWARD # Fwd + KEY_PREVIOUSSONG = KEY_PREVIOUS # Prev + KEY_NEXTSONG = KEY_NEXT # Next + KEY_BACK = KEY_EXIT # BACK + KEY_PROPS = KEY_INFO # Info/EPG + KEY_LEFT = KEY_LEFT # Left Arrow + KEY_RIGHT = KEY_RIGHT # Right Arrow + KEY_UP = KEY_UP # Up Arrow + KEY_DOWN = KEY_DOWN # Down Arrow + KEY_ENTER = KEY_OK # Enter & Ok + KEY_VOLUMEUP = KEY_VOLUMEUP # Vol + + KEY_VOLUMEDOWN = KEY_VOLUMEDOWN # Vol - + KEY_CHANNELUP = KEY_CHANNELUP # CH/PG up + KEY_CHANNELDOWN = KEY_CHANNELDOWN # CH/PG down + KEY_MUTE = KEY_MUTE # Mute + KEY_PROGRAM = KEY_SUBTITLE # Program # remapped to Subtitle + KEY_ESC = KEY_DELETE # Delete/Clear diff --git a/packages/sysutils/remote/eventlircd/udev.d/98-eventlircd.rules b/packages/sysutils/remote/eventlircd/udev.d/98-eventlircd.rules index 259831e33..fb8febd84 100644 --- a/packages/sysutils/remote/eventlircd/udev.d/98-eventlircd.rules +++ b/packages/sysutils/remote/eventlircd/udev.d/98-eventlircd.rules @@ -135,6 +135,10 @@ ENV{ID_VENDOR_ID}=="9022", ENV{ID_MODEL_ID}=="d660", \ ENV{eventlircd_enable}="true", \ ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap" +ENV{ID_VENDOR_ID}=="0471", ENV{ID_MODEL_ID}=="0613", \ + ENV{eventlircd_enable}="true", \ + ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap" + # Enable wake-on-usb for the USB remotes. RUN+="wakeup_enable"