OK, nun also wieder kurz Zeit gehabt. Log(s) anbei.
Die Konfiguration wie folgt:
/storage/.config/lircd.conf
Code
begin remote
name lircd.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9118 4451
one 625 1627
zero 625 499
ptrail 622
repeat 9115 2196
pre_data_bits 16
pre_data 0x807F
gap 108386
toggle_bit_mask 0x0
begin codes
KEY_POWER 0x00FF
KEY_SUBTITLE 0x9867
KEY_AUDIO 0x18E7
KEY_DVD 0x807F906F
KEY_CLEAR 0x58A7
KEY_CLEAR 0xC837
KEY_BACK 0x8877
KEY_1 0x807F
KEY_2 0x40BF
KEY_3 0x609F
KEY_4 0x20DF
KEY_5 0xA05F
KEY_6 0xE01F
KEY_7 0x10EF
KEY_8 0x50AF
KEY_9 0xD02F
KEY_0 0x708F
KEY_MENU 0x08F7
KEY_CONTEXT_MENU 0x7887
KEY_MODE 0x38C7
KEY_ZOOM 0xA25D
KEY_DISPLAYTOGGLE 0x22DD
KEY_UP 0xA857
KEY_DOWN 0x6897
KEY_LEFT 0x28D7
KEY_RIGHT 0xE817
KEY_ENTER 0x48B7
KEY_REWIND 0x7A85
KEY_PLAYPAUSE 0xC23D
KEY_PLAYPAUSE 0xF20D
KEY_FORWARD 0xFA05
KEY_STOP 0xD22D
KEY_PREVIOUS 0x30CF
KEY_NEXT 0xF00F
KEY_RECORD 0xCA35
end codes
end remote
Alles anzeigen
/storage/.kodi/userdata/Lircmap.xml
Code
<lircmap>
<remote device="devinput">
<power>KEY_POWER</power>
<subtitle>KEY_SUBTITLE</subtitle>
<mymusic>KEY_AUDIO</mymusic>
<myvideo>KEY_DVD</myvideo>
<rootmenu>KEY_MENU</rootmenu>
<play>KEY_PLAY</play>
<play>KEY_PLAYPAUSE</play>
<pause>KEY_PLAYPAUSE</pause>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<title>KEY_CONTEXT_MENU</title>
<reverse>KEY_REWIND</reverse>
<forward>KEY_FORWARD</forward>
<skipminus>KEY_PREVIOUS</skipminus>
<skipplus>KEY_NEXT</skipplus>
<clear>KEY_CLEAR</clear>
<back>KEY_BACK</back>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<select>KEY_ENTER</select>
<display>KEY_ZOOM</display>
</remote>
</lircmap>
Alles anzeigen
/storage/.kodi/userdata/remote.xml
Code
<[definition='3','0']keymap[/definition]>
<global>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</global>
<FullscreenVideo>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</FullscreenVideo>
<FullscreenGame>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</FullscreenGame>
<FullscreenInfo>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</FullscreenInfo>
<PlayerControls>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</PlayerControls>
<Visualisation>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</Visualisation>
<MusicOSD>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</MusicOSD>
<VisualisationPresetList>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</VisualisationPresetList>
<VideoOSD>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</VideoOSD>
<VideoMenu>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</VideoMenu>
<OSDVideoSettings>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</OSDVideoSettings>
<OSDAudioSettings>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</OSDAudioSettings>
<VideoBookmarks>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</VideoBookmarks>
<LockSettings>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</LockSettings>
<ProfileSettings>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</ProfileSettings>
<Teletext>
<remote>
<rootmenu>ActivateWindow(home)</rootmenu>
</remote>
</Teletext>
</[definition='3','0']keymap[/definition]>
Alles anzeigen
. Damit sollte die Taste KEY_MENU, die von irw auch korrekt angezeigt wird:
Code
login as: root
root@libreelec's password:
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (official): 9.2.6 (RPi.arm)
LibreELEC:~ # irw
8b 0 KEY_MENU devinput
^C
LibreELEC:~ #
Alles anzeigen
als <rootmenu> gemappt werden und in jeglichem Kontext die Aktion ActivateWindow(home) ausführen. Die Liste habe ich von https://kodi.wiki/view/Keymap, aber leider dennoch kein Erfolg. Lediglich wird in gewissen Untermenüs (Video, Audio) ein Kontextmenu angezeigt, wie es auch bei KEY_LEFT passiert. KEY_BACK hingegen funktioniert wie erwartet.
Das Log selber ist kaum hilfreich, was
Code
2022-01-22 13:25:28.286 T:1861219200 ERROR: special://masterprofile/Lircmap.xml, Line 0
Error document empty.
Jan 22 13:25:17 LibreELEC lircd-0.10.1[277]: Info: Using remote: lircd.conf.
Jan 22 13:25:17 LibreELEC lircd-0.10.1[277]: Notice: /storage/.config/lircd.conf: lircd.conf: Multiple definitions of: KEY_CLEAR
Jan 22 13:25:17 LibreELEC lircd-0.10.1[277]: Notice: /storage/.config/lircd.conf: lircd.conf: Multiple definitions of: KEY_PLAYPAUSE
Jan 22 13:25:17 LibreELEC lircd-0.10.1[277]: Warning: /storage/.config/lircd.conf: lircd.conf: Invalid code : KEY_DVD
mir sagen will, weiß ich nicht.