Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Trouble getting lircd to work as expected, also is something else handling IR input?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Trouble getting lircd to work as expected, also is something else handling IR input?
4th Jun, 2020, 08:48 PM (This post was last modified: 4th Jun, 2020 08:50 PM by Nachteule.)
Post: #15
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Trouble getting lircd to work as expected, also is something else handling IR
First, to clearify this and before we can continue, make sure that lircd does not run

Terminal

root@kmxbilr2 ~ # sudo pgrep lircd
root@kmxbilr2 ~ #

pgrep should give no output

Next, enable Kodi debug log (Kodi->Setting->System->Logging) so you can see remote events in kodi's logfile /home/xbian/.kodi/temp/kodi.log

Code:
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.602 T:6496    DEBUG <general>: CLibInputKeyboard::ProcessKey - using delay: 250ms repeat: 33ms
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.602 T:7402    DEBUG <general>: Thread Timer start, auto delete: false
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.602 T:6491    DEBUG <general>: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.602 T:6491    DEBUG <general>: HandleKey: right (0xf083) pressed, action is Right
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.746 T:7402    DEBUG <general>: Thread Timer 2361233600 terminating
Jun  4 12:31:25 kmxbilr2 2020-06-04 12:31:25.754 T:6491    DEBUG <general>: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0

^^ this is a log after pressing cursor-right key

Code:
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.699 T:6491    DEBUG <general>: Keyboard: scancode: 0x7d, sym: 0x0137, unicode: 0x0000, modifier: 0xc00
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.699 T:6491    DEBUG <general>: HandleKey: meta-leftwindows (0x20f0d6) pressed, action is
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.699 T:6491    DEBUG <general>: Keyboard: scancode: 0x38, sym: 0x0134, unicode: 0x0000, modifier: 0xf00
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.699 T:6491    DEBUG <general>: HandleKey: alt-meta-leftalt (0x24f0d4) pressed, action is
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.707 T:6496    DEBUG <general>: CLibInputKeyboard::ProcessKey - using delay: 250ms repeat: 33ms
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.707 T:7419    DEBUG <general>: Thread Timer start, auto delete: false
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.714 T:6491    DEBUG <general>: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0xf00
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.714 T:6491    DEBUG <general>: HandleKey: alt-meta-return (0x24f00d) pressed, action is
Jun  4 12:32:47 kmxbilr2 2020-06-04 12:32:47.763 T:7419    DEBUG <general>: Thread Timer 2361233600 terminating

^^ This is a log of a key which is not handled by Kodi correctly (nothing follows after action is)

So I suppose, you'll get a lot of recognized events but with no actions.

If my assumption is correct, you must create your own keymap.xml, the default keymaps you can find in /usr/local/share/kodi/system/keymaps/, where you can have a look how they looks like, gut do never modify them at this place, because they will be overwritten by next update of xbian-package-xbmc.
Put your own keymap.xml in /home/xbian/.kodi/userdata/keymaps instead

More information about keymaps can be found here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 28th May, 2020, 08:01 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Nachteule - 30th May, 2020, 12:15 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 30th May, 2020, 01:07 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR .. - Nachteule - 30th May, 2020, 04:06 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 30th May, 2020, 04:54 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR ... - Nachteule - 30th May, 2020, 04:59 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 30th May, 2020, 06:33 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 1st Jun, 2020, 06:49 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR - Nachteule - 1st Jun, 2020, 09:52 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 1st Jun, 2020, 10:30 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR - Nachteule - 1st Jun, 2020, 10:49 PM
Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 3rd Jun, 2020, 05:13 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Nachteule - 3rd Jun, 2020, 07:43 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 4th Jun, 2020, 05:28 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR - Nachteule - 4th Jun, 2020 08:48 PM
Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 5th Jun, 2020, 05:45 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR - Nachteule - 5th Jun, 2020, 10:42 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR i.. - hge - 16th Jun, 2020, 05:22 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Nachteule - 16th Jun, 2020, 08:17 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR i.. - hge - 17th Jun, 2020, 01:43 AM
Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 6th Sep, 2020, 10:17 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR - Nachteule - 7th Sep, 2020, 11:44 PM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Msprg - 2nd Dec, 2020, 04:21 AM
RE: Trouble getting lircd to work as expected, also is something else handling IR input? - Nachteule - 2nd Dec, 2020, 05:45 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 01:28 AM Powered By MyBB, © 2002-2025 MyBB Group.