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

[SOLVED] some key not working on Custom remote
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: some key not working on Custom remote
4th Jan, 2015, 09:39 AM
Post: #1
lehulk Offline
Registered
Posts: 2
Joined: Jan 2015
Reputation: 0
some key not working on Custom remote
Hello,

I installed the new RC3. But I cannot get some key working. I created (attached) lircd.conf (in /etc/lirc/) and Lircmap.xml (in /usr/local/share/xbmc/system) files with all the keys.

The irw command gives me the correct key name each time I press a key (for all keys), BUT in xbmc only numbers, enter and arrows seems to work.
do you have any idea ?

Regards


Attached File(s)
.txt  lircd.conf.txt (Size: 2.73 KB / Downloads: 1)
.txt  Lircmap.xml.txt (Size: 24.03 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
4th Jan, 2015, 05:09 PM (This post was last modified: 4th Jan, 2015 05:10 PM by rikardo1979.)
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: some key not working on Custom remote
not sure but shouldn't you alter
Code:
/usr/local/share/xbmc/system/keymaps/remote.xml
too? I know that changes in this files affecting CEC remote but not sure about IR remote as I never had one to try

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
5th Jan, 2015, 04:45 AM
Post: #3
lehulk Offline
Registered
Posts: 2
Joined: Jan 2015
Reputation: 0
RE: some key not working on Custom remote
Hello,

Good news, the problem was errors in my Lircmap.xml file (I see it in xbmc.log).
All is working now.

Thank you
Regards
Find all posts by this user
Quote this message in a reply
5th Jan, 2015, 05:03 AM
Post: #4
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: some key not working on Custom remote
thanks for update. I have edited your 1st post and added Solved prefix Wink next time you may do it yourself so its easier visible for others Wink

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
8th Jan, 2015, 12:36 AM
Post: #5
Groormat Offline
Registered
Posts: 9
Joined: Apr 2014
Reputation: 0
IR-Remote: not all keys are recognized in xbmc
Hi there,

i connected my IR-reciever-diode to gpio 18 and set up everything. Then i mapped all keys rom my cheap china-remote:
Code:
begin remote
  name  china_xboxremote
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2667   897
  one           433   444
  zero          433   444
  pre_data_bits   24
  pre_data       0x1BFF80
  gap          109067

  min_repeat 1
  suppress_repeat 5
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000
      begin codes
          KEY_OPEN                 0x0BD7
          KEY_POWER                0x0BF3
          KEY_PLAY                 0x0BE9
          KEY_STOP                 0x0BE6
          KEY_PAUSE                0x0BE7
          KEY_REWIND               0x0BEA
          KEY_FORWARD              0x0BEB
          KEY_AGAIN                0x0BE4
          KEY_NEXT                 0x0BE5
          KEY_DISPLAYTOGGLE        0x0BB0
          KEY_BACK                 0x0BDC
          KEY_MENU                 0x0BDB
          KEY_TITLE                0x0BAE
          KEY_INFO                 0x0BF0
          KEY_OK               0x0BDD
          KEY_UP                   0x0BE1
          KEY_DOWN                 0x0BE0
          KEY_LEFT                 0x0BDF
          KEY_RIGHT                0x0BDE
          KEY_RECORD               0x0BE8
          KEY_Y                    0x0BD9
          KEY_X                    0x0B97
          KEY_A                    0x0B99
          KEY_B                    0x0BDA
          KEY_CONNECT              0x0B9B
      end codes
end remote

Using
Terminal
irw
i recieve all commands successfully.

But i cant make xbmc recognize all keys. Some are working, some are not.
Working keys are: Up, down, left, right, play, stop, back, red (key_b)

Using Lircmap.xml was no success. There were no change in behavior at all.

I also tried the xbmc-addon "keymap editor", where i can select an action and press the button to map them. Same problem here: xbmc dont recognize the buttons. There is NO reaction on the "dead" keys. The working ones are fine, btw. It looks that the signal is not passed to xbmc at all, while i can see it monitoring irw.

Do you have any suggestion?
Find all posts by this user
Quote this message in a reply
8th Jan, 2015, 03:57 AM
Post: #6
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: some key not working on Custom remote
(8th Jan, 2015 12:36 AM)Groormat Wrote:  Hi there,

i connected my IR-reciever-diode to gpio 18 and set up everything. Then i mapped all keys rom my cheap china-remote:
Code:
begin remote
  name  china_xboxremote
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2667   897
  one           433   444
  zero          433   444
  pre_data_bits   24
  pre_data       0x1BFF80
  gap          109067

  min_repeat 1
  suppress_repeat 5
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000
      begin codes
          KEY_OPEN                 0x0BD7
          KEY_POWER                0x0BF3
          KEY_PLAY                 0x0BE9
          KEY_STOP                 0x0BE6
          KEY_PAUSE                0x0BE7
          KEY_REWIND               0x0BEA
          KEY_FORWARD              0x0BEB
          KEY_AGAIN                0x0BE4
          KEY_NEXT                 0x0BE5
          KEY_DISPLAYTOGGLE        0x0BB0
          KEY_BACK                 0x0BDC
          KEY_MENU                 0x0BDB
          KEY_TITLE                0x0BAE
          KEY_INFO                 0x0BF0
          KEY_OK               0x0BDD
          KEY_UP                   0x0BE1
          KEY_DOWN                 0x0BE0
          KEY_LEFT                 0x0BDF
          KEY_RIGHT                0x0BDE
          KEY_RECORD               0x0BE8
          KEY_Y                    0x0BD9
          KEY_X                    0x0B97
          KEY_A                    0x0B99
          KEY_B                    0x0BDA
          KEY_CONNECT              0x0B9B
      end codes
end remote

Using
Terminal
irw
i recieve all commands successfully.

But i cant make xbmc recognize all keys. Some are working, some are not.
Working keys are: Up, down, left, right, play, stop, back, red (key_b)

Using Lircmap.xml was no success. There were no change in behavior at all.

I also tried the xbmc-addon "keymap editor", where i can select an action and press the button to map them. Same problem here: xbmc dont recognize the buttons. There is NO reaction on the "dead" keys. The working ones are fine, btw. It looks that the signal is not passed to xbmc at all, while i can see it monitoring irw.

Do you have any suggestion?
I have merged your thread into this one as it have same topic and you have even posted in wrong section. Also please look at above solution, it may help you with your issue

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
9th Jan, 2015, 03:28 AM
Post: #7
Groormat Offline
Registered
Posts: 9
Joined: Apr 2014
Reputation: 0
RE: some key not working on Custom remote
(8th Jan, 2015 03:57 AM)rikardo1979 Wrote:  I have merged your thread into this one as it have same topic and you have even posted in wrong section. Also please look at above solution, it may help you with your issue

Thanks. On some spooky way it worked. I dont know why.

I added my lircmap-settings to /usr/local/share/xbmc/system/keymaps/remote.xml, rebooted. No change at all. So i removed my changes and rebooted. Bam. Buttons are working! Magic? I dont know.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  How to run custom comand with IR remote? kraleksandr 8 22,056 18th Apr, 2013 05:54 PM
Last Post: kraleksandr
  My custom remote.xml especially for your listening pleasure Gyuunduh 2 13,863 23rd Feb, 2013 03:43 AM
Last Post: Gyuunduh

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

Current time: 22nd May, 2025, 03:32 PM Powered By MyBB, © 2002-2025 MyBB Group.