Im still trying to get the remote working. If i try my files manually everything works as expected but when starting kodi the remote does nothing.
When i start the raspberry and stop kodi and eventlircd and run ir-keytable -t the remote is working.
I dont find any switch inside kodi to enable eventlircd. Do i need something to add here? Any hint what i am missing?
when i stop kodi and eventlircd and run ir-keytable it tells me:
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver gpio-rc-recv, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc rc-5
Name: gpio_ir_recv
bus: 25, vendor/product: 0001:0001, version: 0x0100
Repeat delay = 500 ms, repeat period = 125 ms
rc_keymaps file (location /storage/.config/rc_keymaps/jans)
Quote:# table jans, type: rc-5
0x0210 KEY_UP
0x0211 KEY_DOWN
0x0215 KEY_LEFT
0x0216 KEY_RIGHT
0x0217 KEY_OK
0x1222 KEY_EXIT
0x020F KEY_INFO
0x022B KEY_RED
0x022C KEY_GREEN
0x022D KEY_YELLOW
0x022E KEY_BLUE
0x1237 KEY_RECORD
0x022D KEY_PAUSE
0x022C KEY_STOP
0x122F KEY_EPG
0x0212 KEY_MENU
0x1201 KEY_1
0x1202 KEY_2
0x1203 KEY_3
0x1204 KEY_4
0x1205 KEY_5
0x1206 KEY_6
0x1207 KEY_7
0x1208 KEY_8
0x1209 KEY_9
0x1200 KEY_0
rc_maps.conf
Quote:# For example:
#
# driver table file
#
# gpio-rc-recv rc-streamzap streamzap
# gpio-rc-recv * justboom
# * rc-rc6-mce rc6_mce_new
# * * hauppauge_new
* * jans
Dmesg-Output:
Quote:[ 4.853828] Console: switching to colour dummy device 80x30
[ 4.952864] rc_core: loading out-of-tree module taints kernel.
[ 4.954031] WARNING: You are using an experimental version of the media stack.
[ 4.954031] As the driver is backported to an older kernel, it doesn't offer
[ 4.954031] enough quality for its usage in production.
[ 4.954031] Use it with care.
[ 4.954031] Latest git patches (needed if you report a bug to linux-media@Vger.kernel.org):
[ 4.954031] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[ 5.026396] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 5.081558] Registered IR keymap rc-rc6-mce
[ 5.082194] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input2
[ 5.082550] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[ 5.144454] lirc_dev: IR Remote Control driver registered, major 243
[ 5.185676] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
[ 5.185691] IR LIRC bridge handler initialized
[ 5.315766] IR RC6 protocol handler initialized
[ 5.427444] IR RC5(x/sz) protocol handler initialized
config.txt
Quote:################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################
# decode_MPG2=0x00000000
# decode_WVC1=0x00000000
# decode_DTS=0x00000000
# decode_DDP=0x00000000
dtoverlay=gpio-ir