FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Console, Bus Mouse, and X Server Support
Previous: SCSI Device Support
Next: Serial and Parallel Ports

5.3.6. Console, Bus Mouse, and X Server Support

You must choose one of these two console types, and, if you plan to use the X Window System with the vt220 console, enable the XSERVER option and optionally, a bus mouse or PS/2 mouse device.

device sc0 at isa? port ``IO_KBD' tty irq 1 vector scintr

sc0 is the default console driver, which resembles an SCO console. Since most full-screen programs access the console through a terminal database library like termcap, it should not matter much whether you use this or vt0, the VT220 compatible console driver. When you log in, set your TERM variable to ``scoansi'' if full-screen programs have trouble running under this console.

device vt0 at isa? port ``IO_KBD'' tty irq 1 vector pcrint

This is a VT220-compatible console driver, backwards compatible to VT100/102. It works well on some laptops which have hardware incompatibilities with sc0. Also, set your TERM variable to ``vt100'' or ``vt220'' when you log in. This driver might also prove useful when connecting to a large number of different machines over the network, where the termcap or terminfo entries for the sc0 device are often not available -- ``vt100'' should be available on virtually any platform.

options ``PCVT_FREEBSD=210''

Required with the vt0 console driver.

options XSERVER

Only applicable with the vt0 console driver. This includes code required to run the XFree86 X Window Server under the vt0 console driver.

device mse0 at isa? port 0x23c tty irq 5 vector ms

Use this device if you have a Logitech or ATI InPort bus mouse card.

Note: If you have a serial mouse, ignore these two lines, and instead, make sure the appropriate serial port is enabled (probably COM1).

device psm0 at isa? port ``IO_KBD'' conflicts tty irq 12 vector psmintr

Use this device if your mouse plugs into the PS/2 mouse port.


FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Console, Bus Mouse, and X Server Support
Previous: SCSI Device Support
Next: Serial and Parallel Ports