View previous topic :: View next topic |
Author |
Message |
younger n00b
Joined: 07 May 2005 Posts: 3
|
Posted: Sat May 07, 2005 9:48 pm Post subject: keyboard doesn't work in X11. |
|
|
X starts and mouse works. Some keys work but not all (z,c, v, b, n, m, ENTER and a number of other keys don't work).
Hardware: UltraSparc IIi
Keyboard: Swedish Keyboard, Type6
Kernel Version: 2.4.29-sparc
X11 Version: 6.8.2
BTW, x11 was installed with --usepkg from the package CD.
Here is the parameters of your interest:
In /etc/init.d/rc.conf
KEYMAP="sunkeymap"
In /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type6)"
Option "XkbModel" "type6"
Option "XkbRules" "sun"
Option "XkbLayout" "se"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type6unix)"
I also tried to use "en_US" in XkbLayout field, but it did not work either.
I found the following information in /var/log/Xorg.0.log and console output:
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Thanks! |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon May 09, 2005 7:11 am Post subject: |
|
|
Just a typical check list:
* Have you compiled kernel with Sun keyboard built in (not just module)?
* Have you set rc.conf to match your specific keyboard? |
|
Back to top |
|
|
younger n00b
Joined: 07 May 2005 Posts: 3
|
Posted: Mon May 09, 2005 11:14 am Post subject: |
|
|
I will check kernel config when I get back.
As for rc.conf, I set KEYMAP="sunkeymap"
BTW, keyboard works well without X. |
|
Back to top |
|
|
younger n00b
Joined: 07 May 2005 Posts: 3
|
Posted: Mon May 09, 2005 8:16 pm Post subject: |
|
|
I checked kernel config. I did not find any option related to sun keyboard.
I also walked through the tree of "make menuconfig". "keyboard" was compiled into the kernel. |
|
Back to top |
|
|
|