11-30-2018, 10:54 AM
Here are the contents of the four files from the moode 4.3 image I downloaded and is working on my system.
lircrc
#
# Initial test configuration for systemwide irexec service.
#
# Note that the system-wide service is useful only in corner-cases.
# Most scenarios are better off with a session service as described in the
# Configuration Guide. However, note that both can also be combined.
#
# Also note that the system-wide service runs without a terminal. To
# check the output generated use something like
# 'journalctl -b0 /usr/bin/irexec'. This service just echoes some keys
# commonly available.
#
begin
prog = irexec
button = KEY_ENTER
config = /usr/bin/mpc stop
end
begin
prog = irexec
button = KEY_UP
#config = /usr/bin/mpc vol + 1
config = /var/www/vol.sh up 2
delay = 2
repeat = 3
end
begin
prog = irexec
button = KEY_DOWN
#config = /usr/bin/mpc vol - 1
config = /var/www/vol.sh dn 2
delay = 2
repeat = 3
end
begin
prog = irexec
button = KEY_RIGHT
config = /usr/bin/mpc next
end
begin
prog = irexec
button = KEY_LEFT
config = /usr/bin/mpc previous
end
begin
prog = irexec
button = KEY_MENU
config = sudo /home/pi/spdif.sh
end
begin
prog = irexec
button = KEY_PLAY
config = /usr/bin/mpc toggle
delay = 2
repeat = 3
end
lircmd.conf
# Populated config files can be http://sf.net/p/lirc-remotes. The
# irdb-get(1) and lirc-setup(1) tools can be used to search and download
# config files.
lircd.conf
lircd.conf
# Please make this file available to others by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated using lirc-0.9.0-pre1(default) on Wed Aug 1 17:52:02 2018
#
# contributed by
#
# brand: /home/volumio/lircd_cheap.conf model no. of remote control: devices being controlled by this remote:
#
begin remote
name RaspdacMini
bits 8
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9047 4480
one 603 1664
zero 603 531
ptrail 603
repeat 9047 2226
pre_data_bits 16
pre_data 0x77E1
post_data_bits 8
post_data 0x55
gap 108227
toggle_bit_mask 0x0
begin codes
KEY_LEFT 0x10
KEY_RIGHT 0xE0
KEY_UP 0xD0
KEY_DOWN 0xB0
KEY_ENTER 0xBA 0x20
KEY_MENU 0x40
KEY_PLAY 0x7A 0x20
end codes
end remote
lirc_options.conf
# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.
[lircd]
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/arm-linux-gnueabihf/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#uinput = ...
#release = ...
#logfile = ...
[lircmd]
uinput = True
nodaemon = False
# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...
# [lircd-uinput]
# release-timeout = 200
lircrc
#
# Initial test configuration for systemwide irexec service.
#
# Note that the system-wide service is useful only in corner-cases.
# Most scenarios are better off with a session service as described in the
# Configuration Guide. However, note that both can also be combined.
#
# Also note that the system-wide service runs without a terminal. To
# check the output generated use something like
# 'journalctl -b0 /usr/bin/irexec'. This service just echoes some keys
# commonly available.
#
begin
prog = irexec
button = KEY_ENTER
config = /usr/bin/mpc stop
end
begin
prog = irexec
button = KEY_UP
#config = /usr/bin/mpc vol + 1
config = /var/www/vol.sh up 2
delay = 2
repeat = 3
end
begin
prog = irexec
button = KEY_DOWN
#config = /usr/bin/mpc vol - 1
config = /var/www/vol.sh dn 2
delay = 2
repeat = 3
end
begin
prog = irexec
button = KEY_RIGHT
config = /usr/bin/mpc next
end
begin
prog = irexec
button = KEY_LEFT
config = /usr/bin/mpc previous
end
begin
prog = irexec
button = KEY_MENU
config = sudo /home/pi/spdif.sh
end
begin
prog = irexec
button = KEY_PLAY
config = /usr/bin/mpc toggle
delay = 2
repeat = 3
end
lircmd.conf
# Populated config files can be http://sf.net/p/lirc-remotes. The
# irdb-get(1) and lirc-setup(1) tools can be used to search and download
# config files.
lircd.conf
lircd.conf
# Please make this file available to others by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated using lirc-0.9.0-pre1(default) on Wed Aug 1 17:52:02 2018
#
# contributed by
#
# brand: /home/volumio/lircd_cheap.conf model no. of remote control: devices being controlled by this remote:
#
begin remote
name RaspdacMini
bits 8
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9047 4480
one 603 1664
zero 603 531
ptrail 603
repeat 9047 2226
pre_data_bits 16
pre_data 0x77E1
post_data_bits 8
post_data 0x55
gap 108227
toggle_bit_mask 0x0
begin codes
KEY_LEFT 0x10
KEY_RIGHT 0xE0
KEY_UP 0xD0
KEY_DOWN 0xB0
KEY_ENTER 0xBA 0x20
KEY_MENU 0x40
KEY_PLAY 0x7A 0x20
end codes
end remote
lirc_options.conf
# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.
[lircd]
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/arm-linux-gnueabihf/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#uinput = ...
#release = ...
#logfile = ...
[lircmd]
uinput = True
nodaemon = False
# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...
# [lircd-uinput]
# release-timeout = 200