Forum

Full Version: some key not working on Custom remote
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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
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
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?
(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
(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.
Reference URL's