Date: Mon, 20 Jun 2005 18:56:19 +0200 From: Dejan Lesjak <dejan.lesjak@ijs.si> To: freebsd-sparc64@freebsd.org Subject: sparc64 X and kbd keyboard driver Message-ID: <200506201856.19739.dejan.lesjak@ijs.si>
next in thread | raw e-mail | index | archive | help
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: http://www.ijs.si/~lesi/xorg/patch-bsd_KbdMap.c.2 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" EndSection 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" EndSection The patch for x11-servers/xorg-server is at http://www.ijs.si/~lesi/xorg/sparc/xorgserver682-chg3.diff To test this, you need to rebuild/reinstall xorg-server with WITH_SPARC_KBD switch enabled, so something like WITH_SPARC_KBD= yes is needed in /etc/make.conf. And here's a package for CURRENT: http://www.ijs.si/~lesi/xorg/sparc/xorg-server-6.8.2_2.tgz 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: http://www.mail-archive.com/devel%40xfree86.org/msg07242.html Dejan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506201856.19739.dejan.lesjak>