Hi Hias,
Great news! That actually made it.
After adding the file and rebooting it worked just fine.
Thanks a lot.
Hi Hias,
Great news! That actually made it.
After adding the file and rebooting it worked just fine.
Thanks a lot.
Hi Hias,
It actually worked with the commands you provided!! Thanks so much!
Agree, this is very puzzling, not sure why it would behave that way with my NUC, it worked perfectly with my RPi 3. I am running Libreelec on my Intel NUC from a USB memory. It should not make a difference but I thought I would mention it.
I am sorry to ask but I am new to LE. I would need to know where to put these commands to so they get launched at boot. Would they go in the autostart.sh script in /storage/.config I have seen in other threads?
Below you will find the output from the requested commands. Let me know if you need more information. Thanks again.
LibreELEC (official) Version: 8.0.1
htpc:~ # ls -la /storage/.config/
total 72
drwxr-xr-x 13 root root 4096 Mar 25 00:13 .
drwxr-xr-x 15 root root 4096 Mar 25 09:49 ..
drwxr-xr-x 2 root root 4096 Mar 24 23:56 aacs
-rw-r--r-- 1 root root 284 Mar 24 23:56 hosts.conf
drwxr-xr-x 2 root root 4096 Mar 24 23:56 hwdb.d
-rw-r--r-- 1 root root 3545 Mar 25 00:12 lircd.conf
drwxr-xr-x 2 root root 4096 Mar 24 23:56 modprobe.d
drwxr-xr-x 2 root root 4096 Mar 24 23:56 modules-load.d
drwx------ 2 root root 4096 Mar 26 12:47 pulse
drwxr-xr-x 2 root root 4096 Mar 24 23:56 pulse-daemon.conf.d
drwxr-xr-x 2 root root 4096 Mar 24 23:56 rc_keymaps
-rw-r--r-- 1 root root 720 Mar 24 23:56 rc_maps.cfg.sample
-rw-r--r-- 1 root root 4246 Mar 24 23:56 samba.conf.sample
drwxr-xr-x 2 root root 4096 Mar 24 23:56 sysctl.d
drwxr-xr-x 2 root root 4096 Mar 24 23:56 system.d
drwxr-xr-x 2 root root 4096 Mar 24 23:56 tmpfiles.d
drwxr-xr-x 2 root root 4096 Mar 24 23:56 udev.rules.d
htpc:~ # ls -la /storage/.cache/services/
total 16drwxr-xr-x 2 root root 4096 Mar 24 23:59 .
drwxr-xr-x 9 root root 4096 Mar 25 00:46 ..
-rw-r--r-- 1 root root 0 Mar 26 12:48 avahi.conf
-rw-r--r-- 1 root root 0 Mar 26 12:48 crond.conf
-rw-r--r-- 1 root root 0 Mar 26 12:48 lircd.conf
-rw-r--r-- 1 root root 98 Mar 24 23:57 samba.disabled
-rw-r--r-- 1 root root 41 Mar 26 12:48 sshd.conf
htpc:~ # ls -la /dev/lirc*c
rw------- 1 root root 245, 0 Mar 26 12:48 /dev/lirc0
htpc:~ # systemctl -a | paste
http://sprunge.us/NaeU
htpc:~ # udevadm info -a -n /dev/lirc0 | paste
http://sprunge.us/Qdii
[b]Output from first ssh window[/b]
htpc:~ # /usr/sbin/lircd --nodaemon --loglevel=debug --driver=default --device=/dev/lirc0 --output=/run/lirc/lircd-lirc0 --pidfile=/run/lirc/lircd-lirc0.pid --release=_LIRCUP /storage/.config/lircd.conf
Warning: cannot open /etc/lirc/lirc_options.conf
lircd-0.9.4c[630]: Debug: lircd: Opening log, level: Debug
lircd-0.9.4c[630]: Warning: Running as root
lircd-0.9.4c[630]: Info: Using remote: Sony_RMT-D173A.
lircd-0.9.4c[630]: Notice: lircd(default) ready, using /run/lirc/lircd-lirc0
lircd-0.9.4c[630]: Notice: accepted new client on /run/lirc/lircd-lirc0
lircd-0.9.4c[630]: Info: [lirc] protocol is enabled
[b]Output from second ssh window:[/b]
LibreELEC (official) Version: 8.0.1
htpc:~ # /usr/sbin/lircd-uinput --loglevel=debug --release=_LIRCUP /run/lirc/lircd-lirc0
Warning: cannot open /etc/lirc/lirc_options.conf
lircd-0.9.4c[631]: Debug: lircd-uinput: Opening log, level: Debug
lircd-0.9.4c[631]: Info: Reading data from /run/lirc/lircd-lirc0, writing to /dev/uinput
lircd-0.9.4c[631]: Info: Using "_LIRCUP" as release suffix
Display More
Thanks for the logs. dmesg, lsmod and ir-keytable output look fine but there are no traces of lircd starting in journalctl.Stupid question: have you enabled lirc in LE settings (Settings->LibreELEC->services)?
so long,
Hias
Hi,
Yes, certainly. I made sure the Settings - Services - Lirc - Enable Lirc option was enabled before I started checking things.
In other threads I had read that CEC had to be disabled. I tried checking that Settings - System - Input - Peripherals -CEC was disabled, but that option is grayed out. Not sure if it has any relation with the problem and if CEC is enabled.
Thanks again.
lsmod | paste
Hi Hias, thanks a lot for the reply. Here it is the output from the commands you requested:
htpc:~ # ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event5) with:
Driver ite-cir, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc nec rc-6
Name: ITE8713 CIR transceiver
bus: 25, vendor/product: 1283:0000, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms
htpc:~ # dmesg | paste
dXOI
htpc:~ # journalctl -a | paste
cMMA
htpc:~ # lsmod | paste
IZia
I am intending to use the remote of a Sony DVD I have (Sony_RMT-D173A).
I grabbed it from the lirc.org database
In LE 8.0.0 it sort of worked when I manually launched lircd. However this did not work with LE8.0.1.
htpc:/usr/share # /usr/sbin/lircd /storage/.config/lircd.conf
Warning: cannot open /etc/lirc/lirc_options.conf
Segmentation fault (core dumped)
Please let me know if more information is needed.
Thanks!
Hello everyone,
Currently have LE8.0.1 on my Intel NUC. lircd is not coming up by default. Had the same issue with LE8.0.0 and was hoping the LE8.0.1 release fixed it.
I also have LE8.0.1 running on my RPi 3 no issues, did not have to do anything, just add the lircd.conf file for the remote.
htpc:~ # uname -a
Linux htpc 4.9.13 #1 SMP Wed Mar 22 17:35:19 GMT 2017 x86_64 GNU/Linux
htpc:~ # ps -ef | grep lircd
280 root 0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd
550 root 0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd
555 root 0:03 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
612 root 0:00 grep lircd
I did go to the LE Add-on and made sure lirc was enabled there, by default it was disabled.
Please let me know if there is anything to be done to have lircd to come up. I was hoping it was automatic, but no problem if I have to write a script. Just wanted to know what needs to be done if that is the case.
Thanks!
Thunderfolf,
Same setup here, and pretty much same problems or even worst as I had no output from the mode2 command.
After reading your post, and thanks to Henk50 for the tip, went over the how-to you followed. Realized I had a different syntax for the overlay command. So replaced it and started getting something from the tsop4838. Nothing from IRW yet.
So after trying different things, realized the output from irrecord generated a file under /storage/.config with the name I put when I ran the wizard. So I renamed it to lircd.conf ... Next, I got input from IRW, and started working on Kodi.
Now I am happily using my TV remote on LE 8.0.0. Hope it works and good luck.
Cheers.