According to the logs you posted you seem to have a FLIRC dongle plugged in. That raises 2 important questions:
What kind of remote are you using?
Do you intend to use the remote with the built-in IR receiver or with the FLIRC dongle?
so long,
Hias
According to the logs you posted you seem to have a FLIRC dongle plugged in. That raises 2 important questions:
What kind of remote are you using?
Do you intend to use the remote with the built-in IR receiver or with the FLIRC dongle?
so long,
Hias
This sounds like atvclient might be starting a bit too early.
Could you test if it works after running the following commands:
also please post the output of the following commands (after running the commands above)
so long,
Hias
Hi Jeroen,
interesting that atvclient always worked for you - I'll probably need have a closer look into the differences between your setup and the one where atvclient failed.
Here's a build without the apple-ir driver: LibreELEC-Generic.x86_64-8.2-devel-20171030102100-r26198-g0239080387.tar
It would also be great if you could run the following commands on 8.0.2, 8.2.0, 8.2.0 with atvclient disabled, and the build above and post the output - this should hopefully give some hints if other wakeup related settings have changed:
so long,
Hias
If I understand the config correctly eventlircd will translate the button presses from the firetv remote into lirc events - and longpress won't work.
You could try disabling that, then button presses will show up as keyboard events in kodi - with some different key ids though, eventlircd also remaps a few buttons, eg KEY_KPENTER to KEY_OK - see /etc/eventlircd.d/aftvsremote.evmap. No guarantee all buttons will work and you'll also have to create a keyboard.xml file on your own.
Easiest way to do this is to run the following command and then reboot - eventlircd will still be running but it won't translate any remote events into lirc events:
If it doesn't work just remove the empty udev rule file and reboot:
so long,
Hias
According to this post atvclient didn't work at all until we enabled the appleir driver atvclient working but kodi does nothing
I 've just kicked off a build without that driver and can upload it tomorrow but I suspect wake-from-suspend will still not work and atvclient won't work either.
BTW: just noticed that you wrote that wakeup didn't work with 8.0 either and you manually had to add something to autostart: Apple IR Remote (atvclient) not working in v7.90.010 ALPHA
8.2 uses a newer kernel (4.11 instead of 4.9 in 8.0) so probably some other change(s) might be needed...
so long,
Hias
Sorry, had forgotten that atvclient is built into the image, thought it was an addon.
To disable it run the following command, then reboot.
To enable it again run this:
Then, to start it without rebooting this should work:
so long,
Hias
The previous versions contained no driver for the apple remote at all
We added the apple-ir driver because we got reports that atvclient no longer worked without it. Also using lirc with the macmini / usbhid driver seems to require it.
Unfortunately none of us LibreELEC developers have such hardware to test.
BTW: are you using atvclient? If yes, uninstall it, then reboot, then ssh in, run the command from above and test again if wakeup works.
IIRC atvclient unbinds the USB device so the command I posted could silently fail. Without atvclient probably only ENTER and volume up / down will be working, but that should be enough to test this. Better connect a USB keyboard during tests though.
If that works, install atvclient, check if the remote works normally, and then check if suspend / remote wakeup works. Don't reboot in between, otherwise the wakeup settings from manually running wakeup_enable might be lost.
so long,
Hias
One difference is that we enable the apple-ir driver in 8.2.0 - this could be what's causing the issue, although I have no idea why wakeup worked before.
Could you test if wakeup works after running the following command on 8.2.0:
DEVPATH="/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8.2/2-1.8.2:1.0/0003:05AC:8242.0001/input/input4" /usr/lib/udev/wakeup_enable
so long,
Hias
What kind of info are you looking for and/or which kind of problem are you trying to solve?
In general: if you use a typical x86 HTPC box with an integrated IR receiver (like eg a NUC) and an original (or 100% compatible) Microsoft MCE remote it will work out of the box.
so long,
Hias
Try decreasing the command repeat settings in the harmony software as described here: Fixing Repeats
We recently diagnosed an issue with harmony remotes on kernel 4.14, and it looks like the harmony command feature uses a too long delay (about 240ms between signals instead of the expected ~100ms), setting command repeat to 0 or 1 fixed that.
so long,
Hias
On RPi1 (non-plus model) you also may need to short out the polyfuse F3 - it can contribute to a significant voltage drop.
Even a very short dip on the voltage rail might make your RPi crash, so if in doubt stick to the official RPi power supplies - they are known to work well.
Back in the day I had very good success (more than half a dozen installs for friends & family) with official RPi power supply and the following overclock:
so long,
Hias
The IR receiver device you are using only seems to support the raw lirc protocol - which is a bit odd. Usually IR receiver devices typically support rc-5, rc-6 and nec and some of them in addition to that the lirc protocol.
Please test with the latest LE beta release (currently 8.1.2). If you still only see "lirc" listed under supported protocols you'll have to use Lirc for remote support - just enable Lirc in LE Settings->Services.
BTW: Up-to-date instructions on remote handling in LE 8.1 and newer are in the wiki: infrared_remotes [LibreELEC]
so long,
Hias
It's all in the release notes that nobody seems to care to read LibreELEC (Krypton) v8.1.2 BETA – LibreELEC
QuoteIf you experience “double button presses” after updating the Lirc service can be disabled in the ‘Services’ tab of the LibreELEC settings add-on.
Try to find out at which exact build the issue started and report that in the Milhouse thread on the kodi forum.
Other than that: you also seem to have added "dtparam=audio=on" in your confiig.txt so you have both the analog on-board audio of the RPi (bcm2835 ALSA) and the hifiberry card enabled.
Remove the "dtparam=audio=on" line from config.txt, looks like kodi is struggling when there are 2 audio devices installed.
so long,
Hias
double check that the config.txt line is correct. On success you should get the following lines in dmesg - and ir-keytable should work:
[ 5.865255] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[ 5.865488] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1
[ 5.876159] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
If you can't get it working add the following line to config.txt
Then reeboot and post the output of the following commands:
so long,
Hias
dmesg indicates that you have "dtoverlay=lirc-rpi" in your config.txt. Remove that line, use "dtoverlay=gpio-ir" (which is the modern replacement of lirc-rpi) instead and ir-keytable should work.
so long,
Hias