Files
lcdproc/LCDd.conf
T
marschap ffdd1a4925 added Leandro Dardini's lastline patch for the HD44780 driver and
adapted it to the IOWarrior driver that also drives HD44780 displays.
2005-01-17 20:18:21 +00:00

565 lines
13 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]. For the menu there is
# a section called [menu]. 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 defines the
# size of the display. The default driver to use is curses.
# If -d is specified on the command line, the Driver= options in the
# config file are ignored.
#
# The drivers can read their own options from the config file, but some 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.
[server]
# Server section with all kinds of settings for the LCDd server
Driver=curses
#Driver=hd44780
#Driver=IOWarrior
#Driver=MtxOrb
#Driver=CFontz633
#Driver=CwLnx
#
# Tells the server to load the given drivers. Multiple lines can be given.
# The name of the driver is exactly the same as the name of the driver
# module that is to be loaded, including the case of the letters !
# (That is: unless a file= option is given in the driver section)
Bind=127.0.0.1
# Tells the driver to bind to the given interface
Port=13666
# Listen on this specified port; defaults to 13666.
#ReportLevel=3
# Sets the reporting level; defaults to 2 (warnings and errors only).
#ReportToSyslog=yes
# Should we report to syslog instead of stderr ? Default: no
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
# If yes, the the serverscreen will be rotated as a usual info screen. If no,
# it will be a background screen, only visible when no other screens are
# active.
#Foreground=no
# The server will stay in the foreground if set to true.
DriverPath=server/drivers/
# Where can we find the driver modules ?
# IMPORTANT: Make sure to change this setting to reflect your
# specific setup! Otherwise LCDd won't be able to find
# the driver modules and will thus not be able to
# function properly.
# NOTE: Always place a slash as last character !
# The "...Key=" lines define what the server does with keypresses that
# don't go to any client.
# These are the defaults:
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right
#ScrollUpKey=Up
#ScrollDownKey=Down
# If you have only 4 keys, you can choose to use this:
#ToggleRotateKey=Enter
#PrevScreenKey=Up
#NextScreenKey=Down
# If you have only 3 keys, you can choose to use this:
#ToggleRotateKey=Enter
#PrevScreenKey=Up
[menu]
# The menu section. The menu is an internal LCDproc client.
# You can configure what keys the menu should use. Note that only the menukey
# will be reserved exclusively, the others in shared mode.
# The following works excelent with 4 keys or more.
MenuKey=Escape
EnterKey=Enter
UpKey=Up
DownKey=Down
# If you have only 3 keys, you could use something like this:
#MenuKey=Escape
#EnterKey=Enter
#DownKey=Down
# 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
# Use this driver for CF632 and CF634.
# Select the output device to use [/dev/lcd]
Device=/dev/ttyS0
# Select the LCD type (size) [20x4]
Size=20x4
# Set the initial contrast [140]
Contrast=140
# Set the initial brightness [255]
Brightness=255
# Set the initial off-brightness [0]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=0
# Set the communication speed [9600]
# possible values: 1200, 2400, 9600
Speed=9600
# Set the firmware version (New means >= 2.0) [no]
NewFirmware=no
# Reinitialize the LCD's BIOS [no]
# normally you shouldn't need this
Reboot=no
[CFontz633]
# CrystalFontz633 driver
# Use this driver only for CF633.
# Select the output device to use [/dev/lcd]
Device=/dev/ttyS0
# Select the LCD type (size) [20x4]
Size=16x2
# Set the initial contrast [140]
Contrast=140
# Set the initial brightness [100]
# Brightness hardware value is between 0 and 100.
Brightness=100
# Set the initial off-brightness [0]
# This value is used when the display is normally
# switched off in case LCDd is inactive
OffBrightness=50
# Set the communication speed [9600]
# possible values: 19200
Speed=19200
# Set the firmware version (New means >= 2.0) [no]
# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
NewFirmware=no
# Reinitialize the LCD's BIOS [no]
# I want to reboot the LCD to make sure we start from a known state
Reboot=yes
[curses]
# Curses driver
# color settings
# foreground color [blue]
foreground=blue
# background color [cyan]
background=cyan
# backlight color [red]
backlight=red
# display size [20x4]
size=20x4
# What position (X,Y) to start the left top corner at...
# Default: (7,7)
topleftx=7
toplefty=7
[CwLnx]
# Cwlinux driver
# Select the output device to use [/dev/lcd]
#Device=/dev/ttyS0
Device=/dev/ttyUSB0
# Select the LCD type (size) [20x4]
Size=20x4
# Set the communication speed [9600]
# possible values: 9600, 19200
Speed=19200
# Reinitialize the LCD's BIOS [no]
# normally you shouldn't need this
Reboot=no
# If you have a keypad connected. Keypad layout is currently not
# configureable from the config file.
Keypad=yes
# If you have a non standard keypad you can associate any keystrings to keys.
# There are 6 input key in the CwLnx hardware that generate caracter
# from 'A' to 'F'.
#
# The following it the build in default mapping hardcoded in the driver.
# You can leave those unchanged if you have a standard keypad.
# You can change it if you want to report other keystrings or have a non
# standard keypad.
# KeyMap_A=Up
# KeyMap_B=Down
# KeyMap_C=Left
# KeyMap_D=Right
# KeyMap_E=Enter
# KeyMap_F=Escape
# keypad_test_mode permit to test keypad assignement
# Default value is no
#keypad_test_mode=yes
[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
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.
# You may also need to configure the keypad layout further on in this file.
Backlight=no
# If you have a switchable backlight.
Outputport=no
# If you have the additional output port ("bargraph") and you want to
# be able to control it with the lcdproc OUTPUT command
#Lastline=true
# Specifies if the last line is pixel addressable or it controls an
# underline effect. Default: true (pixel addressable)
Size=20x4
# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
#vspan=2,2
# For multiple combined displays: how many lines does each display have.
# Vspan=2,2 means both displays have 2 lines.
#ExtendedMode=yes
# If you have a KS0073 or an other 'almost HD44780-compatible', set this
# flag to get into extended mode (4-line linear).
# This flag is NOT the old obsolete Extended option.
#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.
# If you have a keypad you can assign keystrings to the keys.
# See documentation for used terms and how to wire it.
# For example to give directly connected key 4 the string "Enter", use:
# KeyDirect_4=Enter
# For matrix keys use the X and Y coordinates of the key:
# KeyMatrix_1_3=Enter
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape
# Code Mercenaries IO-Warrior drivr
[IOWarrior]
# display dimensions
Size=20x4
# serial number [exactly as listed by usbview]
# (if not given, the 1st IOWarrior found gets used)
#SerialNumber=00000674
# Specifies if the last line is pixel addressable or it controls an
# underline effect. Default: true (pixel addressable)
#Lastline=true
[IrMan]
#IrMan driver
#if in trouble with IrMan, try Lirc emulator for IrMan
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;
[mtc_s16209x]
# MTC-S16209x driver
Arguments="-d /dev/ttyS0"
# -d --device Select the output device to use [/dev/lcd]
# -h --help Show this help information;
[lcdm001]
# LCDM001 driver
Device=/dev/ttyS1
# keypad settings
# Keyname Function
# Normal context Menu context
# ------- -------------- ------------
#
# PauseKey Pause/Continue Enter/select
# BackKey Back(Go to previous screen) Up/Left
# ForwardKey Forward(Go to next screen) Down/Right
# MainMenuKey Open main menu Exit/Cancel
PauseKey=LeftKey
BackKey=UpKey
ForwardKey=DownKey
MainMenuKey=RightKey
# You can rearrange the settings here.
# If your device is broken, have a look at server/drivers/lcdm001.h
[lcterm]
# HNE LCTerm driver
Device=/dev/ttyS1
size=16x2
[icp_a106]
# ICP A106 driver
Device=/dev/ttyS1
[lirc]
# LIRC input driver
#lircrc=/etc/lircrc.lcdproc
# Specify an alternative location of the lircrc file, which is
# normally ~/.lircrc
#prog=lcdd
# Must be the same as in your lircrc
[MtxOrb]
# Matrix Orbital driver
# Select the output device to use [/dev/lcd]
device=/dev/ttyS0
# Set the display size [20x4]
size=20x4
# Switch on the backlight? [yes]
# NOTE: The driver will ignore this if the display
# is a vfd or vfd as they crash if the backlight
# is turned off
enablebacklight=yes
# Set the initial contrast [140]
# NOTE: The driver will ignore this if the display
# is a vfd or vfd as they don't have this feature
contrast=800
# Set the communication speed [19200]
speed=19200
# Set the display type [lcd]
# Possible settings: lcd, lkd, vfd, vkd
type=lkd
# The following table translate from MtxOrb Key to Logical Key.
# See [input] section for an explanation of the key mappings
# This is a new implementation in 0.5
LeftKey=A
RightKey=B
EnterKey=C
UpKey=D
DownKey=E
EscapeKey=F
# You can find out which key of your display sends which
# character by setting keypad_test_mode to yes and running
# LCDd. LCDd will output all characters it receives.
# Afterwards you can modify the settings above and set
# keypad_set_mode to no again.
keypad_test_mode=no
[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.
# You should of course have your svgalib configured correctly.
[T6963]
# Toshiba T6963 driver
#Port=0x378
#Size=20x6
#ECPlpt=on # use bidirectional mode or not
[text]
# Text driver
# Set the display size [20x4]
size=20x4
[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
[ms6931]
# MSI MS-6931 driver for displays in 1HU servers
Device=/dev/ttyS1
#Size=16x2