Hello,
I follow many instructions but i don't know why it's not working.
When i press "irw "and any key, nothing shows up
I have a IR receiver on a B+ rasp: GPIO 18 , 3,3V and GND
# systemctl status lircd.service
[root@runeaudio ~]
* lircd.service - LIRC Infrared Signal Decoder
Loaded: loaded (/usr/lib/systemd/system/lircd.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2015-05-15 00:31:48 CEST; 16min ago
Main PID: 1224 (lircd)
CGroup: /system.slice/lircd.service
`-1224 /usr/sbin/lircd --nodaemon
# vim /etc/modules-load.d/raspberrypi.conf
[root@runeaudio ~]
bcm2708-rng
snd-bcm2835
lirc_dev
lirc_rpi gpio_in_pin=18 gpio_out_pin=17
# vim /etc/conf.d/lircd.conf
[root@runeaudio ~]
LIRCD_ARGS="--uinput"
DRIVER="mceusb"
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
# dmesg | grep lirc
[root@runeaudio ~]
[ 6.438771] lirc_dev: IR Remote Control driver registered, major 248
[ 6.438927] systemd-modules-load[74]: Inserted module 'lirc_dev'
[ 6.439396] systemd-modules-load[74]: Failed to find module 'lirc_rpi gpio_in_pin=18'
[ 795.834083] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 796.797089] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[ 796.797508] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
[ 796.797530] lirc_rpi: driver registered!
# ps -A | grep lirc
[root@runeaudio ~]
697 ? 00:00:00 lircd
# irsend LIST "" ""
[root@runeaudio ~]
MCL_RemoteController
# irsend LIST MCL_RemoteController ""
[root@runeaudio ~]
00000000000018e7 KEY_SETUP
00000000000030cf KEY_CANCEL
000000000000a857 off
00000000000038c7 KEY_POWER
0000000000008877 flash
000000000000f00f strobe
000000000000c837 fade
00000000000008f7 smooth
000000000000807f KEY_RED
00000000000040bf KEY_GREEN
000000000000c03f KEY_BLUE
0000000000009867 white
00000000000020df red1
000000000000e01f red2
00000000000050af orange
000000000000b04f KEY_YELLOW
000000000000a05f green1
00000000000010ef blue1
000000000000d02f blue2
000000000000708f blue3
000000000000609f blue4
000000000000906f purple1
000000000000e817 purple2
000000000000b847 purple3
000000000000f807 KEY_POWER
000000000000d827 KEY_POWER
0000000000007887 KEY_POWER
00000000000058a7 KEY_POWER
Thanks for helping me on that !
PS: If i do "mode2 -d /dev/lirc0" then press a key on my remote, i see many lines like this:
pulse 620
space 514
pulse 619
space 520
pulse 608
space 1615
pulse 626
space 511
pulse 622
space 1611
pulse 625
space 1613
pulse 620
space 508
pulse 623
space 513
pulse 679
space 451
pulse 619
space 511
pulse 623
space 507
pulse 665
space 1573
pulse 626
space 1611
pulse 624
space 507
pulse 624
space 1617
pulse 624
space 1609
pulse 629
space 500
pulse 629
space 506
pulse 624
space 1616
pulse 627
space 39081
pulse 9044
space 2193
pulse 624