[an error occurred while processing this directive] FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Joystick, PC Speaker, Miscellaneous
Previous: Pseudo-devices
Next: Making Device Nodes

5.3.11. Joystick, PC Speaker, Miscellaneous

This section describes some miscellaneous hardware devices supported by FreeBSD. Note that none of these lines are included in the GENERIC kernel, you'll have to copy them from this handbook or the LINT kernel (which contains support for every device):

device joy0 at isa? port ``IO_GAME''

PC joystick device.

pseudo-device speaker

Supports IBM BASIC-style noises through the PC speaker. Some fun programs which use this are /usr/sbin/spkrtest, which is a shell script that plays some simple songs, and /usr/games/piano which lets you play songs using the keyboard as a simple piano (this file only exists if you've installed the games package). Also, the excellent text role-playing game NetHack (in the ports collection) can be configured to use this device to play songs when you play musical instruments in the game.

See also the pca0 device.


FreeBSD Handbook : Configuring the FreeBSD Kernel : The Configuration File : Joystick, PC Speaker, Miscellaneous
Previous: Pseudo-devices
Next: Making Device Nodes [an error occurred while processing this directive]