Kodi Community Forum
v17 [solved] MCE Remote with Lubuntu 16.04 [systemd] and Kodi 17.5 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: v17 [solved] MCE Remote with Lubuntu 16.04 [systemd] and Kodi 17.5 (/showthread.php?tid=323289)

Pages: 1 2


[solved] MCE Remote with Lubuntu 16.04 [systemd] and Kodi 17.5 - mcerem - 2017-10-30

Hello userexperts,

i want to use my MCE ir-remote with Kodi 17.5.

http://kodi.wiki/view/Add-on:MCERemote

With how-to will not work with Lubuntu 16.04.
I don t find the add-on MCERemote.

Now i will use ir-keytable.

Where can i find a working keytable for my mce ir-remote?
My Lubuntu 16.04 Kernel is 4.4.0-97-generic.

http://kodi.wiki/view/HOW-TO:Set_up_an_MCE_remote_control_in_Linux

Code:
ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event10) with:
       Driver cx88xx, table rc-tevii-nec
       Supported protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
       Enabled protocols: lirc
       Extra capabilities: <access denied>

My SMK MS MCE RC6 Code use the rc-6 protocol.

Old Thread:

https://forum.kodi.tv/showthread.php?tid=114124

The follow solution will not work:

https://forum.kodi.tv/showthread.php?tid=114124&page=4

https://forum.kodi.tv/showthread.php?tid=104541

mcerem


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-30

First problem, Ok and ENTER will not work with my ir-remote.
ENTER works with my keyboard.

My Keytable:

Quote:sudo ir-keytable -r
scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)
scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)
scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)
scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)
scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)
scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)
scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)
scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)
scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)
scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)
scancode 0x800f040a = KEY_DELETE (0x6f)
scancode 0x800f040b = KEY_ENTER (0x1c)
scancode 0x800f040c = KEY_SLEEP (0x8e)
scancode 0x800f040d = KEY_MEDIA (0xe2)
scancode 0x800f040e = KEY_MUTE (0x71)
scancode 0x800f040f = KEY_I (0x17)
scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f0412 = KEY_CHANNELUP (0x192)
scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f0415 = KEY_REWIND (0xa8)
scancode 0x800f0416 = KEY_PLAY (0xcf)
scancode 0x800f0417 = KEY_RECORD (0xa7)
scancode 0x800f0418 = KEY_PAUSE (0x77)
scancode 0x800f0419 = KEY_STOP (0x80)
scancode 0x800f041a = KEY_NEXT (0x197)
scancode 0x800f041b = KEY_PREVIOUS (0x19c)
scancode 0x800f041c = KEY_NUMERIC_POUND (0x20b)
scancode 0x800f041d = KEY_NUMERIC_STAR (0x20a)
scancode 0x800f041e = KEY_UP (0x67)
scancode 0x800f041f = KEY_DOWN (0x6c)
scancode 0x800f0420 = KEY_LEFT (0x69)
scancode 0x800f0421 = KEY_RIGHT (0x6a)
scancode 0x800f0422 = KEY_ENTER (0x1c)
scancode 0x800f0423 = KEY_EXIT (0xae)
scancode 0x800f0424 = KEY_DVD (0x185)
scancode 0x800f0425 = KEY_TUNER (0x182)
scancode 0x800f0426 = KEY_EPG (0x16d)
scancode 0x800f0427 = KEY_ZOOM (0x174)
scancode 0x800f0432 = KEY_MODE (0x175)
scancode 0x800f0433 = KEY_PRESENTATION (0x1a9)
scancode 0x800f0434 = KEY_EJECTCD (0xa1)
scancode 0x800f043a = KEY_BRIGHTNESSUP (0xe1)
scancode 0x800f0446 = KEY_TV (0x179)
scancode 0x800f0447 = KEY_AUDIO (0x188)
scancode 0x800f0448 = KEY_PVR (0x16e)
scancode 0x800f0449 = KEY_CAMERA (0xd4)
scancode 0x800f044a = KEY_VIDEO (0x189)
scancode 0x800f044c = KEY_LANGUAGE (0x170)
scancode 0x800f044d = KEY_TITLE (0x171)
scancode 0x800f044e = KEY_PRINT (0xd2)
scancode 0x800f0450 = KEY_RADIO (0x181)
scancode 0x800f045a = KEY_SUBTITLE (0x172)
scancode 0x800f045b = KEY_RED (0x18e)
scancode 0x800f045c = KEY_GREEN (0x18f)
scancode 0x800f045d = KEY_YELLOW (0x190)
scancode 0x800f045e = KEY_BLUE (0x191)
scancode 0x800f0465 = KEY_POWER2 (0x164)
scancode 0x800f046e = KEY_PLAYPAUSE (0xa4)
scancode 0x800f046f = KEY_PLAYER (0x183)
scancode 0x800f0480 = KEY_BRIGHTNESSDOWN (0xe0)
scancode 0x800f0481 = KEY_PLAYPAUSE (0xa4)
Enabled protocols: lirc rc-6



RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-31

Now i am testing a new kernel.
Code:
uname -r
4.4.0-98-generic
ir-keytable
Code:
sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event10) with:
       Driver cx88xx, table rc-tevii-nec
       Supported protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
       Enabled protocols: lirc rc-6
       Name: cx88 IR (TeVii S464 DVB-S/S2)
       bus: 1, vendor/product: d464:9022, version: 0x0001
       Repeat delay = 500 ms, repeat period = 125 ms

My own rc6_mce_smk

Code:
cat /etc/rc_keymaps/rc6_mce_smk
# table rc6_mce, type: RC-6
0x800f0400 KEY_NUMERIC_0
0x800f0401 KEY_NUMERIC_1
0x800f0402 KEY_NUMERIC_2
0x800f0403 KEY_NUMERIC_3
0x800f0404 KEY_NUMERIC_4
0x800f0405 KEY_NUMERIC_5
0x800f0406 KEY_NUMERIC_6
0x800f0407 KEY_NUMERIC_7
0x800f0408 KEY_NUMERIC_8
0x800f0409 KEY_NUMERIC_9
0x800f040a KEY_DELETE
0x800f040b KEY_ENTER       # no change, default
0x800f040c KEY_SLEEP
0x800f040d KEY_MEDIA
0x800f040e KEY_MUTE
0x800f040f KEY_I           # KEY_INFO
0x800f0410 KEY_VOLUMEUP
0x800f0411 KEY_VOLUMEDOWN
0x800f0412 KEY_CHANNELUP
0x800f0413 KEY_CHANNELDOWN
0x800f0414 KEY_FASTFORWARD
0x800f0415 KEY_REWIND
0x800f0416 KEY_PLAY
0x800f0417 KEY_RECORD
0x800f0418 KEY_PAUSE
0x800f0419 KEY_STOP
0x800f041a KEY_NEXT
0x800f041b KEY_PREVIOUS
0x800f041c KEY_NUMERIC_POUND
0x800f041d KEY_NUMERIC_STAR
0x800f041e KEY_UP
0x800f041f KEY_DOWN
0x800f0420 KEY_LEFT
0x800f0421 KEY_RIGHT
0x800f0422 KEY_ENTER  # KEY_OK
0x800f0423 KEY_EXIT
0x800f0424 KEY_DVD
0x800f0425 KEY_TUNER
0x800f0426 KEY_EPG
0x800f0427 KEY_ZOOM
0x800f0432 KEY_MODE
0x800f0433 KEY_PRESENTATION
0x800f0434 KEY_EJECTCD
0x800f043a KEY_BRIGHTNESSUP
0x800f0446 KEY_TV
0x800f0447 KEY_AUDIO
0x800f0448 KEY_PVR
0x800f0449 KEY_CAMERA
0x800f044a KEY_VIDEO
0x800f044c KEY_LANGUAGE
0x800f044d KEY_TITLE
0x800f044e KEY_PRINT
0x800f0450 KEY_RADIO
0x800f045a KEY_SUBTITLE
0x800f045b KEY_RED
0x800f045c KEY_GREEN
0x800f045d KEY_YELLOW
0x800f045e KEY_BLUE
0x800f0465 KEY_POWER2
0x800f046e KEY_PLAYPAUSE
0x800f046f KEY_PLAYER
0x800f0480 KEY_BRIGHTNESSDOWN
0x800f0481 KEY_PLAYPAUSE

Info sudo ir-keytable:
Code:
sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event10) with:
       Driver cx88xx, table rc-tevii-nec
       Supported protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
       Enabled protocols: lirc rc-6
       Name: cx88 IR (TeVii S464 DVB-S/S2)
       bus: 1, vendor/product: d464:9022, version: 0x0001
       Repeat delay = 500 ms, repeat period = 125 ms
mecrem@pc:~$ sudo ir-keytable -c -p  rc-6 -w /etc/rc_keymaps/rc6_mce_smk
Read rc6_mce table
Old keytable cleared
Wrote 63 keycode(s) to driver
Protocols changed to rc-6
My loaded keytable
Code:
sudo ir-keytable -r
scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)
scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)
scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)
scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)
scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)
scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)
scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)
scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)
scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)
scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)
scancode 0x800f040a = KEY_DELETE (0x6f)
scancode 0x800f040b = KEY_ENTER (0x1c)
scancode 0x800f040c = KEY_SLEEP (0x8e)
scancode 0x800f040d = KEY_MEDIA (0xe2)
scancode 0x800f040e = KEY_MUTE (0x71)
scancode 0x800f040f = KEY_I (0x17)
scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f0412 = KEY_CHANNELUP (0x192)
scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f0415 = KEY_REWIND (0xa8)
scancode 0x800f0416 = KEY_PLAY (0xcf)
scancode 0x800f0417 = KEY_RECORD (0xa7)
scancode 0x800f0418 = KEY_PAUSE (0x77)
scancode 0x800f0419 = KEY_STOP (0x80)
scancode 0x800f041a = KEY_NEXT (0x197)
scancode 0x800f041b = KEY_PREVIOUS (0x19c)
scancode 0x800f041c = KEY_NUMERIC_POUND (0x20b)
scancode 0x800f041d = KEY_NUMERIC_STAR (0x20a)
scancode 0x800f041e = KEY_UP (0x67)
scancode 0x800f041f = KEY_DOWN (0x6c)
scancode 0x800f0420 = KEY_LEFT (0x69)
scancode 0x800f0421 = KEY_RIGHT (0x6a)
scancode 0x800f0422 = KEY_ENTER (0x1c)
scancode 0x800f0423 = KEY_EXIT (0xae)
scancode 0x800f0424 = KEY_DVD (0x185)
scancode 0x800f0425 = KEY_TUNER (0x182)
scancode 0x800f0426 = KEY_EPG (0x16d)
scancode 0x800f0427 = KEY_ZOOM (0x174)
scancode 0x800f0432 = KEY_MODE (0x175)
scancode 0x800f0433 = KEY_PRESENTATION (0x1a9)
scancode 0x800f0434 = KEY_EJECTCD (0xa1)
scancode 0x800f043a = KEY_BRIGHTNESSUP (0xe1)
scancode 0x800f0446 = KEY_TV (0x179)
scancode 0x800f0447 = KEY_AUDIO (0x188)
scancode 0x800f0448 = KEY_PVR (0x16e)
scancode 0x800f0449 = KEY_CAMERA (0xd4)
scancode 0x800f044a = KEY_VIDEO (0x189)
scancode 0x800f044c = KEY_LANGUAGE (0x170)
scancode 0x800f044d = KEY_TITLE (0x171)
scancode 0x800f044e = KEY_PRINT (0xd2)
scancode 0x800f0450 = KEY_RADIO (0x181)
scancode 0x800f045a = KEY_SUBTITLE (0x172)
scancode 0x800f045b = KEY_RED (0x18e)
scancode 0x800f045c = KEY_GREEN (0x18f)
scancode 0x800f045d = KEY_YELLOW (0x190)
scancode 0x800f045e = KEY_BLUE (0x191)
scancode 0x800f0465 = KEY_POWER2 (0x164)
scancode 0x800f046e = KEY_PLAYPAUSE (0xa4)
scancode 0x800f046f = KEY_PLAYER (0x183)
scancode 0x800f0480 = KEY_BRIGHTNESSDOWN (0xe0)
scancode 0x800f0481 = KEY_PLAYPAUSE (0xa4)
Enabled protocols: lirc rc-6
Testing Kernel with scancode:
Code:
grep -iH 0x800f0422  /lib/udev/rc_keymaps/*
/lib/udev/rc_keymaps/rc6_mce:0x800f0422 KEY_OK

Code:
grep -iH 0x800f040b  /lib/udev/rc_keymaps/*
/lib/udev/rc_keymaps/rc6_mce:0x800f040b KEY_ENTER


I don t can uso the ir-remote ok key.
Did Kodi 17.5 have a Bug?


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-31

https://forum.kodi.tv/showthread.php?tid=104541&pid=2442808#pid2442808

Quote:I found the solution!
http://www.gossamer-threads.com/lists/my...ers/576414

You need to restart the X server (restart kodi service or reboot), because it only triggers on KEYs that are mapped during the start of X.
http://www.gossamer-threads.com/lists/my...ers/576414

You also need to load your keymap with ir-keytable befor you restart X.


What did GodzillaXP mean?


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - fritsch - 2017-10-31

You checked that already: https://wiki.ubuntuusers.de/Kodi_Remote/ and basically try ir-keytable to actually test what you entered. Then make sure X server is started after that ir-keytable was started, that needs to be done on every start.


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-31

Quote:Then make sure X server is started after that ir-keytable was started, that needs to be done on every start.

Hello fritsch,

how can i check this?

All events ok, but Kodi 17.5 will not work with KEY_ENTER oder KEY_OK.


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - fritsch - 2017-10-31

(2017-10-31, 14:07)mcerem Wrote:
Quote:Then make sure X server is started after that ir-keytable was started, that needs to be done on every start.

Hello fritsch,

how can i check this?

All events ok, but Kodi 17.5 will not work with KEY_ENTER oder KEY_OK.

Basically you just have to follow the wiki for ubuntu as your issue is not related to kodi but to managing your linux installation. Try with ir-keytable -t and see what the terminal spits out when you press the key. You really get KEY_ENTER / KEY_OK on the command line?

After verifying that you actually really get this output on the terminal (no kodi involved at all), put kodi into debugging, restart it and press this key multiple times. Also verify that you exactly get this key in xev (another utility for checking input)


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-31

Hello, my test:

Kodi is not started

OK, 1, 2, 3, Eingabe


Code:
sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1509457550.068494: event type EV_MSC(0x04): scancode = 0x800f0422
1509457550.068494: event type EV_KEY(0x01) key_down: KEY_ENTER(0x001c)
1509457550.068494: event type EV_SYN(0x00).
1509457550.319419: event type EV_KEY(0x01) key_up: KEY_ENTER(0x001c)
1509457550.319419: event type EV_SYN(0x00).
1509457553.516714: event type EV_MSC(0x04): scancode = 0x800f0401
1509457553.516714: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0201)
1509457553.516714: event type EV_SYN(0x00).
1509457553.620719: event type EV_MSC(0x04): scancode = 0x800f0401
1509457553.620719: event type EV_SYN(0x00).
1509457553.871417: event type EV_KEY(0x01) key_up: KEY_NUMERIC_1(0x0201)
1509457553.871417: event type EV_SYN(0x00).
1509457554.460773: event type EV_MSC(0x04): scancode = 0x800f0402
1509457554.460773: event type EV_KEY(0x01) key_down: KEY_NUMERIC_2(0x0202)
1509457554.460773: event type EV_SYN(0x00).
1509457554.572781: event type EV_MSC(0x04): scancode = 0x800f0402
1509457554.572781: event type EV_SYN(0x00).
1509457554.823417: event type EV_KEY(0x01) key_up: KEY_NUMERIC_2(0x0202)
1509457554.823417: event type EV_SYN(0x00).
1509457556.052878: event type EV_MSC(0x04): scancode = 0x800f0403
1509457556.052878: event type EV_KEY(0x01) key_down: KEY_NUMERIC_3(0x0203)
1509457556.052878: event type EV_SYN(0x00).
1509457556.156885: event type EV_MSC(0x04): scancode = 0x800f0403
1509457556.156885: event type EV_SYN(0x00).
1509457556.407417: event type EV_KEY(0x01) key_up: KEY_NUMERIC_3(0x0203)
1509457556.407417: event type EV_SYN(0x00).
1509457561.493233: event type EV_MSC(0x04): scancode = 0x800f040b
1509457561.493233: event type EV_KEY(0x01) key_down: KEY_ENTER(0x001c)
1509457561.493233: event type EV_SYN(0x00).
1509457561.597238: event type EV_MSC(0x04): scancode = 0x800f040b
1509457561.597238: event type EV_SYN(0x00).
1509457561.847417: event type EV_KEY(0x01) key_up: KEY_ENTER(0x001c)
1509457561.847417: event type EV_SYN(0x00).

If I Kodi start and press "OK" or "Eingabe" no reaction by Kodi 17.5.

If I use 1, 2, 3 numeric no reaction even.


The follow input will work with Kodi 17.5:

Code:
1509458224.209481: event type EV_MSC(0x04): scancode = 0x800f041e
1509458224.209481: event type EV_KEY(0x01) key_down: KEY_UP(0x0067)
1509458224.209481: event type EV_SYN(0x00).
^[[A1509458224.321480: event type EV_MSC(0x04): scancode = 0x800f041e
1509458224.321480: event type EV_SYN(0x00).
1509458224.571421: event type EV_KEY(0x01) key_up: KEY_UP(0x0067)
1509458224.571421: event type EV_SYN(0x00).
1509458228.665505: event type EV_MSC(0x04): scancode = 0x800f041f
1509458228.665505: event type EV_KEY(0x01) key_down: KEY_DOWN(0x006c)
1509458228.665505: event type EV_SYN(0x00).
^[[B1509458228.769502: event type EV_MSC(0x04): scancode = 0x800f041f
1509458228.769502: event type EV_SYN(0x00).
1509458229.019421: event type EV_KEY(0x01) key_up: KEY_DOWN(0x006c)
1509458229.019421: event type EV_SYN(0x00).
1509458230.193511: event type EV_MSC(0x04): scancode = 0x800f0420
1509458230.193511: event type EV_KEY(0x01) key_down: KEY_LEFT(0x0069)
1509458230.193511: event type EV_SYN(0x00).
^[[D1509458230.297512: event type EV_MSC(0x04): scancode = 0x800f0420
1509458230.297512: event type EV_SYN(0x00).
1509458230.401513: event type EV_MSC(0x04): scancode = 0x800f0420
1509458230.401513: event type EV_SYN(0x00).
1509458230.651420: event type EV_KEY(0x01) key_up: KEY_LEFT(0x0069)
1509458230.651420: event type EV_SYN(0x00).
1509458232.001524: event type EV_MSC(0x04): scancode = 0x800f0421
1509458232.001524: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1509458232.001524: event type EV_SYN(0x00).
^[[C1509458232.105525: event type EV_MSC(0x04): scancode = 0x800f0421
1509458232.105525: event type EV_SYN(0x00).
1509458232.355422: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
1509458232.355422: event type EV_SYN(0x00).



RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - fritsch - 2017-10-31

Can you please post the kodi.log in debug mode after those keys have been pressed. Don't cut the logfile, please.


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-10-31

Hello fritsch, where can i finde the kodi.log?

Should i do this: http://kodi.wiki/view/Log_file/Easy


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - fritsch - 2017-10-31

Yes ... or post .kodi/temp/kodi.log to a pastebin (paste.ubuntu.com)


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-11-01

Hello Fritsch,

my /etc/rc.local

Code:
cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

ir-keytable -c -p RC-6 -w /etc/rc_keymaps/rc6_mce_smk
exit 0



cat .kodi/temp/kodi.log (sudo ir-keytable -t)

http://paste.ubuntu.com/25863458/

---------------------------------------------------------------------------------------------------

cat .kodi/temp/kodi.log

http://paste.ubuntu.com/25863543/



What did you see?

Code:
08:17:39.853 T:140518557251968   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - Keine derartige Eigenschaft »CanSuspend«
08:17:39.853 T:140518557251968   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - Keine derartige Eigenschaft »CanHibernate«

How can i solved this problem?

The same problem:

https://forum.kodi.tv/showthread.php?tid=306720


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-11-02

Hello, no user has an idea to solve the problem?


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - DaVu - 2017-11-03

(2017-10-31, 20:10)fritsch Wrote: Can you please post the kodi.log in debug mode after those keys have been pressed. Don't cut the logfile, please.

Quote:08:03:40.897 T:139694042749312  NOTICE: Disabled debug logging due to GUI setting. Level 0.

unfortunately your logfile isn´t a Debug Log. You missed to do the 2nd step from those instructions: http://kodi.wiki/view/Log_file/Easy


RE: MCE Remote with Lubuntu 16.04 and Kodi 17.5 - mcerem - 2017-11-03

Quote:http://kodi.wiki/view/Log_file/Easy

Turn debugging on:

From the Main menu, select Settings (gear icon at top of the menu) → System Settings → Logging and turn on Enable debug logging. You will see some weird text pop up on the screen.
Note: Sometimes you might be asked to enable additional debug logging "components", which is an option in this same Settings/System/Debugging area. If you were not asked to enable anything extra, then don't worry about those additional settings.




Hello, is that so right?

cat .kodi/temp/kodi.log

http://paste.ubuntu.com/25878677/


My loaded keytable:

Code:
sudo ir-keytable -r
scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)
scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)
scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)
scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)
scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)
scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)
scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)
scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)
scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)
scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)
scancode 0x800f040a = KEY_DELETE (0x6f)
scancode 0x800f040b = KEY_ENTER (0x1c)
scancode 0x800f040c = KEY_SLEEP (0x8e)
scancode 0x800f040d = KEY_MEDIA (0xe2)
scancode 0x800f040e = KEY_MUTE (0x71)
scancode 0x800f040f = KEY_I (0x17)
scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f0412 = KEY_CHANNELUP (0x192)
scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f0415 = KEY_REWIND (0xa8)
scancode 0x800f0416 = KEY_PLAY (0xcf)
scancode 0x800f0417 = KEY_RECORD (0xa7)
scancode 0x800f0418 = KEY_PAUSE (0x77)
scancode 0x800f0419 = KEY_STOP (0x80)
scancode 0x800f041a = KEY_NEXT (0x197)
scancode 0x800f041b = KEY_PREVIOUS (0x19c)
scancode 0x800f041c = KEY_NUMERIC_POUND (0x20b)
scancode 0x800f041d = KEY_NUMERIC_STAR (0x20a)
scancode 0x800f041e = KEY_UP (0x67)
scancode 0x800f041f = KEY_DOWN (0x6c)
scancode 0x800f0420 = KEY_LEFT (0x69)
scancode 0x800f0421 = KEY_RIGHT (0x6a)
scancode 0x800f0422 = KEY_ENTER (0x1c)
scancode 0x800f0423 = KEY_EXIT (0xae)
scancode 0x800f0424 = KEY_DVD (0x185)
scancode 0x800f0425 = KEY_TUNER (0x182)
scancode 0x800f0426 = KEY_EPG (0x16d)
scancode 0x800f0427 = KEY_ZOOM (0x174)
scancode 0x800f0432 = KEY_MODE (0x175)
scancode 0x800f0433 = KEY_PRESENTATION (0x1a9)
scancode 0x800f0434 = KEY_EJECTCD (0xa1)
scancode 0x800f043a = KEY_BRIGHTNESSUP (0xe1)
scancode 0x800f0446 = KEY_TV (0x179)
scancode 0x800f0447 = KEY_AUDIO (0x188)
scancode 0x800f0448 = KEY_PVR (0x16e)
scancode 0x800f0449 = KEY_CAMERA (0xd4)
scancode 0x800f044a = KEY_VIDEO (0x189)
scancode 0x800f044c = KEY_LANGUAGE (0x170)
scancode 0x800f044d = KEY_TITLE (0x171)
scancode 0x800f044e = KEY_PRINT (0xd2)
scancode 0x800f0450 = KEY_RADIO (0x181)
scancode 0x800f045a = KEY_SUBTITLE (0x172)
scancode 0x800f045b = KEY_RED (0x18e)
scancode 0x800f045c = KEY_GREEN (0x18f)
scancode 0x800f045d = KEY_YELLOW (0x190)
scancode 0x800f045e = KEY_BLUE (0x191)
scancode 0x800f0465 = KEY_POWER2 (0x164)
scancode 0x800f046e = KEY_PLAYPAUSE (0xa4)
scancode 0x800f046f = KEY_PLAYER (0x183)
scancode 0x800f0480 = KEY_BRIGHTNESSDOWN (0xe0)
scancode 0x800f0481 = KEY_PLAYPAUSE (0xa4)
scancode 0x800f7400 = KEY_NUMERIC_0 (0x200)
scancode 0x800f7401 = KEY_NUMERIC_1 (0x201)
scancode 0x800f7402 = KEY_NUMERIC_2 (0x202)
scancode 0x800f7403 = KEY_NUMERIC_3 (0x203)
scancode 0x800f7404 = KEY_NUMERIC_4 (0x204)
scancode 0x800f7405 = KEY_NUMERIC_5 (0x205)
scancode 0x800f7406 = KEY_NUMERIC_6 (0x206)
scancode 0x800f7407 = KEY_NUMERIC_7 (0x207)
scancode 0x800f7408 = KEY_NUMERIC_8 (0x208)
scancode 0x800f7409 = KEY_NUMERIC_9 (0x209)
scancode 0x800f740a = KEY_DELETE (0x6f)
scancode 0x800f740b = KEY_ENTER (0x1c)
scancode 0x800f740c = KEY_SLEEP (0x8e)
scancode 0x800f740d = KEY_MEDIA (0xe2)
scancode 0x800f740e = KEY_MUTE (0x71)
scancode 0x800f740f = KEY_INFO (0x166)
scancode 0x800f7410 = KEY_VOLUMEUP (0x73)
scancode 0x800f7411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f7412 = KEY_CHANNELUP (0x192)
scancode 0x800f7413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f7414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f7415 = KEY_REWIND (0xa8)
scancode 0x800f7416 = KEY_PLAY (0xcf)
scancode 0x800f7417 = KEY_RECORD (0xa7)
scancode 0x800f7418 = KEY_PAUSE (0x77)
scancode 0x800f7419 = KEY_STOP (0x80)
scancode 0x800f741a = KEY_NEXT (0x197)
scancode 0x800f741b = KEY_PREVIOUS (0x19c)
scancode 0x800f741c = KEY_NUMERIC_POUND (0x20b)
scancode 0x800f741d = KEY_NUMERIC_STAR (0x20a)
scancode 0x800f741e = KEY_UP (0x67)
scancode 0x800f741f = KEY_DOWN (0x6c)
scancode 0x800f7420 = KEY_LEFT (0x69)
scancode 0x800f7421 = KEY_RIGHT (0x6a)
scancode 0x800f7422 = KEY_OK (0x160)
scancode 0x800f7423 = KEY_EXIT (0xae)
scancode 0x800f7424 = KEY_DVD (0x185)
scancode 0x800f7425 = KEY_RED (0x18e)
scancode 0x800f7426 = KEY_YELLOW (0x190)
scancode 0x800f7427 = KEY_ZOOM (0x174)
scancode 0x800f7428 = KEY_EJECTCD (0xa1)
scancode 0x800f7432 = KEY_MODE (0x175)
scancode 0x800f7433 = KEY_PRESENTATION (0x1a9)
scancode 0x800f743a = KEY_BRIGHTNESSUP (0xe1)
scancode 0x800f7446 = KEY_TV (0x179)
scancode 0x800f7447 = KEY_AUDIO (0x188)
scancode 0x800f7448 = KEY_PVR (0x16e)
scancode 0x800f7449 = KEY_CAMERA (0xd4)
scancode 0x800f744a = KEY_VIDEO (0x189)
scancode 0x800f744c = KEY_LANGUAGE (0x170)
scancode 0x800f744e = KEY_PRINT (0xd2)
scancode 0x800f744f = KEY_EPG (0x16d)
scancode 0x800f7450 = KEY_RADIO (0x181)
scancode 0x800f7451 = KEY_TITLE (0x171)
scancode 0x800f745a = KEY_SUBTITLE (0x172)
scancode 0x800f7464 = KEY_MEDIA (0xe2)
scancode 0x800f7465 = KEY_POWER2 (0x164)
scancode 0x800f7466 = KEY_GREEN (0x18f)
scancode 0x800f7468 = KEY_BLUE (0x191)
scancode 0x800f746c = KEY_CHANNELUP (0x192)
scancode 0x800f746d = KEY_CHANNELDOWN (0x193)
scancode 0x800f746e = KEY_PLAYPAUSE (0xa4)
scancode 0x800f746f = KEY_PLAYER (0x183)
scancode 0x800f7480 = KEY_BRIGHTNESSDOWN (0xe0)
scancode 0x800f7481 = KEY_PLAYPAUSE (0xa4)
Enabled protocols: lirc rc-6



and now my test, ir-keytable -t


Code:
sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1509704504.753318: event type EV_MSC(0x04): scancode = 0x800f0422
1509704504.753318: event type EV_KEY(0x01) key_down: KEY_ENTER(0x001c)
1509704504.753318: event type EV_SYN(0x00).
1509704504.865318: event type EV_MSC(0x04): scancode = 0x800f0422
1509704504.865318: event type EV_SYN(0x00).
1509704505.115367: event type EV_KEY(0x01) key_up: KEY_ENTER(0x001c)
1509704505.115367: event type EV_SYN(0x00).
1509704511.617478: event type EV_MSC(0x04): scancode = 0x800f040b
1509704511.617478: event type EV_KEY(0x01) key_down: KEY_ENTER(0x001c)
1509704511.617478: event type EV_SYN(0x00).
1509704511.721478: event type EV_MSC(0x04): scancode = 0x800f040b
1509704511.721478: event type EV_SYN(0x00).
1509704511.971367: event type EV_KEY(0x01) key_up: KEY_ENTER(0x001c)
1509704511.971367: event type EV_SYN(0x00).
1509704514.161534: event type EV_MSC(0x04): scancode = 0x800f0401
1509704514.161534: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0201)
1509704514.161534: event type EV_SYN(0x00).
1509704514.265538: event type EV_MSC(0x04): scancode = 0x800f0401
1509704514.265538: event type EV_SYN(0x00).
1509704514.515369: event type EV_KEY(0x01) key_up: KEY_NUMERIC_1(0x0201)
1509704514.515369: event type EV_SYN(0x00).
1509704515.057560: event type EV_MSC(0x04): scancode = 0x800f0402
1509704515.057560: event type EV_KEY(0x01) key_down: KEY_NUMERIC_2(0x0202)
1509704515.057560: event type EV_SYN(0x00).
1509704515.161562: event type EV_MSC(0x04): scancode = 0x800f0402
1509704515.161562: event type EV_SYN(0x00).
1509704515.273563: event type EV_MSC(0x04): scancode = 0x800f0402
1509704515.273563: event type EV_SYN(0x00).
1509704515.523368: event type EV_KEY(0x01) key_up: KEY_NUMERIC_2(0x0202)
1509704515.523368: event type EV_SYN(0x00).
1509704516.057581: event type EV_MSC(0x04): scancode = 0x800f0403
1509704516.057581: event type EV_KEY(0x01) key_down: KEY_NUMERIC_3(0x0203)
1509704516.057581: event type EV_SYN(0x00).
1509704516.169584: event type EV_MSC(0x04): scancode = 0x800f0403
1509704516.169584: event type EV_SYN(0x00).
1509704516.273584: event type EV_MSC(0x04): scancode = 0x800f0403
1509704516.273584: event type EV_SYN(0x00).
1509704516.523373: event type EV_KEY(0x01) key_up: KEY_NUMERIC_3(0x0203)
1509704516.523373: event type EV_SYN(0x00).
1509704517.457612: event type EV_MSC(0x04): scancode = 0x800f0404
1509704517.457612: event type EV_KEY(0x01) key_down: KEY_NUMERIC_4(0x0204)
1509704517.457612: event type EV_SYN(0x00).
1509704517.561615: event type EV_MSC(0x04): scancode = 0x800f0404
1509704517.561615: event type EV_SYN(0x00).
1509704517.811368: event type EV_KEY(0x01) key_up: KEY_NUMERIC_4(0x0204)
1509704517.811368: event type EV_SYN(0x00).
1509704518.017623: event type EV_MSC(0x04): scancode = 0x800f0405
1509704518.017623: event type EV_KEY(0x01) key_down: KEY_NUMERIC_5(0x0205)
1509704518.017623: event type EV_SYN(0x00).
1509704518.129632: event type EV_MSC(0x04): scancode = 0x800f0405
1509704518.129632: event type EV_SYN(0x00).
1509704518.379366: event type EV_KEY(0x01) key_up: KEY_NUMERIC_5(0x0205)
1509704518.379366: event type EV_SYN(0x00).
1509704518.521640: event type EV_MSC(0x04): scancode = 0x800f0406
1509704518.521640: event type EV_KEY(0x01) key_down: KEY_NUMERIC_6(0x0206)
1509704518.521640: event type EV_SYN(0x00).
1509704518.633639: event type EV_MSC(0x04): scancode = 0x800f0406
1509704518.633639: event type EV_SYN(0x00).
1509704518.883370: event type EV_KEY(0x01) key_up: KEY_NUMERIC_6(0x0206)
1509704518.883370: event type EV_SYN(0x00).
1509704519.929670: event type EV_MSC(0x04): scancode = 0x800f041f
1509704519.929670: event type EV_KEY(0x01) key_down: KEY_DOWN(0x006c)
1509704519.929670: event type EV_SYN(0x00).
^[[B1509704520.041676: event type EV_MSC(0x04): scancode = 0x800f041f
1509704520.041676: event type EV_SYN(0x00).
1509704520.291368: event type EV_KEY(0x01) key_up: KEY_DOWN(0x006c)
1509704520.291368: event type EV_SYN(0x00).
1509704522.161728: event type EV_MSC(0x04): scancode = 0x800f041e
1509704522.161728: event type EV_KEY(0x01) key_down: KEY_UP(0x0067)
1509704522.161728: event type EV_SYN(0x00).
^[[A1509704522.273730: event type EV_MSC(0x04): scancode = 0x800f041e
1509704522.273730: event type EV_SYN(0x00).
1509704522.523371: event type EV_KEY(0x01) key_up: KEY_UP(0x0067)
1509704522.523371: event type EV_SYN(0x00).
1509704523.177752: event type EV_MSC(0x04): scancode = 0x800f0420
1509704523.177752: event type EV_KEY(0x01) key_down: KEY_LEFT(0x0069)
1509704523.177752: event type EV_SYN(0x00).
^[[D1509704523.281760: event type EV_MSC(0x04): scancode = 0x800f0420
1509704523.281760: event type EV_SYN(0x00).
1509704523.531367: event type EV_KEY(0x01) key_up: KEY_LEFT(0x0069)
1509704523.531367: event type EV_SYN(0x00).
1509704524.225776: event type EV_MSC(0x04): scancode = 0x800f0421
1509704524.225776: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
1509704524.225776: event type EV_SYN(0x00).
^[[C1509704524.329778: event type EV_MSC(0x04): scancode = 0x800f0421
1509704524.329778: event type EV_SYN(0x00).
1509704524.579367: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
1509704524.579367: event type EV_SYN(0x00).


Kodi 17.5 will not work wiht KEY_ENTER, i can use KEY_LEFT, KEY_RIGHT, KEY_UP and KEY_DOWN.