LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-16-2014, 01:26 AM   #1
Driehoek
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 4
Pressing 'Alt' also presses 'Up'


Hello All,

Since yesterday it seems that whenever I press the left-alt key a signal for key-up is also sent. It happens in X but also in the ttyX consoles. I'm very confused by this.

This is the output from xev after pressing and releasing the alt key:

Code:
KeyPress event, serial 37, synthetic NO, window 0x1c00001,
    root 0x266, subw 0x0, time 1526064, (169,-14), root:(800,342),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1c00001,
    root 0x266, subw 0x0, time 1526066, (169,-14), root:(800,342),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1c00001,
    root 0x266, subw 0x0, time 1526180, (169,-14), root:(800,342),
    state 0x8, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1c00001,
    root 0x266, subw 0x0, time 1526184, (169,-14), root:(800,342),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
This is the output of showkey in the console:
Code:
keycode 103 press
keycode  56 press
keycode  56 release
keycode 103 release
This is my .Xmodmap file (though I believe it has nothing to do with it, as it also happens outside of X)

Code:
!! Map Caps to left Control
clear Lock
keysym Caps_Lock = Control_L
add Control = Control_L

!! Swaps bracket keys
keysym bracketleft = parenleft braceleft
keysym bracketright = parenright braceright
keysym 9 = 9 bracketleft
keysym 0 = 0 bracketright
Code:
 
$ lsdev | grep keyboard
keyboard                       0060-0060   0064-0064
Code:
$ uname -r
3.10.17-smp
The keyboard itself is an IBM Model M, connect to ps/2. I'm using Slackware 14.1.

Does anybody know how to get rid of the up-key signal, it is very annoying.

thank you in advance
 
Old 09-16-2014, 01:42 AM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by Driehoek View Post
The keyboard itself is an IBM Model M, connect to ps/2.
That is most likely the culprit. I own the same model. One day I slipped a little bit of a drink into it - it was just a little bit, but the liquid got stuck between the two circuit foils and caused the backspace and the y key to connect to each other.

First, I tried to let it dry out - that did not do the trick.

But the Model M is very robust, so I took it apart, took out the controller board and showered everything else for 5 minutes (yes, in my actual shower - as it was already "broken" I had nothing to lose).

After that, I let it dry in front of a fan for a day - it works better than before.
 
2 members found this post helpful.
Old 09-16-2014, 06:25 AM   #3
Driehoek
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 4
Thanks, that must be it! I remeber having spilled some Dr. Pepper in my arrow keys. I go clean it.

Last edited by Driehoek; 09-16-2014 at 08:19 AM.
 
1 members found this post helpful.
Old 09-16-2014, 08:17 AM   #4
Driehoek
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 4
I did not have the right tools to open the keyboard, but putting some water around the arrow keys and aiming a hairdryer at it did the trick.
Thanks again Schmatzler, I thought this was a software problem which got me baffled.

Last edited by Driehoek; 09-16-2014 at 08:19 AM.
 
3 members found this post helpful.
Old 09-16-2014, 10:50 AM   #5
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
I use an IBM Model M 51G8572 for my work keyboard. It is dated 22 MAR 95. I love my Model M.
 
Old 09-17-2014, 01:01 PM   #6
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by Driehoek View Post
I did not have the right tools to open the keyboard
If you cut off the end of a hollow pen, you can get the screws off very easily

Maybe you'll need that in the future, who knows.

Have fun with the best keyboard every made. Love my beast. <3

Last edited by schmatzler; 09-17-2014 at 01:01 PM. Reason: grammar
 
  


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
No TTY when pressing Alt+F1 - 7 tribalmasters Fedora 10 08-15-2005 10:02 AM
windowmaker restarts when pressing Alt-Tab sohmc Linux - Software 0 02-23-2005 07:40 AM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 08:13 AM
Pressing 'alt 1' key twantrd Linux - General 2 01-07-2005 12:05 AM
Slack 9, no Run Command upon pressing Alt+F2 VioLaToR Slackware 4 06-12-2003 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 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