Discussione: lcdproc
View Single Post
Old 15-05-2003, 14:07   #2
DaRkBoDoM
Senior Member
 
L'Avatar di DaRkBoDoM
 
Iscritto dal: Aug 2002
Messaggi: 400
Dimenticavo.... eccole le parti interessate del mio LCDd.conf

Codice:
[server]
# Server section with all kinds of settings for the LCDd server

#Driver=none
#Driver=curses
Driver=HD44780
#Driver=lcdm001
#Driver=MtxOrb
#
# Tells the server to load the given drivers. Multiple lines can be given.
# NOTE: You may activate several input (input only) drivers but only ONE output
#       driver, which should be the first.

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=5
# Sets the reporting level; defaults to 2 (warnings and errors only).

ReportToSyslog=yes
# Should we report to syslog instead of stderr ? Default: no

WaitTime=3
# Sets the default time in seconds to displays a screen.

User=root
# User to run as.  LCDd will drop its root priviledges,
# if any, and run as this user instead.

ServerScreen=no
# Enables the built-in server screen [Default: no]
# yes      : always,
# no       : when there are no other screens active.

Foreground=no
# The server will stay in the foreground if set to true.
# Otherwise the server will fork to background and report
# to syslog

# TIP: The following options can also be modified from the
#      server menu (which requires a driver that supports input)

Heartbeat=open
# The server has serveral heartbeat modes
#   on    Stays on all the time
#   off   Stays off all the time
#   slash Rotating slash all the time
#   open  Can be controlled by all clients

InitialHeartbeat=on
# This sets the initial heartbeat state if the heartbeat mode is "open"
# Affects the server screen only ;)
#   on    Heartbeat activated
#   off   Heartbeat disabled
#   slash Heartbeat replaced with a rotating slash

Backlight=open
# The server has serveral backlight modes
#   on    Stays on all the time
#   off   Stays off all the time
#   open  Can be controlled by all clients

InitialBacklight=on
# This sets the initial backlight state if the backlight mode is "open"
# Affects the server screen only ;)

BacklightBrightness=255
# This sets the backlight brightness in state "on"
# NOTE: Not all drivers/devices support setting the brightness this
#       way. Some don't support switching the backlight on/off at all,
#       some can switch the backlight on or off only. If the latter is
#       the case BacklightBrightness must be > 0.


BacklightOffBrightness=0
# This sets the backlight brightness in state "off"
# NOTE: Not all drivers/devices support setting the brightness this
#       way. Some don't support switching the backlight on/off at all,
#       some can switch the backlight on or off only. If the latter is
#       the case BacklightBrightness must be = 0.

[HD44780]
# Hitachi HD44780 driver
# See docs/hd44780_howto.txt

Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC

ConnectionType=winamp
# 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.

#Device=/dev/ttyS0
# For PIC-an-LCD connection type only: the serial device to which the LCD
# is connected. Default: /dev/lcd
__________________
-=( Trust No One )=-
DaRkBoDoM è offline   Rispondi citando il messaggio o parte di esso