LinHES Forums
http://forums.linhes.org/

Key non-respopnse / repeating problems
http://forums.linhes.org/viewtopic.php?f=21&t=22119
Page 1 of 1

Author:  mkyrylen [ Wed May 18, 2011 4:28 am ]
Post subject:  Key non-respopnse / repeating problems

Hi,

I did the 'pacman -Syu' to upgrade from 6.03 to 6.04. All went well, except the keyboard is now behaving badly.

Symptoms:
- Keys sometimes seem to not get detected. It takes multiple presses to get anything to happen.
- Else, if a key is pressed then it repeats multiple times
- The above events occur periodically within the same session
- This happenned in bot the MythTV interface and terminal session

Only seems to happen in GUI. Does not happen in BIOS, or in SSH session from remote PC.
I tried two different keyboards, so it is not a keyboard hardware fault.

Searching on internet, it is likely to be a Xorg bug. I tried 'xset r off' in /home/mythtv/.xinitrc, but did not work.

Any ideas. WAF is getting very low.

regards,
Myk

Author:  mythedoff [ Wed May 18, 2011 10:13 am ]
Post subject: 

Since you are able to ssh in, you might setup vnc so that you could access and finish any setup and use mythtv till the keyboard situation is fixed.

Author:  mkyrylen [ Wed May 18, 2011 4:10 pm ]
Post subject: 

Thanks for the feedback.

I did try that, and the VNC key entry was sluggish (keys not always recognised), but at least I did not get the repeat keys.
Also, once watching a video key response was terrible. I attempted to pause a video and it did not respond (pressing the P key). Eventually it did respond, but over the next 5 minutes the video was going into and out of pause with no key presses!!!

I am starting to think it is a performance / CPU usage issue, where my MythTV setup is not quite right for 0.24. This performance issue is manifesting itself in sluggish XOrg key entry performance.

All the rest seems to work well, so my setup feel complete, but there could be a performance tweak somewhere.
Any setup hints?

Hardware: Asus M3N78EM + Amd 4850e

Author:  tjc [ Wed May 18, 2011 9:20 pm ]
Post subject: 

I noticed the X config had duplicate input devices at some point and that was causing similar problems. A few minutes with my favorite text editor and restarting X cleared the issue up, but the exact details are fuzzy.

Author:  mythedoff [ Thu May 19, 2011 8:50 am ]
Post subject: 

Duplication sounds possible as I had a similar situation. I had mv /usr/MythVantage/templates/remotes/streamzap/lircrc to /usr/MythVantage/templates/remotes/streamzap/lircrc.original and then customized lircrc. After an upgrade, don't remember which, every time I pushed an arrow key the reaction was always double. The problem was in /etc/lircrc which had two include statements pointing to both files. Commenting out one solved the problem and and now I always move files to a movedfiles directory.

Author:  mkyrylen [ Thu May 19, 2011 4:16 pm ]
Post subject: 

Looking through threads, the problem has not been properly solved, but does point to an Xorg bug. A very promising thread, proposed changing the keyboard driver from "kbd" to "evdev".

Before really diving in, I added 'xset r rate 400 15' to ~/.fluxbox/apps.
I also totally powered down the PC (removed mains power)
After reboot the problem appears to have disappeared... At least for a few minutes.

Hopefully it does not reappear.
Thanks for the advice.

PS I also seemed to have about 6 mouse devices installed in /dev/input. After reboot, I still have 4 ???? I use a Logitech Mini wireless keyboard.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/