Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 06-05-2006, 07:46 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Canada
Distribution: Ubuntu Linux
Posts: 16

Rep: Reputation: 0
Question Two kernel scancodes have the same kernel keycode


I am having problems getting my multimedia keyboard working, and yes, I know there are plenty of threads discussing this topic, but I can't find any threads that discuss this problem. So just hear me out:

I've gotten most of my multimedia keys working, mainly using the instructions at

However, I am still having some problems: certain keys, which are meant to have different functions, are reporting the same kernel scancode. For example, the "Finance" key is returning the same scancode as the right "Windows" key (Super_R). Here's the output of the command "showkey -s", with some comments (on lines beginning with '#'):
# Output when "Finance" key is pressed/released:
0xe0 0x5c 0xe0 0xdc 
# Output when the right "Windows" key (Super_R) is pressed/released:
0xe0 0x5c 0xe0 0xdc
(The key-press scancode is "0xe0 0x5c" and the key-release scancode is "0xe0 0xdc")

I tried this exact same keyboard on the exact same computer under MS Windows. The two keys are detected as different keys under MS Windows, so it can't be a hardware malfunction -- there must be some distinguishable property being sent by the keyboard controller (am I right?).

There is only one difference that I was able to notice. When I press and hold the "Finance" before releasing it, the output of "showkey -s" is the same as above: "0xe0 0x5c 0xe0 0xdc" (the key-press code is not repeated). However, when I press and hold the right "Windows" key (Super_R) before releasing it, the output of "showkey -s" is "0xe0 0x5c 0xe0 0x5c 0xe0 0x5c 0xe0 0x5c ... 0xe0 0xdc" (the key-press scancode is repeated multiple times).

Another thing that may be of importance is that the command "kbd_mode" reports that my keyboard is in ASCII (XLATE) mode, not in UTF-8 (UNICODE) mode. Could this be causing problems? My keyboard is a Multimedia keyboard, but the standard keys have a standard US keyboard layout.

I would appreciate any help that I can get. Thanks.

Last edited by mlalkaka; 06-05-2006 at 07:48 PM.
Old 06-06-2006, 03:45 PM   #2
LQ Newbie
Registered: Dec 2004
Location: Canada
Distribution: Ubuntu Linux
Posts: 16

Original Poster
Rep: Reputation: 0
Exclamation Oops, incorrect title/subject

Sorry, I titled this thread incorrectly. I've re-posted it under a new, more appropriate, name.
Here is the URL:

Thank you again.


keyboard, keycode, multimedia, scancode

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
backspace keycode sabeel Programming 1 04-10-2006 06:14 PM
keycode errors devavictrix Linux - Hardware 0 02-17-2006 04:31 PM
find a file like keycode ashley75 Linux - General 1 12-27-2005 12:06 PM
Logitech Multimedia keys don't generate scancodes Itzac Linux - Hardware 1 03-22-2005 01:28 PM
how to use alt+keycode javierj Linux - Newbie 2 03-02-2005 06:37 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:34 PM.

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