Kconfig

Character devices

Includedrivers/tty/Kconfig Open file

CONFIG_TTY_PRINTK TTY driver to output user messages via printk

  • Off
  • Module
  • Built in

If you say Y here, the support for writing user messages (i.e. console messages) via printk is available.

The feature is useful to inline user messages with kernel messages. In order to use this feature, you should output user messages to /dev/ttyprintk or redirect console to this TTY, or boot the kernel with console=ttyprintk.

If unsure, say N.

If TTY_PRINTK

CONFIG_TTY_PRINTK_LEVEL ttyprintk log level (1-7)

Printk log level to use for ttyprintk messages.

CONFIG_PRINTER Parallel printer support

  • Off
  • Module
  • Built in

If you intend to attach a printer to the parallel port of your Linux box (as opposed to using a serial printer; if the connector at the printer has 9 or 25 holes ["female"], then it's serial), say Y. Also read the Printing-HOWTO, available from <https://www.tldp.org/docs.html#howto>.

It is possible to share one parallel port among several devices (e.g. printer and ZIP drive) and it is safe to compile the corresponding drivers into the kernel.

To compile this driver as a module, choose M here and read <file:Documentation/admin-guide/parport.rst>. The module will be called lp.

If you have several parallel ports, you can specify which ports to use with the "lp" kernel command line option. (Try "man bootparam" or see the documentation of your boot loader (lilo or loadlin) about how to pass options to the kernel at boot time.) The syntax of the "lp" command line option can be found in <file:drivers/char/lp.c>.

If you have more than 8 printers, you need to increase the LP_NO macro in lp.c and the PARPORT_MAX macro in parport.h.

If PRINTER

CONFIG_LP_CONSOLE Support for console on line printer

On

If you want kernel messages to be printed out as they occur, you can have a console on the printer. This option adds support for doing that; to actually get it to happen you need to pass the option "console=lp0" to the kernel at boot time.

If the printer is out of paper (or off, or unplugged, or too busy..) the kernel will stall until the printer is ready again. By defining CONSOLE_LP_STRICT to 0 (at your own risk) you can make the kernel continue when this happens, but it'll lose the kernel messages.

If unsure, say N.

CONFIG_PPDEV Support for user-space parallel port device drivers

  • Off
  • Module
  • Built in

Saying Y to this adds support for /dev/parport device nodes. This is needed for programs that want portable access to the parallel port, for instance deviceid (which displays Plug-and-Play device IDs).

This is the parallel port equivalent of SCSI generic support (sg). It is safe to say N to this -- it is not needed for normal printing or parallel port CD-ROM/disk support.

To compile this driver as a module, choose M here: the module will be called ppdev.

If unsure, say N.

CONFIG_VIRTIO_CONSOLE Virtio console

  • Off
  • Module
  • Built in

Virtio console for use with hypervisors.

Also serves as a general-purpose serial device for data transfer between the guest and host. Character devices at /dev/vportNpn will be created when corresponding ports are found, where N is the device number and n is the port number within that device. If specified by the host, a sysfs attribute called 'name' will be populated with a name for the port which can be used by udev scripts to create a symlink to the device.

CONFIG_IBM_BSR IBM POWER Barrier Synchronization Register support

  • Off
  • Module
  • Built in
Unknown

This devices exposes a hardware mechanism for fast synchronization of threads across a large system which avoids bouncing a cacheline between several cores on a system

CONFIG_POWERNV_OP_PANEL IBM POWERNV Operator Panel Display support

  • Off
  • Module
  • Built in
Unknown

If you say Y here, a special character device node, /dev/op_panel, will be created which exposes the operator panel display on IBM Power Systems machines with FSPs.

If you don't require access to the operator panel display from user space, say N.

If unsure, say M here to build it as a module called powernv-op-panel.

Includedrivers/char/ipmi/Kconfig Open file

CONFIG_DS1620 NetWinder thermometer support

  • Off
  • Module
  • Built in
Unknown

Say Y here to include support for the thermal management hardware found in the NetWinder. This driver allows the user to control the temperature set points and to read the current temperature.

It is also possible to say M here to build it as a module (ds1620) It is recommended to be used on a NetWinder, but it is not a necessity.

CONFIG_NWBUTTON NetWinder Button

  • Off
  • Module
  • Built in
Unknown

If you say Y here and create a character device node /dev/nwbutton with major and minor numbers 10 and 158 ("man mknod"), then every time the orange button is pressed a number of times, the number of times the button was pressed will be written to that device.

This is most useful for applications, as yet unwritten, which perform actions based on how many times the button is pressed in a row.

Do not hold the button down for too long, as the driver does not alter the behaviour of the hardware reset circuitry attached to the button; it will still execute a hard reset if the button is held down for longer than approximately five seconds.

To compile this driver as a module, choose M here: the module will be called nwbutton.

Most people will answer Y to this question and "Reboot Using Button" below to be able to initiate a system shutdown from the button.

If NWBUTTON

CONFIG_NWBUTTON_REBOOT Reboot Using Button

Unknown

If you say Y here, then you will be able to initiate a system shutdown and reboot by pressing the orange button a number of times. The number of presses to initiate the shutdown is two by default, but this can be altered by modifying the value of NUM_PRESSES_REBOOT in nwbutton.h and recompiling the driver or, if you compile the driver as a module, you can specify the number of presses at load time with "insmod button reboot_count=<something>".

CONFIG_NWFLASH NetWinder flash support

  • Off
  • Module
  • Built in
Unknown

If you say Y here and create a character device /dev/flash with major 10 and minor 160 you can manipulate the flash ROM containing the NetWinder firmware. Be careful as accidentally overwriting the flash contents can render your computer unbootable. On no account allow random users access to this device. :-)

To compile this driver as a module, choose M here: the module will be called nwflash.

If you're not sure, say N.

Includedrivers/char/hw_random/Kconfig Open file

CONFIG_XILINX_HWICAP Xilinx HWICAP Support

  • Off
  • Module
  • Built in
Unknown

This option enables support for Xilinx Internal Configuration Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex FPGA platforms to partially reconfigure the FPGA at runtime.

If unsure, say N.

CONFIG_SONYPI Sony Vaio Programmable I/O Control Device support

  • Off
  • Module
  • Built in
Unknown

This driver enables access to the Sony Programmable I/O Control Device which can be found in many (all ?) Sony Vaio laptops.

If you have one of those laptops, read <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.

To compile this driver as a module, choose M here: the module will be called sonypi.

CONFIG_SCx200_GPIO NatSemi SCx200 GPIO Support

  • Off
  • Module
  • Built in
Unknown

Give userspace access to the GPIO pins on the National Semiconductor SCx200 processors.

If compiled as a module, it will be called scx200_gpio.

CONFIG_PC8736x_GPIO NatSemi PC8736x GPIO Support

  • Off
  • Module
  • Built in
Unknown

Give userspace access to the GPIO pins on the National Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip has multiple functional units, inc several managed by hwmon/pc87360 driver. Tested with PC-87366

If compiled as a module, it will be called pc8736x_gpio.

CONFIG_NSC_GPIO NatSemi Base GPIO Support

  • Off
  • Module
  • Built in
Unknown

Common support used (and needed) by scx200_gpio and pc8736x_gpio drivers. If those drivers are built as modules, this one will be too, named nsc_gpio

  • Depends on

CONFIG_DEVMEM /dev/mem virtual device support

On

Say Y here if you want to support the /dev/mem device. The /dev/mem device is used to access areas of physical memory. When in doubt, say "Y".

Default
  • y

CONFIG_NVRAM /dev/nvram support

  • Off
  • Module
  • Built in

If you say Y here and create a character special file /dev/nvram with major number 10 and minor number 144 using mknod ("man mknod"), you get read and write access to the non-volatile memory.

/dev/nvram may be used to view settings in NVRAM or to change them (with some utility). It could also be used to frequently save a few bits of very important data that may not be lost over power-off and for which writing to disk is too insecure. Note however that most NVRAM space in a PC belongs to the BIOS and you should NEVER idly tamper with it. See Ralf Brown's interrupt list for a guide to the use of CMOS bytes by your BIOS.

This memory is conventionally called "NVRAM" on PowerPC machines, "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.

To compile this driver as a module, choose M here: the module will be called nvram.

CONFIG_DEVPORT /dev/port character device

On

Say Y here if you want to support the /dev/port device. The /dev/port device is similar to /dev/mem, but for I/O ports.

CONFIG_HPET HPET - High Precision Event Timer

On

If you say Y here, you will have a miscdevice named "/dev/hpet/". Each open selects one of the timers supported by the HPET. The timers are non-periodic and/or periodic.

If HPET

CONFIG_HPET_MMAP Allow mmap of HPET

On

If you say Y here, user applications will be able to mmap the HPET registers.

If HPET_MMAP

CONFIG_HPET_MMAP_DEFAULT Enable HPET MMAP access by default

On

In some hardware implementations, the page containing HPET registers may also contain other things that shouldn't be exposed to the user. This option selects the default (if kernel parameter hpet_mmap is not set) user access to the registers for applications that require it.

CONFIG_HANGCHECK_TIMER Hangcheck timer

  • Off
  • Module
  • Built in

The hangcheck-timer module detects when the system has gone out to lunch past a certain margin. It can reboot the system or merely print a warning.

CONFIG_UV_MMTIMER UV_MMTIMER Memory mapped RTC for SGI UV

  • Off
  • Module
  • Built in

The uv_mmtimer device allows direct userspace access to the UV system timer.

Includedrivers/char/tpm/Kconfig Open file

CONFIG_TELCLOCK Telecom clock driver for ATCA SBC

  • Off
  • Module
  • Built in

The telecom clock device is specific to the MPCBL0010 and MPCBL0050 ATCA computers and allows direct userspace access to the configuration of the telecom clock configuration settings. This device is used for hardware synchronization across the ATCA backplane fabric. Upon loading, the driver exports a sysfs directory, /sys/devices/faux/telco_clock, with a number of files for controlling the behavior of this hardware.

Default
Includedrivers/s390/char/Kconfig Open file
Includedrivers/char/xillybus/Kconfig Open file

CONFIG_ADI SPARC Privileged ADI driver

  • Off
  • Module
  • Built in
Unknown

SPARC M7 and newer processors utilize ADI (Application Data Integrity) to version and protect memory. This driver provides read/write access to the ADI versions for privileged processes. This feature is also known as MCD (Memory Corruption Detection) and SSM (Silicon Secured Memory). Intended consumers of this driver include crash and makedumpfile.

End of Character devices