Forum
Some questions about GPIO IR-reciever - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: Some questions about GPIO IR-reciever (/thread-687.html)



Some questions about GPIO IR-reciever - kraleksandr - 27th Mar, 2013 11:48 PM

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)?


RE: Some questions about GPIO IR-reciever - CurlyMo - 27th Mar, 2013 11:53 PM

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.


RE: Some questions about GPIO IR-reciever - kraleksandr - 28th Mar, 2013 12:03 AM

(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 =)


RE: Some questions about GPIO IR-reciever - CurlyMo - 28th Mar, 2013 12:10 AM

I don't know what you mean, but just try it. You can also try to remove the arrow keys altogether from your lircmap.


RE: Some questions about GPIO IR-reciever - kraleksandr - 28th Mar, 2013 12:44 AM

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.


RE: Some questions about GPIO IR-reciever - kraleksandr - 2nd Apr, 2013 02:13 PM

Terminal
service lirc stop && sleep 5 && service lirc start
and for next few hours all works right.


RE: Some questions about GPIO IR-reciever - kraleksandr - 7th May, 2013 04:12 PM

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?


RE: Some questions about GPIO IR-reciever - selo - 14th May, 2013 07:34 PM

(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


RE: Some questions about GPIO IR-reciever - kraleksandr - 14th May, 2013 09:43 PM

Solved. Thanks @selo