Subject: akbd now supports raw mode
To: None <current-users@netbsd.org, port-macppc@netbsd.org>
From: Aymeric Vincent <Aymeric.Vincent@labri.fr>
List: current-users
Date: 08/13/2002 17:31:20
I just committed two things:

- akbd now supports raw mode (from OpenBSD)
- the X server can now use keyboards in raw mode in the wscons case
  (from XFree86)

While the first item is only of interest for macppc owners, the second
item should also work for other platforms using wscons.

Macppc users can now replace the keyboard lines in their XF86Config file:

Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd0"
Option "XkbRules" "xfree86"
Option "XkbModel" "macintosh"

by just:

Option "Protocol" "standard"
Option "XkbKeymap" "xfree86(us)"



However, there are two things worth noting:

- you have to put "options WSDISPLAY_COMPAT_RAWKBD" in your kernel
  config file
- you have to prevent getty from using /dev/ttyE0 by disabling its
  entry in /etc/ttys. (Don't forget to enable xdm, and make sure you
  have another way of logging into the machine before doing this
  change!)

Note that the X server may fail silently if you don't follow these
instructions.

 Aymeric