mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
lirc: allow using with Odroid_C2
This commit is contained in:
parent
88d1289dde
commit
a01365188f
34
packages/sysutils/lirc/config/lircd.conf.amremote
Normal file
34
packages/sysutils/lirc/config/lircd.conf.amremote
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
begin remote
|
||||||
|
|
||||||
|
name odroid-amremote
|
||||||
|
bits 16
|
||||||
|
flags SPACE_ENC|CONST_LENGTH
|
||||||
|
eps 30
|
||||||
|
aeps 100
|
||||||
|
|
||||||
|
header 8964 4507
|
||||||
|
one 544 1692
|
||||||
|
zero 544 561
|
||||||
|
ptrail 544
|
||||||
|
pre_data_bits 16
|
||||||
|
pre_data 0x4DB2
|
||||||
|
min_repeat 1
|
||||||
|
suppress_repeat 5
|
||||||
|
toggle_bit_mask 0x0
|
||||||
|
|
||||||
|
begin codes
|
||||||
|
KEY_LEFT 0x9966
|
||||||
|
KEY_RIGHT 0x837C
|
||||||
|
KEY_UP 0x53AC
|
||||||
|
KEY_DOWN 0x4BB4
|
||||||
|
KEY_ENTER 0x738C
|
||||||
|
KEY_HOME 0x41BE
|
||||||
|
KEY_MUTE 0x11EE
|
||||||
|
KEY_MENU 0xA35C
|
||||||
|
KEY_BACK 0x59A6
|
||||||
|
KEY_VOLUMEDOWN 0x817E
|
||||||
|
KEY_VOLUMEUP 0x01FE
|
||||||
|
KEY_POWER 0x3BC4
|
||||||
|
|
||||||
|
end codes
|
||||||
|
end remote
|
@ -56,8 +56,7 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/usr/bin/pronto2lirc
|
rm -rf $INSTALL/usr/bin/pronto2lirc
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/lirc
|
mkdir -p $INSTALL/etc/lirc
|
||||||
cp $PKG_DIR/config/lircd.conf.xbox $INSTALL/etc/lirc
|
cp $PKG_DIR/config/lircd.conf.* $INSTALL/etc/lirc
|
||||||
cp $PKG_DIR/config/lircd.conf.rpi $INSTALL/etc/lirc
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/libreelec
|
mkdir -p $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
||||||
|
@ -32,6 +32,11 @@ SUBSYSTEM=="lirc", DRIVERS=="lirc_rpi", \
|
|||||||
ENV{lircd_driver}="default", \
|
ENV{lircd_driver}="default", \
|
||||||
ENV{lircd_conf}="lircd.conf.rpi"
|
ENV{lircd_conf}="lircd.conf.rpi"
|
||||||
|
|
||||||
|
### Odroid AMLogic IR Receiver
|
||||||
|
SUBSYSTEMS=="platform", DRIVERS=="meson-ir", \
|
||||||
|
ENV{lircd_driver}="default", \
|
||||||
|
ENV{lircd_conf}="lircd.conf.amremote"
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Ask lircd_helper to handle USB devices that do not show up as lirc devices
|
# Ask lircd_helper to handle USB devices that do not show up as lirc devices
|
||||||
# and are supported by lircd. Remote controls that are USB HID devices that show
|
# and are supported by lircd. Remote controls that are USB HID devices that show
|
||||||
|
Loading…
x
Reference in New Issue
Block a user