LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2022, 10:50 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Rep: Reputation: 112Reputation: 112
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. :-(
 
Old 10-14-2022, 12:26 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310

Rep: Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984
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.
Old 10-14-2022, 01:33 AM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Original Poster
Rep: Reputation: 112Reputation: 112
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.
 
Old 10-14-2022, 02:20 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310

Rep: Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984
Quote:
Originally Posted by lucmove View Post
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.
Old 10-14-2022, 03:41 AM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Original Poster
Rep: Reputation: 112Reputation: 112
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.
 
Old 10-14-2022, 06:10 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310

Rep: Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984
what kind of keyboard is it at all? Does it have batteries?
 
Old 10-14-2022, 08:01 AM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,930

Rep: Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804Reputation: 2804
Quote:
Originally Posted by lucmove View Post
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.
Old 10-14-2022, 09:06 AM   #8
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,327

Rep: Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331
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.
Old 10-14-2022, 08:39 PM   #9
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Original Poster
Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by pan64 View Post
what kind of keyboard is it at all? Does it have batteries?
It's a pretty regular USB keyboard. No batteries.
 
Old 10-14-2022, 08:45 PM   #10
frankbell
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
Blog Entries: 28

Rep: Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353Reputation: 6353
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
 
Old 10-14-2022, 08:47 PM   #11
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Original Poster
Rep: Reputation: 112Reputation: 112
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.
Old 10-14-2022, 08:48 PM   #12
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,556

Original Poster
Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by frankbell View Post
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.
 
Old 10-15-2022, 01:25 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,310

Rep: Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984Reputation: 7984
Quote:
Originally Posted by lucmove View Post
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.
 
  


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
"Enter Key" not working, how to map "Enter Key" functionality to "F9" Key srinihi Linux - Newbie 1 04-03-2009 02:46 PM
Bind Mouse Button Combination to Keyboard Key Combination? neoAKiRAz Linux - Desktop 0 05-04-2007 12:49 PM
LXer: Open source must die die die LXer Syndicated Linux News 0 01-28-2006 08:16 PM
Die, lotus notes, die (sorry for ranting) slackist General 10 01-10-2005 10:42 AM
Die Caps lock Die! tfdml37 Linux - General 1 06-26-2004 02:00 AM

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

All times are GMT -5. The time now is 07:35 AM.

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