??
I have already created a custom keymap and my remote works fine (as long as the machine is running). The wiki article does not describe how to configure IR remote wakeup.
??
I have already created a custom keymap and my remote works fine (as long as the machine is running). The wiki article does not describe how to configure IR remote wakeup.
still "Permission denied"
ist it important that /sys/class/rc/rc0/device/power/wakeup does not exist?
The Google KI suggested to modify the dtb. I recompiled meson-g12b-odroid-n2-plus.dtb (yes, I have a N2+) with this change (adding wakup-source)
ir@8000 {
compatible = "amlogic,meson-gxbb-ir";
reg = <0x00 0x8000 0x00 0x20>;
interrupts = <0x00 0xc4 0x01>;
status = "okay";
wakeup-source;
pinctrl-0 = <0x22>;
pinctrl-names = "default";
linux,rc-map-name = "rc-odroid";
phandle = <0x126>;
};
Display More
but it doesn't help. The Google KI suggested a lot of stupid things and may be not qualified...
Unfortunately I don't have the original Hardkernel remote. But I have a USB IR transmitter and can generate codes with ir-ctl (example: ir-ctl -S nec:0xdc).
According to odroid.toml the scancode for "KEY_POWER" is 0xb2dc. Odroid wiki says that it is 0xdc.
This thread is confusing. It mentions several other codes. I tried all of them, sending the Code to N2 and logged the output also on another machine running CoreELEC, using their ir-keytable -u feature:
sudo ir-ctl -S nec:0xb2dc
Received IRMP code: remotewakeup='0x23dc4db2', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0xdc
Received IRMP code: remotewakeup='0x23dcff00', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0x3bc4
Received IRMP code: remotewakeup='0x3bc4c43b', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0x4db23bc4
warning: `nec:0x4db23bc4' will be decoded as `nec:0x4d3b'
Received IRMP code: remotewakeup='0xc43bb24d', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0x4d3b
Received IRMP code: remotewakeup='0xc43bb24d', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0x4db2
Received IRMP code: remotewakeup='0x4db2b24d', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0x3b
Received IRMP code: remotewakeup='0xc43bff00', decode_type='0x0', remotewakeupmask='0xffffffff'
sudo ir-ctl -S nec:0xc4
Received IRMP code: remotewakeup='0x3bc4ff00', decode_type='0x0', remotewakeupmask='0xffffffff'
Display More
None of them makes the LibreELEC N2 wakeup... but 0xb2dc works out of the box to make Kodi show the power off dialogue. But it can't wake the machine up. Tested with LibreELEC-Amlogic.aarch64-13.0-nightly-20261101-e54661c-odroid-n2
I have an Odroid N2 with internal IR receiver. The Google KI says "configuring this for LibreELEC requires adjusting how U-Boot reads your remote parameters". Then it suggests using a config.ini or boot.ini to supply the custom hex values directly to U-Boot at startup. This sounds like the method CoreELEC uses with amlogic vendor kernel, so the KI may be confused. Is IR wakeup yet possible and if so, what does it require? There is no *.ini-file on the flash partition.
A newly installed LibreELEC (community): nightly-20261101-e54661c (Amlogic.aarch64) image does not have the problem. Kodi runs like a charm with my remote and you are right, eventlircd is not available.
What I was testing before was this same image, but with an installed tar update file (https://github.com/Zabrimus/VDRSt….0-VDR-1031.tar) . This adds vdr to the SYSTEM filesystem. Zabrimus builds LE from source and according to https://github.com/Zabrimus/VDRSt…5b2c198ce1e186d he used a version which was a few days older. This results in a downgrade.
So the problem was either in LE and is already solved, or it was introduced by patches and addons from Zabrimus. Eventlircd is something we need for vdr.
Zabrimus is updating every week, so I will try again. But it seems pretty clear that this is no issue for LE support. Sorry!
yes, the rc_maps.cfg is fine now and the keytable is set permanently. I use the lastet nightly amlogic LE13 for Odroid N2.
I saw the thread you mentioned but found no explaination. At a second look I think #5 could be important.
QuoteYou had to map linux input codes (like KEY_MENU) to those kodi remote button codes via a Lircmap.xml and then map the kodi remote buttons to kodi actions in remote.xml.
I will have a closer look into this... sounds very difficult. I already tested CoreELEC CE22-no. It is also bleeding edge, but there is no problem with linux input event codes.
thank you, I looked for hours on the screen but did not see it ![]()
Do you have an idea why Kodi does not react to the remote? I have already vdr (from https://github.com/Zabrimus/VDRSternELEC) running (while kodi is stopped). The vdr OSD reacts now fine to remote key presses. Kodi should be able to react to /dev/input devices with or without eventlircd, but no success. Even the Kodi debug log shows no remote key presses. Keyboard works fine.
my file /storage/.config/rc_keymaps/ru880_vcr-code131.toml:
[[protocols]]
name = "ru880_vcr-code131"
protocol = "nec"
[protocols.scancodes]
0x315b = "KEY_POWER"
0x311d = "KEY_0"
0x3104 = "KEY_1"
0x3105 = "KEY_2"
0x3106 = "KEY_3"
0x3107 = "KEY_4"
0x310c = "KEY_5"
0x310d = "KEY_6"
0x310e = "KEY_7"
0x310f = "KEY_8"
0x311c = "KEY_9"
0x314c = "KEY_LEFT"
0x315e = "KEY_RIGHT"
0x3101 = "KEY_UP"
0x3102 = "KEY_DOWN"
0x31ca = "KEY_C"
0x314b = "KEY_ENTER"
0x3115 = "KEY_CHANNELUP"
0x3111 = "KEY_CHANNELDOWN"
0x3110 = "KEY_GREEN"
0x3114 = "KEY_YELLOW"
0x3112 = "KEY_RED"
0x3113 = "KEY_BLUE"
0x319f = "KEY_PAUSE"
0x3199 = "KEY_RECORD"
0x3178 = "KEY_MEDIA"
0x3108 = "KEY_ESC"
0x319b = "KEY_SUBTITLE"
0x311f = "KEY_INFO"
0x317c = "KEY_MODE"
Display More
ir-keytable -c -w /storage/.config/rc_keymaps/ru880_vcr-code131.toml works:
Read ru880_vcr-code131 table
Old keytable cleared
Wrote 30 keycode(s) to driver
Protocols changed to nec
This is the ouput of ir-keytable:
LibreELEC:/dev/input # ir-keytable
Found /sys/class/rc/rc1/ with:
Name: Hauppauge WinTV-dualHD DVB
Driver: em28xx
Default keymap: rc-hauppauge
Input device: /dev/input/event6
LIRC device: /dev/lirc1
Supported kernel protocols: rc-5 nec rc-6
Enabled kernel protocols: rc-5
bus: 3, vendor/product: 2040:8265, version: 0x0100
Repeat delay: 500 ms, repeat period: 125 ms
Found /sys/class/rc/rc0/ with:
Name: meson-ir
Driver: meson-ir
Default keymap: rc-odroid
Input device: /dev/input/event3
LIRC device: /dev/lirc0
Attached BPF protocols:
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
Enabled kernel protocols: lirc nec
bus: 25, vendor/product: 0000:0000, version: 0x0000
Repeat delay: 500 ms, repeat period: 125 ms
Display More
I am not sure if Default keymap: rc-odroid is right or if there should be reported the just configured custom toml. Anyway, the remote works (tested with evtest using meson-ir on /dev/input/event3)
Event: time 1793725093.577050, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1
Event: time 1793725093.577050, -------------- SYN_REPORT ------------
Event: time 1793725093.858062, type 1 (EV_KEY), code 28 (KEY_ENTER), value 2
Event: time 1793725093.858062, -------------- SYN_REPORT ------------
Event: time 1793725093.866751, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
But after starting eventlircd and kodi nothing happens in kodi when I press any key. There is nothing in the kodi debug log.
When I try to make the keymap permanently with ir-keytable -a /storage/.config/rc_keymaps/ru880_vcr-code131.toml -s rc0 I get an error:
Invalid parameter on line 1 of /storage/.config/rc_keymaps/ru880_vcr-code131.toml
ir-keytable: Failed to read config file /storage/.config/rc_keymaps/ru880_vcr-code131.toml
I don't see anything wrong in my toml and if so, I assume that this would have been reported by ir-keytable earlier when using -c -w instead of -a.
Is this fixed in a nightly image?
LE 11.0.1 didn't have this problem. Is this a regression? I looked into the SYSTEM squashfs file system of LE 11 but could't find any *curses* lib. But it seems that it is used since 2021 ...![]()
Kann es daran liegen:
LibreELEC:~ # nano -V
GNU nano, version 7.2
(C) 2023 the Free Software Foundation and various contributors
Compiled options: --disable-libmagic --disable-wrapping --disable-nls --disable-utf8
Allerdings sieht das bei CoreELEC auch so aus, und da gibt es das Problem nicht.
Im vi-Editor werden gar keine Umlaute akzeptiert - der schreibt nur Punkte. Tastaturlayout scheint zu stimmen - y und z entsprechen der deutschen Tastatur
I am using Xubuntu with xfce4-terminal, configured for utf-8. I use an ssh connection to Libreelec. The locale addon is installed and configured:
LibreELEC:~ # locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
Display More
The cat command shows text with right german 'Umlaute', including ß. I can also type ß in console and it shows right.
But when I open nano, I can only write äöü. When I type ß it shows =. Same with existing ß in text.
What am I missing? Version is LibreELEC (official): 12.0.2 (RPi2.arm)
It is running on a Raspi 2.
I want to switch the Samsung TV to HDMI3 and if necessary back to TV tuner (previous active source). This works with cec-ctl, but I tried it hours with cec-client and gave up.
Because of the WLAN invalid-key-problem I downgraded to LE 9.2.8
Unfortunately there is no cec-ctl included. Is it possible to install this from any add-on or repository? Or is it impossible to work with the 4.9 kernel?
I have a script which works fine with cec-ctl on LE 11. LE 9 includes cec-client, but I wasn't able to get the same result with it.
I copied the cec-ctl from version 11 into the 9, but it doesn't run because of the wrong glibc version.
When I was at home visiting my parents I checked the wifi connection via OSD menu. I tried to connect to the router and got "invalid key" answer. Tried it again several times and suddenly it works. A few hours later the Raspi was again unreachable...
As I am on LE 11.0.1 I believe I have the infamous invalid-key-bug: https://github.com/LibreELEC/LibreELEC.tv/issues/7166
Is there anything I can do to fix this?
In /storage/.cache/connman/wifi_08beac0ef069_4d442d3231323739_managed_psk there is a valid settings file for the router.