Using an IR Remote with Volumio

i got past that error by editing config.txt

nano /boot/config.txt

at the end of the file add the following line

dtoverlay=lirc-rpi

i dont konow if its required but i chose to reboot as well after this by running

reboot

the previous commands were entered using a root console
so if the comands dont work you need to add

sudo before each command
source https://github.com/OpenELEC/OpenELEC.tv/issues/3908