Hello everyone,
i am stuck with configuring IR remote (from Microlab Pro 3) can't get it work. Here is there full story - what was done:
1. Added - "dtoverlay=lirc-rpi,gpio_in_pin=25" to config.txt (as i use iqaudio pi-dac+ which is mapped IR pin to 25)
2. dmesg | grep lirc
[ 3.576349] lirc_dev: IR Remote Control driver registered, major 244
[ 3.620614] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.551568] lirc_rpi: auto-detected active low receiver on GPIO pin 25
[ 4.551766] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 4.551769] lirc_rpi: driver registered!
[ 4.775897] input: lircd-uinput as /devices/virtual/input/input2
[ 4.899723] input: eventlircd as /devices/virtual/input/input3
3. killall lircd
4. mode2 -d /dev/lirc0
Warning: cannot open /etc/lirc/lirc_options.conf
Warning: cannot open /etc/lirc/lirc_options.conf
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root.
space 8083181
pulse 8980
space 4536
pulse 624
space 555
pulse 620
space 550
pulse 619
space 557
pulse 621
space 560
pulse 618
space 559
pulse 620
space 557
pulse 621
space 556
pulse 623
space 558
pulse 621
space 1669
pulse 627
space 1665
pulse 622
space 1667
pulse 624
space 1672
pulse 620
space 1676
pulse 620
space 1670
pulse 622
space 1663
pulse 628
space 1668
pulse 619
space 1671
pulse 631
space 547
pulse 626
space 551
pulse 638
space 547
pulse 621
space 1667
pulse 620
space 558
pulse 620
space 555
pulse 623
space 557
pulse 632
space 545
pulse 624
space 1673
pulse 614
space 1679
pulse 617
space 1669
pulse 627
space 551
pulse 597
space 1693
pulse 624
space 1666
pulse 625
space 1671
pulse 621
space 39930
pulse 9004
space 2256
pulse 626
^C
Display More
So IR - receiver works fine.
5. Tried this: ir-keytable -p LIRC from guide: Guide To lirc rpi GPIO Receiver - LibreELEC
So just skipped.
6. irrecord /storage/.config/lircd.conf
Created for me ml3.lircd.conf so i have just copied and renamed it to lircd.conf
begin remote
name ml3
bits 32
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9017 4487
one 579 1666
zero 579 550
ptrail 584
repeat 9020 2234
gap 108065
toggle_bit_mask 0x0
frequency 38000
begin codes
KEY_MUTE 0x00FF00FF 0x00000000
KEY_VOLUMEUP 0x00FF8877 0x00000000
KEY_VOLUMEDOWN 0x00FF08F7 0x00000000
end codes
end remote
Display More
7. Reboot, and that's it - configured buttons do not work, irw - shows nothing.
8. Tried Added/Created Lircmap.xml added to ~/.kodi/userdata
<lircmap>
<remote device="ml3">
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<mute>KEY_MUTE</mute>
</remote>
</lircmap>
No help.
Almost forgot:
RP3 (IR - Infrared Receiver (TSOP38238)), LE:8.0.2 (Kernel 4.9.29), Build: Kodi 17.3, Git 147cec4, (25.05.2017)
Will be appreciated for any help.