Forum

Full Version: Some questions about GPIO IR-reciever
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My reciever is configured using RAW-codes.
Sometimes when I press the Right key, irw shows 1 "right key" action and XBMC goes right 2 times. Same with Ok, other cursor keys. Why?
How to set Power key to open Power menu (shutdown,restart,exit xbmc, timers)?
How to open main menu from any location? <menu>key</menu> dosnt did what I want.
How to setup action like top center button in android app (opens main menu with movie in background)?
Quote:Sometimes when I press the Right key, irw shows 1 "right key" action and XBMC goes right 2 times. Same with Ok, other cursor keys. Why?
Check into the suppress_repeat(s) argument.
(27th Mar, 2013 11:53 PM)CurlyMo Wrote: [ -> ]
Quote:Sometimes when I press the Right key, irw shows 1 "right key" action and XBMC goes right 2 times. Same with Ok, other cursor keys. Why?
Check into the suppress_repeat(s) argument.

Umm if u mean repeated actions when key pressed, they dont exist when IR works right. 1 press - 1 move. Or 2 move like now =)
I don't know what you mean, but just try it. You can also try to remove the arrow keys altogether from your lircmap.
When I press the V key on my keyboard, it does "v" in input box. If I hold V key, it does "vvvvvv..."
When I press any key on my remote, it does one action. If I hold this key it does one action too. To change this I must use suppress_repeat, right?

After I add "suppress_repeat 3" and restart litc, irw shows one action for longpress, when I changed 3 to 3000 irw showsone action too.
I must place suppress_repeat into .conf with rawcodes, right? Now it looks like that: lircd.conf contains "include /home/xbian/remote.conf", remote.conf contains raw codes (by irrecord) and suppress_repeat.
Terminal
service lirc stop && sleep 5 && service lirc start
and for next few hours all works right.
After update to the xbmc 12.2 this problem appears again and I cant solve it with stop&sleep&start lirc.

When I press any key (like arrows, OK) on my remote (except RETURN - this button, and possibly other buttons, dont have this "bug"), lirc catch one action, irw says about one action and xbmc does mapped action two times.
Does your xbmc build has build-in support for IR-remotes?
(7th May, 2013 04:12 PM)kraleksandr Wrote: [ -> ]After update to the xbmc 12.2 this problem appears again and I cant solve it with stop&sleep&start lirc.

When I press any key (like arrows, OK) on my remote (except RETURN - this button, and possibly other buttons, dont have this "bug"), lirc catch one action, irw says about one action and xbmc does mapped action two times.
Does your xbmc build has build-in support for IR-remotes?

The same problem here Undecided

Solution: comment lines related with problem buttons in your remote section (file Lircmap.xml)

Example:

My Problem buttons: Arrows
My Lircmap.xml: /usr/local/share/xbmc/system/Lircmap.xml
Comment "<!-- " the following lines:
Terminal

<remote device="samsung_es5000">
<altname>samsung_es5000</altname>
<!-- <left>KEY_LEFT</left> -->
<!-- <right>KEY_RIGHT</right> -->
<!-- <up>KEY_UP</up> -->
<!-- <down>KEY_DOWN</down> -->

Reboot

Now arrows buttons do not have the "double press bug"

Cool

Hope this will help somebody else as well

PD: I'm sorry about my bad english
Solved. Thanks @selo
Reference URL's