Keycodes and Console

看板DFBSD_kernel作者時間21年前 (2004/09/12 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
Hi, This is not a DragonFly specific question... One key of the keyboard of my laptop has a "wrong" scancode. The less/greater key has 109 as keycode instead of 94. I'm using "xev" to display the scancode. I can fix this under X11 by modifying the relevant file in /usr/X11R6/lib/X11/xkb/keycodes. But this does not affect the console (that's ugly... try a shell without < > and |). Does anybody know how I can fix this? I know of kbdcontrol and the keymap files in /usr/share/syscons/keymaps/ but simply adding a "109" line does not work. I'm not sure what else is implied. Is there a utility like "xev" that works on the console? Thanks in advance. Regards, Michael
文章代碼(AID): #11Gprk00 (DFBSD_kernel)
文章代碼(AID): #11Gprk00 (DFBSD_kernel)