11-29-2018, 11:13 PM
(This post was last modified: 11-30-2018, 01:13 AM by rikardo1979.)
@kit1cat
Strange what is happening in yours. I have double check all the files from the lirc.zip I have uploaded and these are modified files which should goes into your system and replace the original one
Here is how the content of the files looks like
lircd.conf
lircmd.conf
lirc_options.conf
lircrc
Any chance you have mixed up those files?
Strange what is happening in yours. I have double check all the files from the lirc.zip I have uploaded and these are modified files which should goes into your system and replace the original one
Here is how the content of the files looks like
lircd.conf
Code:
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
lircmd.conf
Code:
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
lirc_options.conf
Code:
# 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
Code:
begin
prog = irexec
button = KEY_ENTER
config = /usr/bin/mpc stop
end
begin
prog = irexec
button = KEY_UP
config = /usr/bin/mpc volume + 1
delay = 2
repeat = 3
end
begin
prog = irexec
button = KEY_DOWN
config = /usr/bin/mpc volume - 1
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
Any chance you have mixed up those files?
<marquee behavior="alternate" scrolldelay=150
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>