View previous topic :: View next topic |
Author |
Message |
speak_see_hear Apprentice
Joined: 12 Feb 2003 Posts: 168 Location: New Jersey
|
Posted: Fri Jun 25, 2004 5:34 pm Post subject: Xorg and Type5c keyboard |
|
|
Ok, so I managed to get what I thought was a working configuration until I tried to type in twm. All sorts of errors. What should I have in my xorg.conf file for the keyboard. My box is an Ultra10 and my keyboard is a Type5c.
Thanks |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Jun 25, 2004 7:03 pm Post subject: |
|
|
It depends on the kernel. If you look here -- http://dev.gentoo.org/~fmccor/docs/xorg/xorg.conf/xorg.conf.html --
you can see the complete configuration files I am currently using (one fot kernel 2.4.26, one
for kernel 2.6.6). Much of these will be wrong for you, but the keyboards
will be close. In particular, with a 2.4.x kernel, something like this is about
riight for type5:
Code: |
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "en_US"
Option "XkbGeometry" "sun(type5)"
EndSection
|
Hope some of this helps.
Regards, |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Sat Jun 26, 2004 5:53 pm Post subject: |
|
|
I should have mentioned that you also probably want
Code: |
Option "HandleSpecialKeys" "Always"
|
in your ServerLayout section. |
|
Back to top |
|
|
|