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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-13-2022, 10:50 PM
|
#1
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Rep: 
|
Can a key combination "die"?
I have many key combinations configured to launch applications in Openbox.
Suddenly, WinKey + n and WinKey + m didn't work anymore.
The really weird part was that n and m still worked as standalone. I could open a text editor and write anything, all keys worked including n and m. Only WinKey + n and WinKey + m didn't.
WinKey + many other keys (possibly all others) worked too.
I replaced the keyboard and everything is working as expected again. So the other keyboard broke down. But I still find it strange that the keys worked as standalone, only failing in combination with WinKey.
Does this make sense?
The new keyboard has different layout. Slows me down badly. :-(
|
|
|
10-14-2022, 12:26 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310
|
No, it doesn't make sense, although I'm not saying you're lying.
I would check the events sent by the keyboard (with xev). And probably I would try another OS too. Or another usb port.
|
|
1 members found this post helpful.
|
10-14-2022, 01:33 AM
|
#3
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Original Poster
Rep: 
|
I am using another keyboard on the same OS and USB port. Everything works.
I put the old keyboard again. The problem persists.
Back to the new keyboard, fixed again.
Seems obvious the old keyboard has some kind of internal failure. I just find it very strange the problem only affects two keys and only in combination with another key that works in combination with other keys.
|
|
|
10-14-2022, 02:20 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310
|
Quote:
Originally Posted by lucmove
I am using another keyboard on the same OS and USB port. Everything works.
I put the old keyboard again. The problem persists.
Back to the new keyboard, fixed again.
Seems obvious the old keyboard has some kind of internal failure. I just find it very strange the problem only affects two keys and only in combination with another key that works in combination with other keys.
|
again, you can check it with a tool which can inspect the raw keyboard events (like xev). And you can check the same keyboard on another host/os/usb port/whatever. Keyboards have their own hardware and software, and they may fail too.
But anyway, stating that the new keyboard is working is not enough to diagnose.
|
|
1 members found this post helpful.
|
10-14-2022, 03:41 AM
|
#5
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Original Poster
Rep: 
|
I forgot to comment on xev.
It doesn't help because it prints too much information. And when I try to capture anything, it detects my movements, dumps more output and everything gets worse.
But I noticed that when I press WinKey + keys that work, xev prints something like this among a ton of other stuff:
Code:
KeymapNotify event, serial 48, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 4294967168 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Which doesn't happen when I press WinKey + n or WinKey + m.
|
|
|
10-14-2022, 06:10 AM
|
#6
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310
|
what kind of keyboard is it at all? Does it have batteries?
|
|
|
10-14-2022, 08:01 AM
|
#7
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,930
|
Quote:
Originally Posted by lucmove
It doesn't help because it prints too much information. And when I try to capture anything, it detects my movements, dumps more output and everything gets worse.
|
See man xev - you can filter the events it displays.
Quote:
But I noticed that when I press WinKey + keys that work, xev prints something like this among a ton of other stuff:
Code:
KeymapNotify event, serial 48, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 4294967168 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Which doesn't happen when I press WinKey + n or WinKey + m.
|
That event indicates when window focus changes.
|
|
1 members found this post helpful.
|
10-14-2022, 09:06 AM
|
#8
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,327
|
When I do
Code:
xev -event keyboard
and press Win m I get 4 events:
KeyPress Super_L
KeyPress m
KeyRelease m
KeyRelease Super_L
|
|
1 members found this post helpful.
|
10-14-2022, 08:39 PM
|
#9
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Original Poster
Rep: 
|
Quote:
Originally Posted by pan64
what kind of keyboard is it at all? Does it have batteries?
|
It's a pretty regular USB keyboard. No batteries.
|
|
|
10-14-2022, 08:45 PM
|
#10
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,929
|
You might try popping the cap off the key and seeing whether there's some dust or something of that nature fouling the key.
Last edited by frankbell; 10-14-2022 at 08:47 PM.
Reason: Spellink
|
|
|
10-14-2022, 08:47 PM
|
#11
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Original Poster
Rep: 
|
I picked up and hooked up the bad keyboard to record a video while running tests on xev, but... WinKey+n and WinKey+m are working again!
What in the world?
What did I do?
Well, I rebooted, but I had done that before.
Well, this time I actually unplugged everything from the mains to clean the room. Could that have made a difference? I don't suppose so. If it did, I have no idea why.
I will come back if anything weird happens again. Thank you for the attention.
|
|
1 members found this post helpful.
|
10-14-2022, 08:48 PM
|
#12
|
Senior Member
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556
Original Poster
Rep: 
|
Quote:
Originally Posted by frankbell
You might try popping the cap off the key and seeing whether there's some dust or something of that nature fouling the key.
|
I had done that too.
Weird.
|
|
|
10-15-2022, 01:25 AM
|
#13
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310
|
Quote:
Originally Posted by lucmove
I picked up and hooked up the bad keyboard to record a video while running tests on xev, but... WinKey+n and WinKey+m are working again!
What in the world?
What did I do?
Well, I rebooted, but I had done that before.
Well, this time I actually unplugged everything from the mains to clean the room. Could that have made a difference? I don't suppose so. If it did, I have no idea why.
I will come back if anything weird happens again. Thank you for the attention.
|
If it is that regular usb keyboard a simple unplugging/waiting/plugging in again probably solved this issue. Anyway, it is now solved.
|
|
|
All times are GMT -5. The time now is 07:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|