Just upgraded my Rpi2 from LibreELEC 8.0.1 to 8.1.2. But my remote stopped working and I can't find out why.
Intro
I'm using a custom lircd.conf which contains 2 remotes:
- mceusb, so all the default kodi mappings should work out of the box
- harmony_kls_vdr, a second remote with a lot of extra codes I use to define custom actions in remote.xml through Lircmap.xml
lircd.conf
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
pre_data_bits 21
pre_data 0x37FF0
gap 105000
toggle_bit 22
rc6_mask 0x100000000
begin codes
#seen on HP Pavilion dv3t remote --Tim Mann, 3 Nov 2009
Media 0x00007b7f
PlayPause 0x00007b91
#unused by HP remote
KEY_BLUE 0x00007ba1
KEY_YELLOW 0x00007ba2
KEY_GREEN 0x00007ba3
KEY_RED 0x00007ba4
Teletext 0x00007ba5
#ba6 - bae unused
BA6 0x00007ba6
BA7 0x00007ba7
BA8 0x00007ba8
BA9 0x00007ba9
BAA 0x00007baa
BAB 0x00007bab
BAC 0x00007bac
BAD 0x00007bad
BAE 0x00007bae
KEY_RADIO 0x00007baf
Print 0x00007bb1
#bb2 - bb4 unused
BB2 0x00007bb2
BB3 0x00007bb3
BB4 0x00007bb4
KEY_VIDEO 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
KEY_AUDIO 0x00007bb8
KEY_TV 0x00007bb9
#bba - bbf unused
BBA 0x00007bba
BBB 0x00007bbb
BBC 0x00007bbc
BBD 0x00007bbd
BBE 0x00007bbe
BBF 0x00007bbf
#bc1 - bca unused
BC1 0x00007bc1
BC2 0x00007bc2
BC3 0x00007bc3
BC4 0x00007bc4
BC5 0x00007bc5
BC6 0x00007bc6
BC7 0x00007bc7
BC8 0x00007bc8
BC9 0x00007bc9
BCA 0x00007bca
KEY_EJECTCD 0x00007bcb
SlideShow 0x00007bcc
Visualization 0x00007bcd
#bce - bcf unused
BCE 0x00007bce
BCF 0x00007bcf
#bd1 - bd7 unused
BD1 0x00007bd1
BD2 0x00007bd2
BD3 0x00007bd3
BD4 0x00007bd4
BD5 0x00007bd5
BD6 0x00007bd6
BD7 0x00007bd7
Aspect 0x00007bd8
Guide 0x00007bd9
LiveTV 0x00007bda
KEY_DVD 0x00007bdb
#NoGap
KEY_BACK 0x00007bdc
KEY_OK 0x00007bdd
KEY_RIGHT 0x00007bde
KEY_LEFT 0x00007bdf
KEY_DOWN 0x00007be0
KEY_UP 0x00007be1
#NoGap
Star 0x00007be2
Hash 0x00007be3
#NoGap
KEY_AGAIN 0x00007be4
KEY_NEXT 0x00007be5
KEY_STOP 0x00007be6
KEY_PAUSE 0x00007be7
KEY_RECORD 0x00007be8
KEY_PLAY 0x00007be9
KEY_REWIND 0x00007bea
KEY_FORWARD 0x00007beb
#NoGap
KEY_CHANNELDOWN 0x00007bec
KEY_CHANNELUP 0x00007bed
KEY_VOLUMEDOWN 0x00007bee
KEY_VOLUMEUP 0x00007bef
#NoGap
More 0x00007bf0
KEY_MUTE 0x00007bf1
KEY_HOME 0x00007bf2
KEY_POWER 0x00007bf3
#NoGap
KEY_ENTER 0x00007bf4
KEY_CLEAR 0x00007bf5
#NoGap
KEY_9 0x00007bf6
KEY_8 0x00007bf7
KEY_7 0x00007bf8
KEY_6 0x00007bf9
KEY_5 0x00007bfa
KEY_4 0x00007bfb
KEY_3 0x00007bfc
KEY_2 0x00007bfd
KEY_1 0x00007bfe
KEY_0 0x00007bff
end codes
end remote
begin remote
name harmony_kls_vdr
bits 13
flags RC5 | CONST_LENGTH
eps 30
AEPS 100
one 922 858
zero 922 858
plead 937
gap 116048
min_repeat 2
toggle_bit 2
begin codes
com00 0x1780
com01 0x1001
com02 0x1002
com03 0x1003
com04 0x1004
com05 0x1005
com06 0x1006
com07 0x1007
com08 0x1008
com09 0x1009
com0a 0x100A
com0b 0x100B
com0c 0x100C
com0d 0x100D
com0e 0x100E
com0f 0x100F
com10 0x1010
com11 0x1011
com12 0x1012
com13 0x1013
com14 0x1014
com15 0x1015
com16 0x1016
com17 0x1017
com18 0x1018
com19 0x1019
com1a 0x101A
com1b 0x101B
com1c 0x101C
com1d 0x101D
com1e 0x101E
com1f 0x101F
com20 0x1020
com21 0x1021
com22 0x1022
com23 0x1023
com24 0x1024
com25 0x1025
com26 0x1026
com27 0x1027
com28 0x1028
com29 0x1029
com2a 0x102A
com2b 0x102B
com2c 0x102C
com2d 0x102D
com2e 0x102E
com2f 0x102F
com30 0x1030
com31 0x1031
com32 0x1032
com33 0x1033
com34 0x1034
com35 0x1035
com36 0x1036
com37 0x1037
com38 0x1038
com39 0x1039
com3a 0x103A
com3b 0x103B
com3c 0x103C
com3d 0x103D
com3e 0x103E
com3f 0x103F
end codes
end remote
Display More
I configured both remotes in my Harmony remote.
The receiver is a Topseed eHome Infrared Transceiver
Dmesg:
[ 1312.088673] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[ 1312.189718] usb 1-1.2: New USB device found, idVendor=1784, idProduct=0001
[ 1312.189740] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1312.189751] usb 1-1.2: Product: eHome Infrared Transceiver
[ 1312.189760] usb 1-1.2: Manufacturer: Topseed
[ 1312.189769] usb 1-1.2: SerialNumber: TS0015FK
[ 1312.194243] rc rc0: Media Center Ed. eHome Infrared Remote Transceiver (1784:0001) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0
[ 1312.194963] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 1312.194980] Registered IR keymap rc-rc6-mce
[ 1312.195653] input: Media Center Ed. eHome Infrared Remote Transceiver (1784:0001) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0/input2
[ 1312.411996] mceusb 1-1.2:1.0: Registered Topseed eHome Infrared Transceiver with mce emulator interface version 1
[ 1312.412017] mceusb 1-1.2:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)
Display More
To load the custom lircd.conf I use an autostart.sh file:
Problem
I can no longer navigate the interface with my remote. Irw does not register any keypresses. The leds light up, so the receiver is receiving.. And when I reconnect my ir receiver, the default ir-keytable kicks in and I can use the normal buttons, but not the extra buttons I use in the keymap harmony_kls_vdr
So how do I get my old lirc.conf working again? I've tried switching to a rc keymap before, bur like all the extra buttons this second remote has which don't overlap with any keys in the default kodi keymaps,
I've tried adding different drivers (devinput/mceusb) in lirc_options.conf, but that did nothing...