README for XFree86 on NetBSD : Kernel Support for X : Console drivers
Previous: Kernel Support for X
Next: Aperture Driver

7.1. Console drivers

The server supports the standard NetBSD/i386 console drivers: pccons, pcvt and wscons (in pcvt compatibility mode). They are detected at runtime and no configuration of the server itself is required.

The pccons driver is the most widely tested and is the console driver contained in the NetBSD binary distribution's kernels.

The pcvt console driver is bundled with NetBSD. The pcvt X mode is compatible with the pccons driver X mode. It offers several virtual consoles and international keyboard support. In order to use this driver, change the line:

device pc0 at isa? port "IO_KBD" irq 1

to

device vt0 at isa? port "IO_KBD" irq 1

in your kernel config file, and rebuild and install your kernel.

XFree86 will also run with the wscons console driver in NetBSD 1.4. For now, it uses the pcvt compatibility mode, so be sure to have the lines:

options         WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
options         WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
options         WSDISPLAY_COMPAT_USL		# VT handling
options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
in your kernel configuration file if you're using wscons. Refer to the wscons(4) and wsmouse(4) manual pages for informations on how to configure wscons into the kernel.


README for XFree86 on NetBSD : Kernel Support for X : Console drivers
Previous: Kernel Support for X
Next: Aperture Driver