[PLUGIN] IR Remote Controller feedback thread

Ok, then select GPIO 4, don’t change other settings for now and click “Save”.

Thanks, it work

Hi All,

I have, earlier today, posted a question regarding exactly this Audiophonics remote control being discussed here in another thread (DAC sabre Audiophonics). As explained over there, I have:

  • AUDIOPHONICS EVO-SABRE Balanced DAC 2x ES9038Q2M USB GPIO Raspberry Pi SPDIF Bluetooth XLR RCA
  • a RBPI4
  • the Waveshare 7.9inch HDMI touch display
  • and of course Volumio running on it

My problem is that the remote control provided with the Audiophonics DAC was only working partially, the play/pause and left/right etc. buttons were not working. Everything else is just fine.

Later then, I found this thread and followed the suggestions:

  1. install the “IR Remote Controller” plugin
  2. copy the content of that zip with the “Audiophonics RaspDAC Mini” profile to the right place
  3. select that profile in the plugin, and set GPIO to 4 (simply because I did not know any better)
  4. reboot

Now I have the play/pause and left/right buttons also working nicely, with the only issue being that sometimes pressing a button once results into more than 1 action - e.g. pressing “right” once, but moving to the second or third next track.

Maybe also relevant, the status of the remote control int the “Audiophonics Evo Sabre” plugin is now showing errors (and fomerly did not).

So, in essence it seems that that Audiophonics RaspDAC Mini profile is doing something better than the DAC plugin, but is also somehow conflicting with it.

Any suggestions anyone?

If you are using the “Audiophonics Evo Sabre” plugin I suggest not to install the IR Controller plugin, too. The “Audiophonics Evo Sabre” plugin should already handle the remote controls signals. Having both plugins may lead to conflicts/interferences.

Assuming you want to use the “Audiophonics Evo Sabre” plugin I suggest to uninstall the IR Controller plugin. Since this will also uninstall lirc you will probably have to uninstall and reinstall the “Audiophonics Evo Sabre” plugin after that.

I did what you suggested:

  1. uninstalled the IR controller plugin
  2. uninstalled the Audiophonics Evo Sabre plugin. This failed for lirc was missing, so I had to uninstall it manually (remove the directory, and its reference in plugins.json)
  3. reboot

now I am back to where I was - the remote control only working partially (just the volume, mute, power, input and filter buttons).

It seems the Audiophonics Evo Sabre plugin is not installing lirc by itself. It should be in the dev folder, right?

It should.

Since this appears to be an issue with the Audiophonics Evo Sabre plugin I suggest to ask for support in the [ [PLUGIN] Audiophonics EVO Sabre thread.

I was already in contact with Audiophonics directly, and they had even offered that I sent the DAC back and they test it. Since I was sure this is a config issue I played around with it a bit more first.

I now have everything working. I am not sure why though. I installed lirc manually again (python - Setup IR Remote Control Using LIRC for the Raspberry PI (RPi) - Stack Overflow), added “dtoverlay=gpio-ir,gpio_pin=4” to my userconfig.txt, rebooted several times, and now it does what it should.

@gvolt the plugin does not start properly on the latest beta with kernel 6.6, could you please have a look?

it gives an error of failing configuration

the workaround is to add the overlay manually on userconfig.txt

Are you referring to version 3.771 or to 0.012 (Bookworm)?

to the buster version with kernel 6.6 (beta 3.771)

we are currently blocked to promote it as stable because several plugins are still not working

@Darmur

Hi Dario, I believe there is a mixup with “IR Activity LED”. Tested the IR controller again, but no issues found.
image

@gvolt
Minor:
Location of IR-configurations is still located at: /data/plugins/system_hardware/ir_controller/configurations
Should move to: /data/INTERNAL/ir_controller/configurations

/data/plugins/system_hardware/ir_controller/configurations contains only the configurations that come with the plugin (“factory profiles”).

/data/INTERNAL/ir_controller/configurations is for configurations the user provides.

It is necessary to maintain this separation, as this makes it possible to modify existing profiles and save them in /data/INTERNAL/ir_controller/configurations without having to modify the “factory profiles”.

From the plugin’s readme:

User-specific configurations for remote controls can be stored in a dedicated folder named “/data/INTERNAL/ir_controller/configurations”. A subfolder must be created in the aforementioned directory for each remote control, in which the LIRC files “lircrc” and “lirc.conf” are stored for the remote control.

The name of the subfolder appears in the list of selectable remote controls. If this name is also used for one of the remote control configurations already supplied, the user’s own configuration with the same name takes precedence.

Note: Updating the plugin does not affect the user-defined configurations. However, when the plugin is uninstalled, the “/data/INTERNAL/ir_controller” directory is deleted along with all the subfolders and files it contains.

So, IMHO the locations of factory and user IR configurations are correct and should not be changed.

in the plugin overview table of the beta thread it is mentioned what is the problem

I confirm I get a popup error when I activate the plugin, I will try to grab a screenshot

I tried several times to reproduce the popup with the error message, without success.

I can confirm that the plugin works out-of-the-box on the latest beta image with kernel 6.6, no need to release a new version.

1 Like

I also tried it with the latest img v3.771, 6.6 kernel.
also comment out dtoverlay=gpio-ir,gpio_pin=25 in userconfig.txt
problem is gone all is well now.
raspberry Pi5, 4 GB

3 Likes

Good evening all.
being brand new to this forum my first question here - sorry for digging out this quite old thread- but I think it is the right place.
I have scanned this thread, found multiple exploring points which I all have double checked - but my IR-remote (Apple A1294) won’t work with volumio.

I’ve installed (twice) the plugin, played around with all of the “active-High/Low” as well as all Pull-Up/Down-Setting - unfortunately without any success.

I’ve also tried two different GPIO-pins (25 first, then 23) - nothing helps.
The IR sensor has a LED which flickers on every click on any button on the IR-Remote, so sender and receiver are hopefully OK.

I’ve tried first at pin 25 all of the above settings (complete permutation) without any success.
Tried “mode2 -d /dev/lirc0” in terminal to check if signals are detected - yes, there is a lot of stuff detected.
Switched to pin 23 - above command doesn’t show signals - changing GPIO pin in plugin-configuration - signals showed up again

So the communication and detection - from my understanding - is working - but still nothing happens.

Have checked the plugin files on the raspi and there is a lirc config at the default location.
Had a look in this file (Apple A1294) but cannot interpret the settings - hex-coded numbers which doesn’t appear in the above mentioned signal check with “mode2 -d /dev/lirc0”
(Running Volumio 3.785, from Dec, 16. on a Raspi Pi 4B, IR Remote Controller V 3.4.13).

Any idea from your side what I can do?
Thanks a LOT!
Warmest regards,
Ralf

It just came to my mind that it is may useful/helpful to show the detected signals.

“mode2 -d /dev/lirc0” shows for example:

                      /\_ \                        __
         __  __    ___\//\ \    __  __    ___ ___ /\_\    ___
        /\ \/\ \  / __`\\ \ \  /\ \/\ \ /' __` __`\/\ \  / __`\
        \ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
         \ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
          \/__/   \/___/ \/____/ \/___/  \/_/\/_/\/_/\/_/\/___/

             Free Audiophile Linux Music Player - Version 3.0

          © 2015-2021 Michelangelo Guarise - Volumio Team - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Raspberry Pi (6.6.62-v7l+ armv7l)
Last login: Thu Feb 13 22:03:21 2025 from 17X.xx.yy.zz
volumio@volumio:~$ mode2 -d /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
pulse 9103
space 4437
pulse 567
space 554
pulse 594
space 1631
pulse 593
space 1631
pulse 597
space 1629
pulse 571
space 549
pulse 576
space 1650
pulse 594
space 1630
pulse 594
space 1630
pulse 597
space 1628
pulse 597
space 1631
pulse 592
space 1628
pulse 596
space 529
pulse 593
space 526
pulse 598
space 524
pulse 595
space 527
pulse 593
space 1631
pulse 595
space 1629
pulse 596
space 1628
pulse 572
space 1653
pulse 597
space 525
pulse 597
space 524
pulse 598

regards,
Ralf

Did you already try if the “Apple Remote A1294 Alternative” profile works for your remote control?

forgot to mention this, yes I’ve tried the “Alternative” as well.