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

[SOLVED] double key presses with GPIO IR receiver
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: double key presses with GPIO IR receiver
16th Dec, 2013, 04:53 AM
Post: #3
MattS8 Offline
Registered
Posts: 5
Joined: Dec 2013
Reputation: 0
RE: double key presses with GPIO IR receiver
(16th Dec, 2013 03:52 AM)IriDium Wrote:  Can you try:
Code:
sudo mode2
and see what the output is per key press.
You may need to stop lirc if you get an error about device /dev/lirc is busy
Code:
sudo lirc stop

Also can you try adding
Code:
<advancedsettings>
<remotedelay>10</remotedelay>
</advancedsettings>
to /home/xbian/.xbmc/userdata/advancedsettings.xml
and restart xbmc.
Terminal
sudo stop xbmc
sudo start xbmc

Hi Iridium,

thanks for your reply...

I have added the remotedelay in the advancedsettings.xml, after that the remote does not work at all, I took this out again.

mode2 is fine and the next step running irw is working fine as well, all keys show correctly and only once in the ssh session :

00000000000efba4 00 KEY_RIGHT test
00000000000efba7 00 KEY_UP test
00000000000efba6 00 KEY_DOWN test
00000000000efba5 00 KEY_LEFT test
00000000000efba3 00 KEY_OK test
00000000000efbfe 00 KEY_NUMERIC_1 test
00000000000efbfd 00 KEY_NUMERIC_2 test
00000000000efbfc 00 KEY_NUMERIC_3 test


Then again, the issue is that if I now put KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT in Lircmap.xml like this
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<start>KEY_HOME</start>
<back>KEY_EXIT</back>
...
and then use the remote the 4 keys above register TWICE
all other keys (KEY_OK, KEY_HOME,... ) register only once as it should be.

This is probably an issue with XBian, I have tried OpenElec and Raspbmc with the same lircd.conf and Lircmap.xml and there it works correctly. I would like to get this to work in XBian though.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
double key presses with GPIO IR receiver - MattS8 - 16th Dec, 2013, 03:39 AM
RE: double key presses with GPIO IR receiver - IriDium - 16th Dec, 2013, 03:52 AM
RE: double key presses with GPIO IR receiver - MattS8 - 16th Dec, 2013 04:53 AM
RE: double key presses with GPIO IR receiver - mk01 - 16th Dec, 2013, 06:25 AM
RE: double key presses with GPIO IR receiver - kraleksandr - 16th Dec, 2013, 10:43 PM
RE: double key presses with GPIO IR receiver - MattS8 - 17th Dec, 2013, 12:16 AM
RE: double key presses with GPIO IR receiver - mk01 - 21st Dec, 2013, 07:42 AM
RE: double key presses with GPIO IR receiver - IriDium - 17th Dec, 2013, 03:51 AM
RE: double key presses with GPIO IR receiver - MattS8 - 18th Dec, 2013, 01:02 AM
RE: double key presses with GPIO IR receiver - IriDium - 18th Dec, 2013, 04:06 AM
RE: double key presses with GPIO IR receiver - MattS8 - 18th Dec, 2013, 07:19 AM
Re: RE: double key presses with GPIO IR receiver - f1vefour - 19th Dec, 2013, 05:14 AM
RE: double key presses with GPIO IR receiver - IriDium - 19th Dec, 2013, 05:18 AM

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

Current time: 7th Jun, 2025, 09:29 AM Powered By MyBB, © 2002-2025 MyBB Group.