LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-14-2004, 12:19 AM   #1
soroh
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Can Only Press 3 or 4 Keys At Once While Gaming


I've searched, and I've searched, and I've searched.. I've posted on Gentoo forums, to which I received rather snobbish remarks, and I've put up with this probme for far to long.. and I would love to start getting some insight into it.

First, let's get this out of the way:
- this does not happen in windows
- it is not keyboard specific, at least for me
- the games are being run natively
- ..?

The problem happens as such:
I use arrow keys to move, shift to run, control to crouch (just examples). If I'm holding all at once, and shooting with the mouse or what-have-you, and reloading with other keys, and pressing others, and so forth.. after I'm simultaneously pressing about .. 4 or 5 keys at once I'd say, the keyboard just halts, and I have to release the keys to continue moving, as no input will be accepted until the keys are released.

I must say again, this problem does not happen in Windows. It is deeply annoying.

A google search for 'site:snes9x.com "chrono trigger" keyboard' also clarifies that the problem exists (albeit, I can hold down more than one key). It's just frustrating to be in the heat of a battle, and all of a sudden I stop moving, stop shooting, etc.. gotta release my hand from all the keys, then continue.. by which time I'm kindly watching the game from Spectator as I've no doubt been killed.

I'm using Gentoo Linux (2004.1, base system 1.4.16), on a 2.4.26 kernel, XFree 4.3.0-r6.
My current keyboard is a Logitech Internet Navigator. It's happened on two other keyboards that I've had in the past. Always in Linux, and not Windows.

So please, if anyone has had this, and, although I doubt it, fixed it.. let me know what you did. Some users report that it is in fact the keyboard, while I cannot rule this out, I do believe there is an alternate solution that hasn't yet been found.

Regards,
-soroh
 
Old 07-14-2004, 01:08 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Welcome to LQ soroh. Unfortunately I cannot offer any suggestions on what the cause or the solution might be, but there are a lot of very smart and very experienced members here at LQ, and hopefully someone may be able to offer some advice. Welcome again and good luck with it.

To go out on a limb, I'm not all that familiar with Gentoo, but if your settings are stored in the XF86Config file, perhaps you could post the contents of that file (it probably lives in /etc/X11) It may be that you've select the wrong protocol for that keyboard. Also, is the keyboard PS/2, USB, or wireless? -- J.W.
 
Old 07-14-2004, 01:54 AM   #3
soroh
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
J.W. -- my initials, that's kind of freaky. Thanks for the welcoming.

Yeah.. I've used Linux for a few years now, I've countlessly tried everything I could think of to be quite honest. LQ is kind of my last idea, heh. Kind of fed-up with the Gentoo forums. But that's off-topic.

Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option  "AutoRepeat" "500 30"
        Option  "XkbRules" "xfree86"
        Option  "XkbModel" "pc104"
        Option  "XkbLayout" "us"
EndSection
That's what I'm presently using, it's a USB keyboard with a PS/2 adapter. (And, yeah, I've tried it as just USB).
 
Old 07-14-2004, 03:33 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Well, I don't have a clue. From the small amount I know, I was thinking that it may be that your keyboard model was incorrect (ie, 101 keys vs 104) but at least according to the picture I found of the keyboard you mentioned, it looks like it's got 104. The only other possible thing to try (I'm guessing here) would be to play around with the autorepeat settings. As I assume you know, the first number is the delay in milliseconds before the key starts repeating, and the second number is the number of repeats per second. My thought is that if you are pressing down on one key for a long time during play, maybe the keyboard buffer is overflowing, causing a hang. (Or maybe the game is processing the keystrokes faster than they're being generated, and thus totally emptying the buffer and causing a hang.)

Obviously this is pure speculation, but if you haven't already tried, it, it might be worthwhile systematically going through a series of tests where you incrementally vary the both of those speed settings both upwards and downwards. The reason I'm suggesting this is because if you get the exact same behavior with other keyboards, then it doesn't seem to be connected to the hardware, and instead seems to be a configuration issue. The only config items that seem to apply would be the Model and the Autorepeat parameters. Whether or not that logic actually applies is guesswork at this stage, but maybe a setting of "400 50" or "800 20" or whatever is what's really needed.

I'll reiterate that these comments are speculative, and not authoritative by any measure, and perhaps you've already been down this path countless times before, but good luck with it in either case. -- J.W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard issue - have to double press some keys whysyn Linux - Hardware 9 10-31-2005 09:25 AM
with keys is the keys that change languages? AKAKAK Fedora 2 01-25-2005 11:11 AM
Keyboard Problem - I have to press a key twice for certain keys daedius Linux - Hardware 4 01-13-2005 07:32 AM
Beep when I press keyborad keys.. ! xconspirisist Fedora 1 01-30-2004 07:37 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 04:31 AM


All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration