View previous topic :: View next topic |
Author |
Message |
slaterson Guru
Joined: 26 Feb 2003 Posts: 313
|
Posted: Wed Jul 09, 2003 3:09 pm Post subject: Keyboard issue in X |
|
|
I just got done installing Gentoo and XFree on an Ultra 30 (took forever!). My keyboard is fine at the command line, all keys seem to work fine. However, if I start X, the keyboard is mapped completely wrong. Example: if I press 'Control-Alt-Backspace' to bail out of X, I get a backslash. If I press 's', I get a plus sign. 'h' performs a backspace, and so on.
My keymap in rc.conf is set to 'sunkeymap' and it loads without errors on boot.
Any clues or advice on how to fix this?
Thanks |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Wed Jul 09, 2003 4:57 pm Post subject: |
|
|
How did you configure X??? |
|
Back to top |
|
|
slaterson Guru
Joined: 26 Feb 2003 Posts: 313
|
Posted: Wed Jul 09, 2003 5:47 pm Post subject: |
|
|
cchapman wrote: | How did you configure X??? |
I use xf86cfg, which starts X with the normal configuration box, but doesn't allow any input (no response to keyboard of mouse clicks). The mouse does work here though, I can move the pointer around and right click to bring up the TWM menu.
I looked at an associated thread ( https://forums.gentoo.org/viewtopic.php?t=24773) and made some changes to XF86Config and got it closer, but it's still unusable. I can get it so almost all keys are shifted to the right one key, i.e., pressing 'g' puts 'h' at the prompt.
This is what I changed:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun"
Option "XkbModel" "sun/us"
Option "XkbRules" "sun"
Option "XkbLayout" "us"
Option "XkbGeometry" "sun"
EndSection
I get an error at the end of XFree86.0.log:
'Couldn't load XKB keymap, falling back to pre-XKB keymap'
My keyboard is a Type 5c.
I think I'm in the right area to fix this, I just don't know the settings and am having a hard time finding what is right. Any help is greatly appreciated. |
|
Back to top |
|
|
slaterson Guru
Joined: 26 Feb 2003 Posts: 313
|
Posted: Wed Jul 09, 2003 7:02 pm Post subject: |
|
|
I got it fixed with the following keyboard description:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "sun"
Option "XkbModel" "type5"
Option "XkbLayout" "us"
EndSection |
|
Back to top |
|
|
|