# 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 "" # # 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. #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 # Enables the server screen also when other screens are active. Foreground=yes # The server will stay in the foreground if set to true. DriverPath=server/drivers/ # Where can we find the driver modules ? # Always place a slash as last character ! # 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 # 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 [curses] file=curses_drv.so # 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 [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] # 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 [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 #Port=0x378 #Size=20x6 #ECPlpt=on # use bidirectional mode or not [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