Hi.
I just received some IR receivers (VS838) and would like to use it to control LibreElec 9.0.1 on RPi 3B+ with my TV remote.
I'm reading the wiki but not sure I understand well...
First I add in my config.txt the line
(I didn't found the dtoverlay=lirc-rpi)
To control that it works, i did with ssh
and I could see lots of "pulse" and "space" lines. So I hinks my remote and receiver could work.
But it don't ontrol my Kodi... As the wiki says
QuoteThe option to enable / disable Lirc in LibreELEC settings has been removed
as well, lircd will now be started automatically if the/storage/.config/lircd.conf
file is present.
I tried to add a lircd.conf file in /storage/.config/ (which is empty) with no results.
I tried to "the easy way", but the list of configurations in /usr/lib/udev/rc_maps is very long and I gave up after a dozen unsuccessful tries.
After what I tried in the "hard way" every available protocols. No one works...
LibreELEC:~ # systemctl stop kodi
LibreELEC:~ # systemctl stop eventlircd
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
Name: gpio_ir_recv
Driver: gpio_ir_recv, table: rc-rc6-mce
lirc device: /dev/lirc0
Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled protocols: lirc xmp
bus: 25, vendor/product: 0001:0001, version: 0x0100
Repeat delay = 500 ms, repeat period = 125 ms
LibreELEC:~ # ir-keytable -p other -t
Protocols changed to other
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p rc-5 -t
Protocols changed to rc-5
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p rc-5-sz -t
Protocols changed to rc-5-sz
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p jvc -t
Protocols changed to jvc
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p sony -t
Protocols changed to sony
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p ne -t
ir-keytable: Unknown protocol: ne
Try `ir-keytable --help' or `ir-keytable --usage' for more information.
LibreELEC:~ # ir-keytable -p nec -t
Protocols changed to nec
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p sanyo -t
Protocols changed to sanyo
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p mce_kbd -t
Protocols changed to mce_kbd
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p rc-6 -t
Protocols changed to rc-6
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p sharp -t
Protocols changed to sharp
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ # ir-keytable -p xmp -t
Protocols changed to xmp
Testing events. Please, press CTRL-C to abort.
^C
LibreELEC:~ #
Display More
When I searcch on the web, I see that everybody connect their ir receiver between "3.3v/GND and GPIO18", for example
These receivers are commonly poower with 5V Vcc, am I wrong ?
Thanks for your help, I don't understand how to use my tv remote and if I can do it...
PS : please excuse my "fr"english...