From 9a8f970f6ac0aeddbffaa4989936c67c2af8352c Mon Sep 17 00:00:00 2001 From: marschap Date: Wed, 5 Apr 2006 10:43:24 +0000 Subject: [PATCH] sync with real config parameters from sources --- LCDd.conf | 214 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 123 insertions(+), 91 deletions(-) diff --git a/LCDd.conf b/LCDd.conf index d8b102e..0b66fcb 100644 --- a/LCDd.conf +++ b/LCDd.conf @@ -148,7 +148,7 @@ Brightness=255 # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=0 -# Set the communication speed [default: 9600; legal: 1200, 2400, 9600 or 19200] +# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200i or 115200] Speed=9600 # Set the firmware version (New means >= 2.0) [default: no; legal: yes, no] NewFirmware=no @@ -165,7 +165,7 @@ Reboot=no Device=/dev/ttyS0 # Select the LCD type (size) [default: 16x2] Size=16x2 -# Set the initial contrast [default: 140; legal: 0 - 1000] +# Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=140 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 @@ -193,7 +193,7 @@ Model=635 Device=/dev/ttyUSB0 # Select the LCD size [default: depending on model: 635: 20x4, 631 & 633: 16x2] Size=20x4 -# Set the initial contrast [default: 140; legal: 0 - 1000] +# Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 @@ -217,19 +217,19 @@ Reboot=yes # color settings # foreground color [default: blue] -foreground=blue +Foreground=blue # background color [default: cyan] -background=cyan +Background=cyan # backlight color [default: red] -backlight=red +Backlight=red # display size [default: 20x4] -size=20x4 +Size=20x4 # What position (X,Y) to start the left top corner at... # Default: (7,7) -topleftx=7 -toplefty=7 +TopLeftx=7 +TopLefty=7 @@ -255,10 +255,10 @@ Reboot=no 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 +# There are 6 input key in the CwLnx hardware that generate characters # from 'A' to 'F'. # -# The following it the build in default mapping hardcoded in the driver. +# The following it the built-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. @@ -275,6 +275,55 @@ Keypad=yes +## glcdlib meta driver for graphical LCDs ## +[glcdlib] + +## mandatory: + +# which graphical display supported by graphlcd-base to use [default: image] +# (see /etc/graphlcd.conf for possible drivers) +Driver=noritake800 + +# no=use graphlcd bitmap fonts (they have only one size / font file) +# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants) +UseFT2=yes + +# text resolution in fixed width characters [default: 16x4] +# (if it won't fit according to available physical pixel resolutioni +# and the minimum available font face size in pixels, then +# 'DebugBorder' will automatically be turned on) +TextResolution=20x4 + +# path to font file to use +FontFile=/usr/share/fonts/corefonts/courbd.ttf + + +## these only apply if UseFT2=yes: + +# character encoding to use +CharEncoding=iso8859-2 + +# minumum size in pixels in which fonts should be rendered +MinFontFaceSize=7x12 + + +## optional: +Brightness=50 # Brightness (in %) if applicable +Contrast=50 # Contrast (in %) if applicable +Backlight=no # Backlight if applicable +UpsideDown=no # flip image upside down +Invert=no # invert light/dark pixels +ShowDebugFrame=no # turns on/off 1 pixel thick debugging + # border whithin the usable text area, + # for setting up TextResolution and + # MinFontFaceSize (if using FT2); +ShowBigBorder=no # border around the unused area +ShowThinBorder=yes # border around the unused area +PixelShiftX=0 +PixelShiftY=2 + + + ## Matrix Orbital GLK driver ## [glk] @@ -310,7 +359,7 @@ Backlight=no # If you have the additional output port ("bargraph") and you want to # be able to control it with the lcdproc OUTPUT command -Outputport=no +OutputPort=no # Specifies if the last line is pixel addressable or it controls an # underline effect. [default: true (= pixel addressable); legal: yes, no] @@ -374,6 +423,17 @@ Size=20x4 +## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ## +[imon] + +# select the device to use +Device=/dev/lcd0 + +# display dimensions +Size=16x2 + + + ## IrMan driver ## [IrMan] #if in trouble with IrMan, try Lirc emulator for IrMan @@ -409,7 +469,7 @@ Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 -# Set the communication speed [default: 19200; legal: 2400, 9600] +# Set the communication speed [default: 9600; legal: 2400, 9600] Speed=9600 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] @@ -444,7 +504,7 @@ MainMenuKey=RightKey ## HNE LCTerm driver ## [lcterm] Device=/dev/ttyS1 -size=16x2 +Size=16x2 @@ -488,26 +548,26 @@ Reboot=no [MtxOrb] # Select the output device to use [default: /dev/lcd] -device=/dev/ttyS0 +Device=/dev/ttyS0 # Set the display size [default: 20x4] -size=20x4 +Size=20x4 # Switch on the backlight? [default: yes] # NOTE: The driver will ignore this if the display is a vfd or vkd # as they crash if the backlight is turned off -enablebacklight=yes +Backlight=yes -# Set the initial contrast [default: 140] +# Set the initial contrast [default: 480] # NOTE: The driver will ignore this if the display # is a vfd or vkd as they don't have this feature -contrast=800 +Contrast=800 # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] -speed=19200 +Speed=19200 # Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd] -type=lkd +Type=lkd # The following table translate from MtxOrb Key to Logical Key. # See [input] section for an explanation of the key mappings @@ -530,21 +590,27 @@ keypad_test_mode=no ## Noritake VFD driver ## [NoritakeVFD] -# Port where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 +# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd] Device=/dev/ttyS0 # Specifies the size of the LCD. Size=20x4 -Contrast=255 -# set the serial port speed [default: 9600] +# set the brightness +Brightness=255 + +# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 +# re-initialize VFD ? +#Reboot=yes + ## Pyramid pylcd driver ## [pylcd] +# device to connect to [default: /dev/lcd] Device=/dev/ttyUSB0 @@ -572,30 +638,30 @@ Port=0x378 ## Serial VFD driver ## ## Drives various (see below) serial 5x7dot VFD's. ## [serialVFD] -# Port where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 +# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 Device=/dev/ttyS1 # Specifies the size of the VFD. Size=20x2 -# Specifies the displaytype.[default: 0] +# Specifies the display type [default: 0] # 0 NEC (FIPC8367 based) VFDs. # 1 KD Rev 2.1. # 2 Noritake VFDs (*). # 3 Futaba VFDs (*). # (* most should work, not testet yet.) -Displaytype=1 +Type=1 # Display brightness [default: 255]. # 0 min ... 255 max ... 1000 also max # (4 steps 0-64, 65-128, 129-192, 193-1000) Brightness=255 -# set the serial port speed [default: 9600] +# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 -# enable ISO 8859 1 compatibility [default: 1] -#ISO_8859_1=1 +# enable ISO 8859 1 compatibility [default: yes; legal: yes, no] +ISO_8859_1=yes @@ -633,7 +699,7 @@ OffBrightness=500 ## Text driver ## [text] # Set the display size [default: 20x4] -size=20x4 +Size=20x4 @@ -649,7 +715,7 @@ Port=0x378 # Is ECP mode on? [default: yes; legal: yes, no] #ECPlpt=yes -# Use graphic? [default: no; legal: yes, no] +# Use graphics? [default: no; legal: yes, no] #graphic=no @@ -661,10 +727,33 @@ Port=0x378 Device=/dev/lcd # Set the communication speed [default: 9600; legal: 4800, 9600] -Speed=19200 +Speed=9600 # set display size [default: 16x2] -Size=160x2 +Size=16x2 + + + +## ELV ula200 driver ## +[ula200] + +# Select the LCD size [default: 20x4] +Size=20x4 + +# 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 characters +# from 'A' to 'F'. +# +# The following it the built-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 @@ -679,63 +768,6 @@ Speed=19200 -## glcdlib meta driver for graphical LCDs ## -[glcdlib] - -## mandatory: - -# which graphical display supported by graphlcd-base to use -# (see /etc/graphlcd.conf for possible drivers) -Driver=noritake800 - -# no=use graphlcd bitmap fonts (they have only one size / font file) -# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants) -UseFT2=yes - -# text resolution in fixed width characters (if it won't fit according -# to available physical pixel resolution and the minimum available font -# face size in pixels, 'DebugBorder' will automatically be turned on) -TextResolution=20x4 - -# path to font file to use -FontFile=/usr/share/fonts/corefonts/courbd.ttf # path to font file to use -#FontFile=/fonts/f8b.fnt # path to font file to use - - -## these only apply if UseFT2=yes: - -# character encoding to use -CharEncoding=iso8859-2 - -# minumum size in pixels in which fonts should be rendered -MinFontFaceSize=7x12 - - -## optional: -Brightness=50 # Brightness (in %) if applicable -Contrast=50 # Contrast (in %) if applicable -Backlight=no # Backlight if applicable -UpsideDown=no # flip image upside down -Invert=no # invert light/dark pixels -ShowDebugFrame=no # turns on/off 1 pixel thick debugging - # border whithin the usable text area, - # for setting up TextResolution and - # MinFontFaceSize (if unsing FT2); -ShowBigBorder=no # border around the unused area -ShowThinBorder=yes # border around the unused area -PixelShiftX=0 -PixelshiftY=2 - - - -## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ## -[imon] - -Size=16x2 -Device=/dev/lcd0 - - - ## OnScreen Display using libxosd ## [xosd]