LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-28-2005, 11:58 AM   #1
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Getting a "KDSETKEYCODE: Invalid argument" error.


I posted this problem in the official ubuntu forums, but didn't get a reply. So, here it is again:

I get this in /var/log/boot:

Code:
Sat Oct 22 19:59:50 2005: KDSETKEYCODE: Invalid argument
Sat Oct 22 19:59:50 2005: failed to set scancode 5d to keycode 256
Sat Oct 22 19:59:50 2005: KDSETKEYCODE: Invalid argument
Sat Oct 22 19:59:50 2005: failed to set scancode aa to keycode 256
Sat Oct 22 19:59:50 2005: KDSETKEYCODE: Invalid argument
Sat Oct 22 19:59:50 2005: failed to set scancode ef to keycode 256
Whats that mean? Is it a keyboard problem? I am using a cheapo Aopen ps2 keyboard that doesn't even have any special keys at the top. However, i did change keyboards recently. Here is the relevant section from xorg.conf, if it indeed is a keyboard issue:

Code:
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection
I am able to use the keyboard just fine, mind you. However, i hate having errors for no reason.

After further looking around, i found a command called 'getkeycodes', so here is the output of that, if it helps:

Code:
 # getkeycodes
Plain scancodes xx (hex) versus keycodes (dec)
for 1-83 (0x01-0x53) scancode equals keycode

 0x50:   80  81  82  83  84   0  86  87
 0x58:   88 117   0   0  95 183 184 185
 0x60:    0   0   0   0   0   0   0   0
 0x68:    0   0   0   0   0   0   0   0
 0x70:   93   0   0  89   0   0  85  91
 0x78:   90  92   0  94   0 124 121   0

Escaped scancodes e0 xx (hex)

e0 00:    0   0   0   0   0   0   0   0
e0 08:    0   0   0   0   0   0   0   0
e0 10:  165   0   0   0   0   0   0   0
e0 18:    0 163   0   0  96  97   0   0
e0 20:  113 140 164   0 166   0   0   0
e0 28:    0   0 255   0   0   0 114   0
e0 30:  115   0 150   0   0  98 255  99
e0 38:  100   0   0   0   0   0   0   0
e0 40:    0   0   0   0   0 119 119 102
e0 48:  103 104   0 105 112 106 118 107
e0 50:  108 109 110 111   0   0   0   0
e0 58:    0   0   0 125 126 127 116 142
e0 60:    0   0   0 143   0 217 156 173
e0 68:  128 159 158 157 155 226   0 112
e0 70:    0   0   0   0   0   0   0   0
e0 78:    0   0   0   0   0   0   0   0
Thx.
 
Old 11-12-2005, 05:42 AM   #2
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Rep: Reputation: 0
same problem, still no idea
 
  


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
what does "prog7.c:11: error: invalid operands to binary %" mean hubabuba Programming 6 11-16-2004 11:13 AM
Linux Emulation problem "ELF file OS ABI invalid Error" man26 *BSD 0 08-03-2004 11:57 PM
"FBIOPAN_DISPLAY invalid argument" perry Mandriva 0 05-30-2004 11:23 AM
Quagga "Can't bind socket: Invalid argument" JJX Linux - Networking 0 04-29-2004 10:21 AM
Partition problem windows not booting "Invalid disk error" julian_s Linux - Newbie 1 04-02-2004 09:26 PM

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

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