Hello there !
I configured my RPI2 box with PIFI DAC to use lirc and a custom remote.
All the configuration has been completed and verified with irw.
The remote key are recognized well, but when using the remote nothing happens…it’s really wierd and I don’t know how to figure it out.
Here is my configuration:
Volumio Version 2.729
/boot/userconfig.txt
# Add your custom config.txt options to this file, which will be preserved during updates
dtoverlay=gpio-ir,gpio_pin=26
/etc/lirc/hardware.conf
[code]# /etc/lirc/hardware.conf
Arguments which will be used when launching lircd
LIRCD_ARGS="–uinput"
#Don’t start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don’t start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
Run “lircd --driver=help” for a list of supported drivers.
DRIVER=“default”
usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES=“gpio_ir_recv”
Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""[/code]
/etc/lirc/lircd.conf
[code]# Please make this file available to others
this config file was automatically generated
using lirc-0.9.0-pre1(default) on Tue Mar 24 09:13:51 2020
contributed by
brand: LG
model no. of remote control: MKJ37815701
devices being controlled by this remote:
begin remote
name MKJ37815701
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
one 522 1704
zero 522 587
ptrail 522
repeat 8892 2283
pre_data_bits 16
pre_data 0x20DF
gap 107349
toggle_bit_mask 0x0
begin codes
KEY_UP 0x00FF
KEY_DOWN 0x807F
KEY_LEFT 0xC03F
KEY_RIGHT 0x40BF
KEY_ENTER 0x22DD
KEY_POWER 0x10EF
KEY_RED 0x4EB1
KEY_GREEN 0x8E71
KEY_YELLOW 0xC639
KEY_BLU 0x8679
KEY_MENU 0xC23D
KEY_SLEEP 0x708F
KEY_MUTE 0x906F
end codes
end remote
[/code]
/home/volumio/lircrc /etc/lirc/lircrc
begin
prog = irexec
button = KEY_MENU
config = mpc toggle
end
begin
prog = irexec
button = KEY_RIGHT
config = /usr/local/bin/volumio next
end
begin
prog = irexec
button = KEY_LEFT
config = /usr/local/bin/volumio previous
end
begin
prog = irexec
button = KEY_UP
config = /usr/local/bin/volumio volume plus
end
begin
prog = irexec
button = KEY_DOWN
config = /usr/local/bin/volumio volume minus
end
begin
prog = irexec
button = KEY_RED
config = /usr/local/bin/volumio seek minus
end
begin
prog = irexec
button = KEY_OK
config = /usr/local/bin/volumio toggle
end
begin
prog = irexec
button = KEY_MUTE
config = /usr/local/bin/volumio stop
end
begin
prog = irexec
button = KEY_YELLOW
config = /usr/local/bin/volumio random
end
begin
prog = irexec
button = KEY_GREEN
config = /usr/local/bin/volumio repeat
end
begin
prog = irexec
button = KEY_BLU
config = /usr/local/bin/volumio seek plus
end
Any help is well appreciated!!
PS:
I didn’t install the plugin IR Remote because I read an old thread that said there where incompatibilities with non supported remotes.
I simply installed manually lirc.
Might be that the problem?