304 lines
6.6 KiB
Plaintext
304 lines
6.6 KiB
Plaintext
# LCDd.conf
|
|
#
|
|
# This file contains the configuration for the LCDd server.
|
|
#
|
|
# The format is ini-file-like. It is divided into sections that start at
|
|
# markers that look like [section]. Comments are all line-based comments,
|
|
# and are lines that start with '#' or ';'.
|
|
#
|
|
# The server has a 'central' section named [server]. Further each driver
|
|
# has a section which defines how the driver acts.
|
|
#
|
|
# The drivers are activated by specifiying them in a driver= line in the
|
|
# server section, like:
|
|
#
|
|
# Driver=curses
|
|
#
|
|
# This tells LCDd to use the curses driver. The first driver that is
|
|
# loaded and is capable of output becomes 'the' output driver.
|
|
# All extra drivers can only serve as input.
|
|
# The default driver to use is curses.
|
|
#
|
|
# The drivers can read their own options from the config file, but most of
|
|
# them don't do this yet. They expect 'command-line'-format parameters that
|
|
# were previously placed on the command line. These parameters can be
|
|
# given to the driver in the following way:
|
|
#
|
|
# Arguments="place arguments here"
|
|
#
|
|
# The arguments between the quotes are passed to the driver.
|
|
# As said before these are the same arguments that the driver would have
|
|
# been passed under the old command line format of
|
|
#
|
|
# -d <driver> "<driverargs>"
|
|
#
|
|
# Note that the -d option still works, but not allows driverargs anymore.
|
|
# If -d is specified on the command line, the Driver= options in the
|
|
# config file are ignored.
|
|
|
|
|
|
[server]
|
|
# Server section with all kinds of settings for the LCDd server
|
|
|
|
Driver=curses
|
|
#Driver=HD44780
|
|
#Driver=MtxOrb
|
|
#
|
|
# Tells the server to load the given drivers. Multiple lines can be given.
|
|
|
|
Bind=127.0.0.1
|
|
# Tells the driver to bind to the given interface
|
|
|
|
Port=13666
|
|
# Listen on this specified port; defaults to 13666.
|
|
|
|
#Debug=5
|
|
# Sets the debugging level; defaults to 0 (no debugging output).
|
|
|
|
WaitTime=5
|
|
# Sets the default time in seconds to displays a screen.
|
|
|
|
User=nobody
|
|
# User to run as. LCDd will drop its root priviledges,
|
|
# if any, and run as this user instead.
|
|
|
|
ServerScreen=no
|
|
# Enables the server screen also when other screens are active.
|
|
|
|
Foreground=yes
|
|
# The server will stay in the foreground if set to true.
|
|
|
|
|
|
|
|
# Driver sections are below this line, in alphabetical order
|
|
|
|
|
|
[bayrad]
|
|
# EMAC BayRAD driver
|
|
|
|
Arguments="fill in here"
|
|
|
|
# -d --device Select the output device to use [/dev/lcd]
|
|
# -t --type Select the LCD type (size) [20x2]
|
|
# -s --speed Set the communication speed [19200]
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[CFontz]
|
|
# CrystalFontz driver
|
|
|
|
Arguments="-d /dev/ttyS0 -s 9600"
|
|
|
|
# -d --device Select the output device to use [/dev/lcd]
|
|
# -t --type Select the LCD type (size) [20x4]
|
|
# -c --contrast Set the initial contrast [140]
|
|
# -b --brightness Set the initial brightness [255]
|
|
# -o --off-bright Set the initial brightness [0]
|
|
# -s --speed Set the communication speed [9600]
|
|
# -r --reboot Reinitialize the LCD's BIOS
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[curses]
|
|
# Curses driver
|
|
|
|
Arguments="-f blue -b cyan -B red -t 20x4"
|
|
|
|
# -f <color> Foreground color
|
|
# -b <color> Background color
|
|
# -B Big numbers size?
|
|
# -t Display size
|
|
|
|
|
|
|
|
[GLK]
|
|
# Matrix Orbital GLK driver
|
|
|
|
Arguments="-d /dev/ttyS0 -s 9600"
|
|
|
|
# -d, --device select the serial device to use [/dev/lcd]
|
|
# -c, --contrast set the initial contrast value [140]
|
|
# -s, --speed set the serial port speed [19200]
|
|
# -h, --help display this help text
|
|
|
|
|
|
|
|
[HD44780]
|
|
# Hitachi HD44780 driver
|
|
# See docs/hd44780_howto.txt
|
|
|
|
Port=0x378
|
|
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
|
|
|
|
ConnectionType=4bit
|
|
# Select what type of connection. See documentation for types.
|
|
|
|
Keypad=no
|
|
# If you have a keypad connected. Keypad layout is currently not
|
|
# configureable from the config file.
|
|
|
|
Backlight=no
|
|
# If you have a switchable backlight.
|
|
|
|
Size=20x4
|
|
# Specifies the size of the LCD.
|
|
# In case of multiple combined displays, this should be the total size.
|
|
|
|
#vspan=1,2
|
|
# For multiple displays: at what 'logical' lines do the individual displays
|
|
# start.
|
|
|
|
#extended=yes
|
|
# If you want to use more than 3 HD44780 controllers on the LPT, you need to
|
|
# specify this. See documentation.
|
|
|
|
#DelayMult=2
|
|
# If your display is slow and cannot keep up with the flow of data from
|
|
# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
|
|
# to increase the delays. Default: 1.
|
|
|
|
DelayBus=true
|
|
# You can reduce the inserted delays by setting this to false.
|
|
# On fast PCs it is possible your LCD does not respond correctly.
|
|
# Default: true.
|
|
|
|
|
|
|
|
[IrMan]
|
|
#IrMan driver
|
|
|
|
Arguments="fill in here"
|
|
|
|
# -d --device Select the input device to use
|
|
# -c --config Select the configuration file to use
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[joy]
|
|
# Joystick driver
|
|
|
|
Arguments="-d /dev/js0"
|
|
|
|
# -d --device Select the input device to use [/dev/js0]
|
|
# -a --axes Modify the axis map
|
|
# -b --buttons Modify the button map
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[LB216]
|
|
# LB216 driver
|
|
|
|
Arguments="-d /dev/ttyS0 -s 9600"
|
|
|
|
# -d --device Select the output device to use [/dev/lcd]
|
|
# -t --type Select the LCD type (size) [16x2]
|
|
# -b --brightness Set the initial brightness [255]
|
|
# -s --speed Set the communication speed [9600]
|
|
# -r --reboot Reinitialize the LCD's BIOS
|
|
# -h --help Show this help information;
|
|
|
|
|
|
|
|
[lcdm001]
|
|
# LCDM driver
|
|
|
|
Arguments="-d /dev/lcd"
|
|
|
|
# -d Select the output device to use [/dev/lcd]
|
|
# -h Show this help information
|
|
|
|
|
|
|
|
[lirc]
|
|
# Lirc input driver
|
|
|
|
# No options
|
|
|
|
|
|
|
|
[MtxOrb]
|
|
# Matrix Orbital driver
|
|
|
|
Arguments="-d /dev/ttyS0 -t 20x2 -c 120"
|
|
|
|
# -d Select the output device to use [/dev/lcd]
|
|
# -t Select the LCD type (size) [20x4]
|
|
# // UNAVAILABLE: -b --backlight Select the backlight state [on]
|
|
# -c Set the initial contrast [140]
|
|
# -s Set the communication speed [19200]
|
|
# -h Show this help information
|
|
# -b display type: lcd, lkd, vfd, vkd\n
|
|
|
|
|
|
|
|
[SED1330]
|
|
# Seiko Epson 1330 driver
|
|
|
|
Port=0x378
|
|
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
|
|
|
|
Type=G321D
|
|
#Type=G121C
|
|
#Type=G242C
|
|
# Type of LCD module. G321D is the only one that is tested currently.
|
|
|
|
|
|
|
|
[SED1520]
|
|
# Seiko Epson 1520 driver
|
|
|
|
Arguments="-p 0x278"
|
|
|
|
# -p n --port n Select the output device to use port n
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[stv5730]
|
|
# stv5730 driver
|
|
|
|
Arguments="fill in here"
|
|
|
|
# -p n --port n Select the output device to use port n
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[svgalib]
|
|
# SVGAlib driver
|
|
|
|
# No options
|
|
|
|
|
|
|
|
[T6963]
|
|
# Toshiba T6963 driver
|
|
|
|
Arguments="fill in here"
|
|
|
|
# -p --port Select the output port to use [0x378]
|
|
# -t --type Select the LCD type (size) [20x6]
|
|
# -h --help Show this help information
|
|
|
|
|
|
|
|
[text]
|
|
# Text driver
|
|
|
|
# No options
|
|
|
|
|
|
|
|
[Wirz-sli]
|
|
# Wirz SLI LCD driver
|
|
|
|
Arguments="fill in here"
|
|
|
|
# -d --device Select the output device to use [/dev/lcd]
|
|
# -s --speed Set the communication speed [19200]
|
|
# -h --help Show this help information
|