[PLUGIN] IR Remote Controller feedback thread

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

[PLUGIN] IR Remote Controller feedback thread

Postby mikmas101 » Tue Aug 06 2019 00:00

I am having exactly the same problem as the last poster.
I downloaded and installed Volumio 2.599 on a Pi 2B with an IQAudio Dac+ hat fitted with IR receiver.
I installed the Remote Controller plugin to use with an original Justboom remote.
It doesn't work - I have tried uninstall/reinstall .... still doesn't work.
The fail is reported below:

volumio@volumio:~$ systemctl status lirc
● lirc.service - LSB: Starts LIRC daemon.
Loaded: loaded (/etc/init.d/lirc)
Active: active (exited) since Mon 2019-08-05 23:37:18 UTC; 3min 36s ago
Process: 21339 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)

Aug 05 23:37:18 volumio lirc[21339]: Loading LIRC modules:.
Aug 05 23:37:18 volumio lirc[21339]: Unable to load LIRC kernel modules. Ve...d!
Aug 05 23:37:18 volumio lirc[21339]: selected kernel modules in /etc/lirc/h...d!
Aug 05 23:37:18 volumio lirc[21339]: Starting execution daemon: irexec: failed!
Aug 05 23:37:18 volumio systemd[1]: Started LSB: Starts LIRC daemon..
Hint: Some lines were ellipsized, use -l to show in full.


Is there a fix for this?
Random avatar
mikmas101
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Mon Aug 05 2019 23:54

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


[PLUGIN] IR Remote Controller feedback thread

Postby gorgias » Wed Aug 07 2019 07:17

I had truble to get lirc working in the latest volumio version 2.599 as well. Here's what I did to get it to work (after ca 5 hours of banging my head in the wall...):

Hardware used:
ir reciver TSOP4838 connected to pin 25, + 3.3v and ground.
Logitech harmony 650 remote loaded with profile for Odroid C2

Procedure:
Installed plugin Ir remote controller and choose Odroid remote in settings
added: dtoverlay=gpio-ir,gpio_pin=25 to /boot/config.txt
changed: /etc/lirc/hardware.conf to use MODULES="gpio_ir_recv"

For some reason the file /etc/lirc/hardware.conf gets overwritten on every reboot. I guess that is done by the plugin.
I tried to restart lirc without rebooting and got it working that way:
(After editing /etc/lirc/hardware.conf)
sudo systemctl stop lirc
sudo systemctl start lirc

The last thing I tried was to edit /data/plugins/accessory/ir_controller/hardware.conf.tmpl
I changed MODULES="${module}" to:
MODULES="gpio_ir_recv"
I don't know if that works but worth a try. My thinking is that this value maybe gets written to hardware.conf on reboot.

For anyone else using Logitech harmony I recommend to change behavior for the device odroid to be always on. Otherwise the pi will get powered down everytime you press the power button to turn off your other equipment if you're using Activities with the remote.

Hope this helps while waiting for the plugin/volumio to get updated. :)
Random avatar
gorgias
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Wed Aug 07 2019 05:26


[PLUGIN] IR Remote Controller feedback thread

Postby gvolt » Wed Aug 07 2019 14:55

I opened a PR on GitHub with a fix for the IR Controller plugin: https://github.com/volumio/volumio-plugins/pull/345
Random avatar
gvolt
Audiophile
Audiophile
 
Posts: 196
Joined: Fri Mar 02 2018 16:47


[PLUGIN] IR Remote Controller feedback thread

Postby gorgias » Wed Aug 07 2019 17:27

gvolt wrote:I opened a PR on GitHub with a fix for the IR Controller plugin: https://github.com/volumio/volumio-plugins/pull/345


Great, thanks!
Random avatar
gorgias
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Wed Aug 07 2019 05:26


[PLUGIN] IR Remote Controller feedback thread

Postby mikmas101 » Wed Aug 07 2019 21:56

gorgias wrote:
Hope this helps while waiting for the plugin/volumio to get updated. :)


Thanks so much gorgias :)

Your fix worked like a charm and I now have a fully functioning remote !!

Will stick with this til the next full update ....
Random avatar
mikmas101
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Mon Aug 05 2019 23:54

Previous

Return to Development talks

Who is online

Users browsing this forum: No registered users and 0 guests