I have installed raspberian including lirc. This version had many issues on the licr 0.9.0 so now I have installed lirc 0.9.3a. That did change something. Now I was able to use mode2 (receive IR) and I saw it on screen.
I have NO problem restarting (reinstalling server) and follow a guide that would work, please help (Obi-Wan Kenobi you are my only hope)
Here are some facts!
When I run "lircd" it outputs this:
Code: Select all
lircd: can't open or create /var/run/lirc/lircd.pid
lircd: No such file or directory
Code: Select all
do_connect: could not connect to socket
connect: No such file or directory
irsend: could not open socket: No such file or directory
"dmesg | grep lirc" outputs this
Code: Select all
[3.675699] lirc_dev: IR Remote Control driver registered, major 245
[4.585786] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[5.545997] lirc_rpi: auto-detected active low receiver on GPIO pin 18
[5.546357] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[5.546371] lirc_rpi: driver registered!
Code: Select all
Using device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root. (red. yeah I know.........)
Code: Select all
i2c-dev
lirc_dev
lirc_rpi gpio_in_pin=18 gpio_out_pin=17
Code: Select all
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#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="lirc_rpi"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
Code: Select all
dtoverlay=lirc-rpi,gpio_in_pin=18,gpio_out_pin=17
Code: Select all
Linux raspberrypi 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux
my /etc/lircd.conf looks like this
Code: Select all
# 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 Fri Jan 15 01:37:58 2016
#
# contributed by
#
# brand: /root/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
#name /root/lircd.conf
name denon
bits 24
flags SPACE_ENC
eps 30
aeps 100
header 3389 1715
one 390 1293
zero 390 451
ptrail 390
pre_data_bits 24
pre_data 0x2A4C0A
gap 74623
min_repeat 5
# suppress_repeat 5
# uncomment to suppress unwanted repeats
toggle_bit_mask 0xC000C
begin codes
KEY_POWER 0x8C0284
KEY_VOLUMEUP 0x82028A
KEY_VOLUMEUP 0x82028A
end codes
end remote