sparc64 X and kbd keyboard driver

Dejan Lesjak dejan.lesjak at
Mon Jun 20 16:56:24 GMT 2005

Thanks to changes from marius, I seem to have working X on Ultra5 (with type5 
keyboard) now. So I started playing with kbd driver a bit and so far it works 
for me. The patch is the same that I already sent a while ago:

However, there are some glitches to go with that. It seems that old 'keyboard' 
driver needs Xkb options to make it work properly, like so:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules"  "sun"
        Option      "XkbModel"  "type5"

Those two behave completely wrong with 'kbd' and above patch though. So to 
make things work with 'kbd', either no Xkb options is needed or something 
like the following to specify them explicitly:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules"  "xorg"
        Option      "XkbModel"  "pc105"

The patch for x11-servers/xorg-server is at
To test this, you need to rebuild/reinstall xorg-server with WITH_SPARC_KBD 
switch enabled, so something like


is needed in /etc/make.conf. And here's a package for CURRENT:
I'll eventually set up something to get RELENG_5 package, but it will take me 
some time...

There are still some missing keys (eg the one on the left side of this 
keyboard), but I believe that this should be solved by:


More information about the freebsd-sparc64 mailing list