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

Remote not smooth
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Remote not smooth
21st Feb, 2013, 07:57 PM
Post: #1
benh Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
Remote not smooth
In Alpha 4 and 5 my xbox 1 remote doesn't behave smoothly. If I am pressing down quickly in a list, it may miss some presses and do some double presses (or maybe it's just catching up).

Makes typing letters difficult in the virtual keyboard.

I think this didn't happen in Alpha 3, but can't be certain (can try it out if it helps). Doesn't happen in Raspbmc and I know they used to have an issue with double key presses but fixed it by removing a setting that was increasing the xbmc priority. Does xbian have something like this in place?

Ben
Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 08:01 PM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Remote not smooth
Can you post the output of this command when logging into ssh:
Code:
irw

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 08:48 PM
Post: #3
benh Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
RE: Remote not smooth
when I pressed the down arrow 10 times I got this:

xbian@xbian ~ $ irw
00000000000000a7 00 DOWN Microsoft_Xbox
00000000000000a7 01 DOWN Microsoft_Xbox
00000000000000a7 02 DOWN Microsoft_Xbox
00000000000000a7 03 DOWN Microsoft_Xbox
00000000000000a7 04 DOWN Microsoft_Xbox
00000000000000a7 05 DOWN Microsoft_Xbox
00000000000000a7 06 DOWN Microsoft_Xbox
00000000000000a7 07 DOWN Microsoft_Xbox
00000000000000a7 08 DOWN Microsoft_Xbox
00000000000000a7 09 DOWN Microsoft_Xbox
00000000000000a7 0a DOWN Microsoft_Xbox
00000000000000a7 0b DOWN Microsoft_Xbox
00000000000000a7 0c DOWN Microsoft_Xbox
00000000000000a7 0d DOWN Microsoft_Xbox
00000000000000a7 0e DOWN Microsoft_Xbox
00000000000000a7 0f DOWN Microsoft_Xbox
00000000000000a7 10 DOWN Microsoft_Xbox
00000000000000a7 11 DOWN Microsoft_Xbox
00000000000000a7 12 DOWN Microsoft_Xbox
00000000000000a7 13 DOWN Microsoft_Xbox
00000000000000a7 14 DOWN Microsoft_Xbox
Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 08:52 PM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Remote not smooth
Do the following:

Code:
sudo nano /etc/lirc/remotes/xbox.conf

Change the header to this:

Code:
one 0 0
  zero 0 0
  gap 163983
  toggle_bit_mask 0x0
  suppress_repeat 10

Then restart Lirc:
Code:
sudo /etc/init.d/lirc restart

Check with irw how many repeat you get know and if necessary increase or decrease that value.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 09:06 PM
Post: #5
benh Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
RE: Remote not smooth
Now I get the following, but the issue is still there and maybe worse. If I leave a half to one second between key presses there is no issue, but if I try and press about 4 times per second there is a delay, then catchup?? I will experiment with different suppress_repeat values.

xbian@xbian /etc/lirc/remotes $ irw
00000000000000a7 00 DOWN Microsoft_Xbox
00000000000000a7 01 DOWN Microsoft_Xbox
00000000000000a7 02 DOWN Microsoft_Xbox
00000000000000a7 03 DOWN Microsoft_Xbox
00000000000000a7 04 DOWN Microsoft_Xbox
00000000000000a7 05 DOWN Microsoft_Xbox
00000000000000a7 06 DOWN Microsoft_Xbox
00000000000000a7 07 DOWN Microsoft_Xbox
00000000000000a7 08 DOWN Microsoft_Xbox
00000000000000a7 09 DOWN Microsoft_Xbox
00000000000000a7 0a DOWN Microsoft_Xbox
00000000000000a7 0b DOWN Microsoft_Xbox
00000000000000a7 0c DOWN Microsoft_Xbox

I can press different keys as fast as I want and there is no problem, eg if I press "down", "up, "down", "up".... really fast, all key presses are registered in irw and visually.

If I press "down" very slowly 10 times - all fine
If I press "down" a bit quicker 10 times - it goes about 15 times
If I press "down" very quickly 10 times - it goes about 7-8 times
If I press "down" even quicker 10 times - it goes about 4-5 times

This is consistent and in irw it seems to be registering 10 key presses each time.

Ben

I tried a few values: 10, 1, 20, 5, 7 and none fixed the issue.

The value of 1 was similar to not having suppress_repeat in at all, the higher the value, the more key presses appeared to be missed - 20 showed only one line in irw when I pressed 10 times fast and one one line of movement in xbmc.

When pressing a bit fast (and you see more button presses than you pressed) if feels like xbmc is trying to interpret it as "hold" rather than a "press", so like a hold there is an initial delay, then some quick movement. Pressing even quicker (which results in less presses than you pressed) feels like the hold is being started again before it has time to move. That could all be crap though.

Ben
Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 10:50 PM
Post: #6
benh Offline
Registered
Posts: 8
Joined: Jan 2013
Reputation: 0
RE: Remote not smooth
I have also found out that there are settings that can be added to advancedsettings.xml - remotedelay (which looks to be the same as suppress_repeat) and remoterepeat.

I'll play around with these tomorrow.

Ben
Find all posts by this user
Quote this message in a reply
21st Feb, 2013, 11:08 PM
Post: #7
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Remote not smooth
I wanted to suggest these two settings from withing XBMC indeed. Let me know.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


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

Current time: 9th May, 2025, 10:44 PM Powered By MyBB, © 2002-2025 MyBB Group.