LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-13-2014, 01:53 AM   #1
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Rep: Reputation: Disabled
Question Strange problem with the keyboard (?)


Hi,
I'm using Linux Mint 16 KDE and I have a very strange problem. It happens often that the system thinks my meta key (Cltr, Alt or them both) are still pressed, while they are not. This means that if I click on a UI element or if I use the mouse wheel, the result is not the intended one. To solve this, I have to press Ctrl and/or Alt (or both, since I can't know beforehand what is the "blocked" key) to get back to the normal behaviour.
Please note that:
  • the accessibility option for "sticky" meta keys is disabled
  • the problem happens quite randomly (but often)... I mean, I didn't find a way to reliably reproduce
  • the keyboard is OK from a hardware point of view (I would say it's a software problem)

Has someone an idea of what might be going on?

Thanks in advance.
 
Old 06-13-2014, 02:33 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by mauromol View Post
I'm using Linux Mint 16 KDE
... with its support expiring shortly. You should consider upgrading soon.

Quote:
Originally Posted by mauromol View Post
... and I have a very strange problem. It happens often that the system thinks my meta key (Cltr, Alt or them both) are still pressed, while they are not. This means that if I click on a UI element or if I use the mouse wheel, the result is not the intended one. To solve this, I have to press Ctrl and/or Alt (or both, since I can't know beforehand what is the "blocked" key) to get back to the normal behaviour.
I've seen this phenomenon from time to time, too. The reason this can happen at all is the way how keyboard information is transferred: Each time a key is pressed, the keyboard sends a so-called "make" code with the code of that key; and when you release the key, a "break" code with the same key code is sent. If for some reason the break code isn't recognized by the system, it kind of thinks the key is still pressed.

This happens sometimes when the system is very busy, or when the PS/2 or USB communication between keyboard and main system is garbled. However, you can't do anything about that.

[X] Doc CPU
 
Old 06-13-2014, 03:06 AM   #3
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi Doc, thanks for your help!!

Quote:
Originally Posted by Doc CPU View Post
Hi there,
... with its support expiring shortly. You should consider upgrading soon.
Oh, yes, but apart from the fact that Linux Mint KDE 17 isn't ready yet, I want to upgrade only when the support period really ends (i.e.: no more security updates), since stability for me is more important than upgrades at all cost.

Quote:
Originally Posted by Doc CPU View Post
This happens sometimes when the system is very busy, or when the PS/2 or USB communication between keyboard and main system is garbled. However, you can't do anything about that.
But this happens too often on my system, which is a very recent Haswell i5 processor with a SSD. The problem is so annoying that it's hardly believable that it's "normal".
The feeling is that as soon as I start some "complex" key combination sequence (like Alt+TAB, Ctrl+Shift+V, etc.) if this is done "quickly" the chance to get this problem is high []
 
Old 06-13-2014, 04:43 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by mauromol View Post
Oh, yes, but apart from the fact that Linux Mint KDE 17 isn't ready yet, I want to upgrade only when the support period really ends (i.e.: no more security updates), since stability for me is more important than upgrades at all cost.
that's a very decent attitude. :-)

Quote:
Originally Posted by mauromol View Post
But this happens too often on my system, which is a very recent Haswell i5 processor with a SSD. The problem is so annoying that it's hardly believable that it's "normal".
The feeling is that as soon as I start some "complex" key combination sequence (like Alt+TAB, Ctrl+Shift+V, etc.) if this is done "quickly" the chance to get this problem is high []
No, if it's really that frequently, it is far from normal. So we have to try to narrow it down.

Have you tried to use a different keyboard? - If the problem disappears then, it seems to be a hardware thing.
Does this effect occur if you run a Live system off a CD or USB drive? - If not, there may be an issue with your OS's keyboard driver.
Apart from that, I'm running out of ideas ...

[X] Doc CPU
 
Old 06-13-2014, 05:03 AM   #5
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
As a first attempt, I'll try with another keyboard and let you know, thank you.
 
Old 06-13-2014, 01:09 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
are you by any chance running linux mint kde on a (virtualbox) virtual machine?
 
Old 06-14-2014, 02:30 AM   #7
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
are you by any chance running linux mint kde on a (virtualbox) virtual machine?
No, it's a physical laptop.
 
Old 06-14-2014, 02:55 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Ah, a laptop, I'm not sure whether it would help but I would be tempted to try to use the built-in keyboard and see how that goes. I'd be tempted to think that the machine is somehow confusing the two keyboards (I'm assuming you have plugged in an external keyboard). If this is the case, and there's no other way around it, it may be worth looking into disabling the built-in keyboard somehow.
 
Old 06-14-2014, 03:07 AM   #9
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
I'd be tempted to think that the machine is somehow confusing the two keyboards (I'm assuming you have plugged in an external keyboard). If this is the case, and there's no other way around it, it may be worth looking into disabling the built-in keyboard somehow.
Unfortunately, it's not the case. The problem actually happens with the built-in keyboard. I'm going to try with an external one, as soon as possible.
 
Old 10-22-2014, 10:20 AM   #10
mauromol
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Linux Mint KDE, Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
Just a note for anyone encountering something like this.
The problem seemed to happen whenever I inadvertently hit the touchpad while typing some "complex" key combination (involving a meta key), although I had the option to disable the touchpad while typing for X seconds enabled.
I never understood the actual cause or the real fix and honestly I'm not sure if using an external mouse and keyboard could completely prevent this from happening or not (I never had the chance to thoroughly test that).
However, after upgrading to Linux Mint 17 KDE, with a much similar configuration (I would say, the same one) I've not experienced this problem any more yet.

Thanks again to anyone for the help.
 
  


Reply



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
Very strange keyboard problem aolong Linux - Hardware 4 01-26-2013 11:54 AM
Strange Keyboard Problem estes53 Linux - Hardware 3 10-19-2008 02:32 PM
Very strange keyboard problem shame Linux - Hardware 4 12-13-2006 05:20 PM
Strange Keyboard Problem q.sa Linux - Hardware 2 07-15-2005 07:22 AM
strange keyboard problem woodshop Linux - Software 2 07-25-2004 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration