Hi Guys,
I hope someone can help I've been struggling to get my IR remote to work in Kodi the ir receiver is connected to GPIO 18 and the dt overlay entry is added to my config.
I was able to record the remote and have put the resulting lircd.conf into /storage/.config/lircd.conf
The only issue I have is kodi and irw aren't reacting to it also the lircd process is using 100% CPU
347 root 20 0 3264 1864 1688 R 100.0 0.2 4:13.84 lircd
When running lirc manually it complains about a missing file "options.conf" in /etc/lirc/
Any help appreciated.
That's my lircd file
# Please take the time to finish this file as described in
# https://sourceforge.net/p/lirc-remotes/wiki/Checklist/
# and make it available to others by sending it to
# <[email protected]>
#
# This config file was automatically generated
# using lirc-0.9.4(default) on Sat Nov 19 01:13:23 2016
# Command line used: /storage/.config/lircd.conf
# Kernel version (uname -r): 4.8.4
#
# Remote name (as of config file): rest
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
# usb dongle? :
# For bundled USB devices: usb vendor id, product id
# and device string (use dmesg or lsusb):
# Type of device controlled
# (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:
begin remote
name remote
bits 32
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8996 4433
one 622 1623
zero 622 493
ptrail 622
repeat 8998 2187
gap 107545
toggle_bit_mask 0x0
frequency 38000
begin codes
KEY_EXIT 0x01FECB34 0x00000000
KEY_GREEN 0x01FE47B8 0x00000000
KEY_LEFT 0x01FE43BC 0x00000000
KEY_LIST 0x01FEAB54 0x00000000
KEY_MENU 0x01FE6D92 0x00000000
KEY_MUTE 0x01FE8D72 0x00000000
KEY_OK 0x01FEC33C 0x00000000
KEY_POWER 0x01FE4DB2 0x00000000
KEY_RED 0x01FE8778 0x00000000
KEY_SUBTITLE 0x01FECD32 0x00000000
KEY_TEXT 0x01FE8B74 0x00000000
KEY_UP 0x01FE837C 0x00000000
KEY_VOLUMEDOWN 0x01FEEB14 0x00000000
KEY_VOLUMEUP 0x01FE2BD4 0x00000000
KEY_YELLOW 0x01FEC738 0x00000000
KEY_AUDIO 0x01FE8F70 0x00000000
KEY_INFO 0x01FE9D62 0x00000000
KEY_RECORD 0x01FE1BE4 0x00000000
KEY_ZOOM 0x01FEAD52 0x00000000
end codes
end remote
Display More
cat /proc/bus/input/devices
cat /proc/bus/input/devicesI: Bus=0000 Vendor=0000 Product=0000 Version=0000N: Name="lircd"P: Phys=S: Sysfs=/devices/virtual/input/input0U: Uniq=H: Handlers=sysrq kbd event0 B: PROP=0B: EV=100003B: KEY=3ffff 7fe001f ffff000f 7ffffff ffffffff ffffffff 0 0 0 ffffff ffffff07 ffffffff ffffffff ffffffff ffefffff ffffffff fffffffe
dmesg | grep -e lirc -e LIRC[ 10.467591] lirc_dev: IR Remote Control driver registered, major 244[ 10.512428] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.[ 11.465045] lirc_rpi: auto-detected active low receiver on GPIO pin 18[ 11.465224] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0[ 11.465228] lirc_rpi: driver registered![ 11.930368] input: lircd as /devices/virtual/input/input0