Config-Model-LcdProc-2.053/0000755000175000017500000000000014002556113013751 5ustar domidomiConfig-Model-LcdProc-2.053/lcdproc/0000755000175000017500000000000014002556113015377 5ustar domidomiConfig-Model-LcdProc-2.053/lcdproc/README0000644000175000017500000000047214002556113016262 0ustar domidomiThis directory contains a slightly modified version of the LCDd.conf file provided by lcdproc project. See http://www.lcdproc.org/ The modification are mostly typo fix in comments which are parsed by lcdconf2model to generate LCDd model. Eventually, Config::Model::LcdProc will not need its version of LCDd.conf.Config-Model-LcdProc-2.053/lcdproc/LCDd.conf0000644000175000017500000011503614002556113017022 0ustar domidomi# LCDd.conf -- configuration file for the LCDproc server daemon LCDd # # 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 specifying 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 the driver is specified using the -d command line option, # the Driver= options in the config file are ignored. # # The drivers read their own options from the respective sections. ## Server section with all kinds of settings for the LCDd server ## [server] # 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 ! DriverPath=server/drivers/ # Tells the server to load the given drivers. Multiple lines can be given. # The name of the driver is case sensitive and determines the section # where to look for further configuration options of the specific driver # as well as the name of the dynamic driver module to load at runtime. # The latter one can be changed by giving a File= directive in the # driver specific section. # # The following drivers are supported: # bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, EyeboxOne, futaba, # g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,, IOWarrior, # irman, joy, lb216, lcdm001, lcterm, linux_input, lirc, lis, MD8800, # mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, # Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330, # sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, # text, tyan, ula200, vlsys_m428, xosd, yard2LCD Driver=curses # Tells the driver to bind to the given interface. [default: 127.0.0.1] Bind=127.0.0.1 # Listen on this specified port. [default: 13666] Port=13666 # Sets the reporting level; defaults to warnings and errors only. # [default: 2; legal: 0-5] #ReportLevel=3 # Should we report to syslog instead of stderr? [default: no; legal: yes, no] #ReportToSyslog=yes # User to run as. LCDd will drop its root privileges and run as this user # instead. [default: nobody] User=nobody # The server will stay in the foreground if set to yes. # [default: no, legal: yes, no] #Foreground=yes # Hello message: each entry represents a display line; default: builtin #Hello=" Welcome to" #Hello=" LCDproc!" # GoodBye message: each entry represents a display line; default: builtin #GoodBye="Thanks for using" #GoodBye=" LCDproc!" # Sets the interval in microseconds for updating the display. # default is 125000 meaning 8Hz #FrameInterval=125000 # Sets the default time in seconds to displays a screen. [default: 4] WaitTime=5 # If set to no, LCDd will start with screen rotation disabled. This has the # same effect as if the ToggleRotateKey had been pressed. Rotation will start # if the ToggleRotateKey is pressed. Note that this setting does not turn off # priority sorting of screens. [default: on; legal: on, off] #AutoRotate=off # 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. The special value 'blank' is similar to no, but only a blank screen # is displayed. [default: on; legal: on, off, blank] #ServerScreen=no # Set master backlight setting. If set to 'open' a client may control the # backlight for its own screens (only). [default: open; legal: off, open, on] #Backlight=open # Set master heartbeat setting. If set to 'open' a client may control the # heartbeat for its own screens (only). [default: open; legal: off, open, on] #Heartbeat=open # set title scrolling speed [default: 10; legal: 0-10] #TitleSpeed=10 # The "...Key=" lines define what the server does with keypresses that # don't go to any client. The ToggleRotateKey stops rotation of screens, while # the PrevScreenKey and NextScreenKey go back / forward one screen (even if # rotation is disabled. # Assign the key string returned by the driver to the ...Key setting. These # are the defaults: ToggleRotateKey=Enter PrevScreenKey=Left NextScreenKey=Right #ScrollUpKey=Up #ScrollDownKey=Down ## The menu section. The menu is an internal LCDproc client. ## [menu] # If true the server allows transitions between different client's menus # [default: false; legal: true, false] #PermissiveGoto=false # You can configure what keys the menu should use. Note that the MenuKey # will be reserved exclusively, the others work in shared mode. # Up to six keys are supported. The MenuKey (to enter and exit the menu), the # EnterKey (to select values) and at least one movement keys are required. # These are the default key assignments: MenuKey=Escape EnterKey=Enter UpKey=Up DownKey=Down #LeftKey=Left #RightKey=Right ### Driver sections are below this line, in alphabetical order ### ## EMAC BayRAD driver ## [bayrad] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200] Speed=9600 ## CrystalFontz driver (for CF632 & CF634) ## [CFontz] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Select the LCD size [default: 20x4] Size=20x4 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # 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, 19200, # 115200] Speed=9600 # Set the firmware version (New means >= 2.0) [default: no; legal: yes, no] NewFirmware=no # Reinitialize the LCD's BIOS [default: no; legal: yes, no] # normally you shouldn't need this Reboot=no ## CrystalFontz packet driver (for CFA533, CFA631, CFA633 & CFA635) ## [CFontzPacket] # Select the LCD model [default: 633; legal: 533, 631, 633, 635] Model=633 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # Reinitialize the LCD's BIOS on driver start. [default: no; legal: yes, no] Reboot=yes # Enable the USB flag if the device is connected to an USB port. For # serial ports leave it disabled. [default: no; legal: yes, no] #USB=yes # Very old 633 firmware versions do not support partial screen updates using # 'Send Data to LCD' command (31). For those devices it may be necessary to # enable this flag. [default: no; legal: yes, no] #OldFirmware=yes # Override the LCD size known for the selected model. Usually setting this # value should not be necessary. #Size=20x4 # Override the default communication speed known for the selected model. # Default value depends on model [legal: 19200, 115200] #Speed=115200 ## Curses driver ## [curses] # color settings # foreground color [default: blue] Foreground=blue # background color when "backlight" is off [default: cyan] Background=cyan # background color when "backlight" is on [default: red] Backlight=red # display size [default: 20x4] Size=20x4 # What position (X,Y) to start the left top corner at... # Default: (7,7) TopLeftX=7 TopLeftY=7 # use ASC symbols for icons & bars [default: no; legal: yes, no] UseACS=no # draw Border [default: yes; legal: yes, no] DrawBorder=yes ## Cwlinux driver ## [CwLnx] # Select the LCD model [default: 12232; legal: 12232, 12832, 1602] Model=12232 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Select the LCD size. Default depends on model: # 12232: 20x4 # 12832: 21x4 # 1602: 16x2 Size=20x4 # Set the communication speed [default: 19200; legal: 9600, 19200] Speed=19200 # Reinitialize the LCD's BIOS [default: no; legal: yes, 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 keys in the CwLnx hardware that generate characters # from 'A' to 'F'. # # The following is 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 # keypad_test_mode permits one to test keypad assignment # Default value is no #keypad_test_mode=yes ## ea65 driver for the display in AOpen XC Cube AV EA65 media barebones ## [ea65] # Device is fixed /dev/ttyS1 # Width and Height are fixed 9x1 # As the VFD is self luminescent we don't have a backlight # But we can use the backlight functions to control the front LEDs # Brightness 0 to 299 -> LEDs off # Brightness 300 to 699 -> LEDs half bright # Brightness 700 to 1000 -> LEDs full bright Brightness=500 # OffBrightness is the the value used for the 'backlight off' state OffBrightness=0 ## EyeboxOne driver ## [EyeboxOne] # Select the output device to use [default: /dev/ttyS1] # Device=/dev/cua01 Device=/dev/ttyS1 # Set the display size [default: 20x4] Size=20x4 # Switch on the backlight? [default: yes] Backlight=yes # Switch on the cursor? [default: no] Cursor=no # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # Enter Key is a \r character, so it's hardcoded in the driver LeftKey=D RightKey=C UpKey=A DownKey=B EscapeKey=P # 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 ## Futaba TOSD-5711BB VFD Driver ## [futaba] ## g15 driver for Logitech G15 Keyboard LCDs ## [g15] # Display size (currently unused) size=20x5 ## glcd generic graphical display driver [glcd] # Select what type of connection. See documentation for types. ConnectionType=t6963 # Width and height of the display in pixel. The supported sizes may depend on # the ConnectionType. [default: 128x64; legal: 1x1 - 640x480] #Size=128x64 # Width and height of a character cell in pixels. This value is only used if # the driver has been compiled with FreeType and it is enabled. Otherwise the # default 6x8 cell is used. #CellSize=12x16 # If LCDproc has been compiled with FreeType 2 support this option can be used # to turn if off intentionally. [default: yes; legal: yes, no] #useFT2=no # Path to font file to use for FreeType rendering. This font must be monospace # and should contain some special Unicode characters like arrows (Andale Mono # is recommended and can be fetched at http://corefonts.sf.net). #normal_font=/usr/local/lib/X11/fonts/TTF/andalemo.ttf # Some fonts miss the Unicode characters used to represent icons. In this case # the built-in 5x8 font can used if this option is turned off. [default: yes; # legal: yes, no] #fontHasIcons=no # Set the initial contrast if supported by connection type. # [default: 600; legal: 0 - 1000] #Contrast=600 # Set brightness of the backlight if the backlight is switched 'on'. # [default: 800; legal: 0 - 1000] #Brightness=1000 # Set brightness of the backlight if the backlight is switched 'off'. Set this # to zero to completely turn off the backlight. [default: 100; legal: 0 - 1000] #OffBrightness=0 # Time (ms) from first key report to first repeat. Set to 0 to disable repeated # key reports. [default: 500; legal: 0 - 3000] #KeyRepeatDelay=500 # Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled # (set to zero). [default: 300; legal: 0 - 3000] #KeyRepeatInterval=300 # Assign key strings to keys. There may be up to 16 keys numbered 'A' to 'Z'. # By default keys 'A' to 'F' are assigned Up, Down, Left, Right, Enter, Escape. KeyMap_A=Up KeyMap_B=Down KeyMap_C=Enter KeyMap_D=Escape # --- t6963 options --- # Parallel port to use [default: 0x378; legal: 0x200 - 0x400] #Port=0x378 # Use LPT port in bi-directional mode. This should work on most LPT port # and is required for proper timing! [default: yes; legal: yes, no] #bidirectional=yes # Insert additional delays into reads / writes. [default: no; legal: yes, no] #delayBus=no # --- serdisplib options --- # Name of the underlying serdisplib driver, e.g. ctinclud. See # serdisplib documentation for details. serdisp_name=t6963 # The display device to use, e.g. serraw:/dev/ttyS0, # parport:/dev/parport0 or USB:07c0/1501. serdisp_device=/dev/ppi0 # Options string to pass to serdisplib during initialization. Use # this to set any display related options (e.g. wiring). The display size is # always set based on the Size configured above! By default, no options are # set. # Important: The value must be quoted as it contains equal signs! #serdisp_options="INVERT=1" # --- x11 options --- # PixelSize is size of each dot in pixels + a pixel gap. [default: 3+1] #x11_PixelSize=3+1 # Colors are in RRGGBB format prefixed with "0x". # PixelColor: The color of each dot at full contrast. [default: 0x000000] #x11_PixelColor=0x000000 # BacklightColor: The color of the backlight as full brightness. # [default: 0x80FF80] #x11_BacklightColor=0x80FF80 # Border: Adds a border (empty space) around the LCD portion of X11 window. # [default: 20] #x11_Border=20 # Inverted: inverts the pixels [default: no; legal: yes, no] #x11_Inverted=no # --- picolcdgfx options --- # Time in ms for usb_read to wait on a key press. [default: 125; legal: >0] #picolcdgfx_KeyTimeout=125 # Inverted: Inverts the pixels. [default: no; legal: yes or no] #picolcdgfx_Inverted=no ## 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 resolution # 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 # minimum 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 within 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] # select the serial device to use [default: /dev/lcd] Device=/dev/lcd # set the initial contrast value [default: 560; legal: 0 - 1000] Contrast=560 # set the serial port speed [default: 19200; legal: 9600, 19200, 38400] Speed=19200 ## Hitachi HD44780 driver ## [hd44780] # Select what type of connection. See documentation for available types. ConnectionType=4bit # I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC. # For I2C connections this sets the slave address (usually 0x20). Port=0x378 # Device of the serial, I2C, or SPI interface [default: /dev/lcd] Device=/dev/ttyS0 # Bitrate of the serial port (0 for interface default) Speed=0 # If you have a keypad connected. # You may also need to configure the keypad layout further on in this file. Keypad=no # Set the initial contrast (bwctusb, lcd2usb, and usb4all) # [default: 800; legal: 0 - 1000] #Contrast=0 # Set brightness of the backlight (lcd2usb and usb4all): # Brightness is the brightness while the backlight is set to 'on'. # [default: 800; legal: 0 - 1000] #Brightness=1000 # OffBrightness is the brightness while the backlight is set to 'off'. # [default: 300; legal: 0 - 1000] #OffBrightness=0 # If you have a switchable backlight. 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 # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes # Specifies the size of the LCD. # In case of multiple combined displays, this should be the total size. Size=20x4 # For multiple combined displays: how many lines does each display have. # Vspan=2,2 means both displays have 2 lines. #vspan=2,2 # If you have an HD66712, a KS0073 or another controller with 'extended mode', # set this flag to get into 4-line mode. On displays with just two lines, do # not set this flag. # As an additional restriction, controllers with and without extended mode # AND 4 lines cannot be mixed for those connection types that support more # than one display! #ExtendedMode=yes # In extended mode, on some controllers like the ST7036 (in 3 line mode) # the next line in DDRAM won't start 0x20 higher. [default: 0x20] #LineAddress=0x10 # Character map to to map ISO-8859-1 to the LCD's character set # [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073, # sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ] # (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if # compiled with additional charmaps) CharMap=hd44780_default # 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. #DelayMult=2 # Some displays (e.g. vdr-wakeup) need a message from the driver to that it # is still alive. When set to a value bigger then null the character in the # upper left corner is updated every seconds. Default: 0. #KeepAliveDisplay=0 # If you experience occasional garbage on your display you can use this # option as workaround. If set to a value bigger than null it forces a # full screen refresh seconds. Default: 0. #RefreshDisplay=5 # 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. DelayBus=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 ## ICP Peripheral Comminication Protocol driver ## # Supports A125 and A106 # # Short Press Select: Down # Long Press Select: Up # Short Press Enter: Enter # Long Press Enter: Escape # [icp_a106] Device=/dev/ttyS1 # Display dimensions Size=20x2 ## Code Mercenaries IO-Warrior driver ## [IOWarrior] # display dimensions Size=20x4 # serial number. Must be exactly as listed by usbview # (if not given, the 1st IOWarrior found gets used) #SerialNumber=00000674 # If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # set this flag to get into extended mode (4-line linear). #ExtendedMode=yes # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes ## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ## [imon] # select the device to use Device=/dev/lcd0 # display dimensions Size=16x2 # Character map to to map ISO-8859-1 to the displays character set. # [default: none; legal: none, hd44780_euro, upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 ] (upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional # charmaps) CharMap=hd44780_euro ## Soundgraph iMON LCD ## [imonlcd] # Specify which iMon protocol should be used # [legal: 0, 1; default: 0] # Choose 0 for 15c2:ffdc device, # Choose 1 for 15c2:0038 device Protocol=0 # Set the exit behavior [legal: 0-2; default: 1] # 0 means leave shutdown message, # 1 means show the big clock, # 2 means blank device #OnExit=2 # Select the output device to use [default: /dev/lcd0] Device=/dev/lcd0 # Select the displays contrast [default: 200; legal: 0-1000] Contrast=200 # Specify the size of the display in pixels [default: 96x16] #Size=96x16 # Set the backlight state [default: on; legal: on, off] #Backlight=on # Set the disc mode [legal: 0,1; default: 0] # 0 => spin the "slim" disc - two disc segments, # 1 => their complement spinning; #DiscMode=0 ## IrMan driver ## [IrMan] # in case of trouble with IrMan, try the Lirc emulator for IrMan # Select the input device to use #Device=/dev/irman # Select the configuration file to use #Config=/etc/irman.cfg ## IRtrans driver ## [irtrans] # Does the device have a backlight? [default: no; legal: yes, no] #Backlight=no # IRTrans device to connect to [default: localhost] #Hostname=localhost # display dimensions Size=16x2 ## Joystick driver ## [joy] # Select the input device to use [default: /dev/js0] Device=/dev/js0 # set the axis map Map_Axis1neg=Left Map_Axis1pos=Right Map_Axis2neg=Up Map_Axis2pos=Down # set the button map Map_Button1=Enter Map_Button2=Escape ## LB216 driver ## [lb216] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Set the communication speed [default: 9600; legal: 2400, 9600] Speed=9600 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## LCDM001 driver ## [lcdm001] 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 ## HNE LCTerm driver ## [lcterm] Device=/dev/ttyS1 Size=16x2 ## Linux event device input driver ## [linux_input] # Select the input device to use [default: /dev/input/event0] #Device=/dev/input/event0 # specify a non-default key map #key=1,Escape #key=28,Enter #key=96,Enter #key=105,Left #key=106,Right #key=103,Up #key=108,Down ## LIRC input driver ## [lirc] # Specify an alternative location of the lircrc file [default: ~/.lircrc] #lircrc=/etc/lircrc.lcdproc # Must be the same as in your lircrc #prog=lcdd ## LIS MCE 2005 driver ## [lis] # Set the initial brightness [default: 1000; legal: 0 - 1000] # 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100% #Brightness=1000 # Columns by lines [default: 20x2] #Size=20x2 # USB Vendor ID [default: 0x0403] # Change only if testing a compatible device. #VendorID=0x0403 # USB Product ID [default: 0x6001] # Change only if testing a compatible device. #ProductID=0x6001 # Specifies if the last line is pixel addressable (yes) or it only controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes ##The driver for the VFD of the Medion MD8800 PC ## [MD8800] # device to use [default: /dev/ttyS1] #Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 ## Futuba MDM166A Display [mdm166a] # Show self-running clock after LCDd shutdown # Possible values: [default: no; legal: no, small, big] Clock=big # Dim display, no dimming gives full brightness [default: no, legal: yes, no] Dimming=no # Dim display in case LCDd is inactive [default: no, legal: yes, no] OffDimming=yes ## MSI MS-6931 driver for displays in 1HU servers ## [ms6931] # device to use [default: /dev/ttyS1] Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 ## MTC-S16209x driver ## [mtc_s16209x] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## Matrix Orbital driver ## [MtxOrb] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Set the display size [default: 20x4] Size=20x4 # Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd] Type=lkd # 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=480 # Some old displays do not have an adjustable backlight but only can # switch the backlight on/off. If you experience randomly appearing block # characters, try setting this to false. [default: yes; legal: yes, no] hasAdjustableBacklight=no # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=0 # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # The following table translates from MtxOrb key letters to logical key names. # By default no keys are mapped, meaning the keypad is not used at all. #KeyMap_A=Left #KeyMap_B=Right #KeyMap_C=Up #KeyMap_D=Down #KeyMap_E=Enter #KeyMap_F=Escape # See the [menu] section for an explanation of the key mappings # 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 ## mx5000 driver for LCD display on the Logitech MX5000 keyboard ## [mx5000] # Select the output device to use [default: /dev/hiddev0] Device = /dev/hiddev0 # Time to wait in ms after the refresh screen has been sent [default: 1000] WaitAfterRefresh = 1000 ## Noritake VFD driver ## [NoritakeVFD] # 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 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # Set serial data parity [default: 0; legal: 0-2 ] # Meaning: 0(=none), 1(=odd), 2(=even) Parity=0 # re-initialize the VFD [default: no; legal: yes, no] Reboot=no ## Olimex MOD-LCD1x9 driver ## [Olimex_MOD_LCD1x9] # device file of the i2c controler Device=/dev/i2c-0 ## Mini-box.com picoLCD (usblcd) driver ## [picolcd] # KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When # built with libusb-1.0 key and IR data is input asynchronously so there is no # need to wait for the USB data. # KeyTimeout is the time in ms that LCDd spends waiting for a key press before # cycling through other duties. Higher values make LCDd use less CPU time and # make key presses more detectable. Lower values make LCDd more responsive # but a little prone to missing key presses. 500 (.5 second) is the default # and a balanced value. [default: 500; legal: 0 - 1000] KeyTimeout=500 # Key auto repeat is only available if the picoLCD driver is built with # libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto # repeat. # # Key auto repeat delay (time in ms from first key report to first repeat). Use # zero to disable auto repeat. [default: 300; legal: 0 - 3000] KeyRepeatDelay=300 # Key auto repeat interval (time in ms between repeat reports). Only used if # KeyRepeatDelay is not zero. [default: 200; legal: 0 - 3000] KeyRepeatInterval=200 # Sets the initial state of the backlight upon start-up. # [default: on; legal: on, off] #Backlight=on # Set the initial brightness [default: 1000; legal: 0 - 1000]. Works only # with the 20x4 device Brightness=1000 # Set the brightness while the backlight is 'off' [default: 0; legal: 0 - 1000]. # Works only with the 20x4 device. #OffBrightness=0 # Set the initial contrast [default: 1000; legal: 0 - 1000] Contrast=1000 # Link the key lights to the backlight? [default: on; legal: on, off] #LinkLights=off # Light the keys? [default: on; legal: on, off] Keylights=on # If Keylights is on, the you can unlight specific keys below: # Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. # There is no LED for the +/- keys. This is a handy way to indicate to users # which keys are disabled. [default: on; legal: on, off] Key0Light=on Key1Light=on Key2Light=on Key3Light=on Key4Light=on Key5Light=on # Host name or IP address of the LIRC instance that is to receive IR codes # If not set, or set to an empty value, IR support is disabled. #LircHost=127.0.0.1 # UDP port on which LIRC is listening [default: 8765; legal: 1 - 65535] LircPort=8765 # UDP data time unit for LIRC [default: off; legal: on, off] # On: times sent in microseconds (requires LIRC UDP driver that accepts this). # Off: times sent in 'jiffies' (1/16384s) (supported by standard LIRC UDP driver). LircTime_us=on # Threshold in microseconds of the gap that triggers flushing the IR data # to lirc [default: 8000; legal: 1000 - ] # If LircTime_us is on values greater than 32.767ms will disable the flush # If LircTime_us is off values greater than 1.999938s will disable the flush LircFlushThreshold=10000 ## Pyramid LCD driver ## [pyramid] # device to connect to [default: /dev/lcd] Device=/dev/ttyUSB0 ## rawserial driver ## [rawserial] # Select the output device to use [default: /dev/cuaU0] Device=/dev/ttyS0 # Serial port baudrate [default: 9600] Speed=9600 # Specifies the size of the LCD. If this driver is loaded as a secondary driver # it always adopts to the size of the primary driver. If loaded as the only # (or primary) driver, the size can be set. [default: 40x4] #Size=16x2 # How often to dump the LCD contents out the port, in Hertz (times per second) # 1 = once per second, 4 is 4 times per second, 0.1 is once every 10 seconds. # [default: 1; legal: 0.0005 - 10] UpdateRate=1 ## SDEC driver for Watchguard Firebox ## [sdeclcd] # No options ## Seiko Epson 1330 driver ## [sed1330] # Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC Port=0x378 # Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002) # Note: Currently only tested with G321D & SP14Q002. Type=G321D # Width x Height of a character cell in pixels [legal: 6x7 - 8x16; default: 6x10] CellSize=6x10 # Select what type of connection [legal: classic, bitshaker; default: classic] ConnectionType=classic ## Seiko Epson 1520 driver ## [sed1520] # Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC Port=0x378 # Select the interface type (wiring) for the display. Supported values are # 68 for 68-style connection (RESET level high) and 80 for 80-style connection # (RESET level low). [legal: 68, 80; default: 80] InterfaceType=80 # On fast machines it may be necessary to slow down transfer to the display. # If this value is set to zero, delay is disabled. Any value greater than # zero slows down each write by one microsecond. [legal: 0-1000; default: 1] DelayMult=0 # The original wiring used an inverter to drive the control lines. If you do # not use an inverter set haveInverter to no. [default: yes; legal: yes, no] HaveInverter=no # On some displays column data in memory is mapped to segment lines from right # to left. This is called inverted mapping (not to be confused with # 'haveInverter' from above). [default: no; legal: yes, no] #InvertedMapping=yes # At least one display is reported (Everbouquet MG1203D) that requires sending # three times 0xFF before a reset during initialization. # [default: no; legal: yes, no] #UseHardReset=yes ## serial POS display driver ## [serialPOS] # Device to use in serial mode [default: /dev/lcd] Device=/dev/lcd # Specifies the size of the display in characters. [default: 16x2] Size=16x2 # Set the communication protocol to use with the POS display. # [default: AEDEX; legal: IEE, Epson, Emax, IBM, LogicControls, Ultimate] Type=AEDEX # communication baud rate with the display [default: 9600; legal: 1200, 2400, # 19200, 115200] Speed=9600 ## Serial VFD driver ## ## Drives various (see below) serial 5x7dot VFD's. ## [serialVFD] # Specifies the displaytype.[default: 0] # 0 NEC (FIPC8367 based) VFDs. # 1 KD Rev 2.1. # 2 Noritake VFDs (*). # 3 Futaba VFDs # 4 IEE S03601-95B # 5 IEE S03601-96-080 (*) # 6 Futaba NA202SD08FA (allmost IEE compatible) # 7 Samsung 20S207DA4 and 20S207DA6 # 8 Nixdorf BA6x / VT100 # (* most should work, not tested yet.) Type=0 # "no" if display connected serial, "yes" if connected parallel. [default: no] # I.e. serial by default use_parallel=no # Number of Custom-Characters. default is display type dependent #Custom-Characters=0 # Portaddress where the LPT is. Used in parallel mode only. Usual values are # 0x278, 0x378 and 0x3BC. Port=0x378 # Set parallel port timing delay (us). Used in parallel mode only. # [default: 2; legal: 0 - 255] #PortWait=2 # Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1 Device=/dev/ttyS1 # Specifies the size of the VFD. Size=20x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] # (4 steps 0-250, 251-500, 501-750, 751-1000) Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive # (4 steps 0-250, 251-500, 501-750, 751-1000) OffBrightness=0 # set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # enable ISO 8859 1 compatibility [default: yes; legal: yes, no] #ISO_8859_1=yes ## shuttleVFD driver ## [shuttleVFD] # No options ## stv5730 driver ## [stv5730] # Port the device is connected to [default: 0x378] Port=0x378 [SureElec] # Port the device is connected to (by default first USB serial port) Device=/dev/ttyUSB0 # Edition level of the device (can be 1, 2 or 3) [default: 2] #Edition=1 # set display size # Note: The size can be obtained directly from device for edition 2 & 3. #Size=16x2 # Set the initial contrast [default: 480; legal: 0 - 1000] #Contrast=200 # Set the initial brightness [default: 480; legal: 1 - 1000] #Brightness=480 # Set the initial off-brightness [default: 100; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive #OffBrightness=100 ## SVGAlib driver ## [svga] # svgalib mode to use [default: G320x240x256 ] # legal values are supported svgalib modes #Mode=G640x480x256 # set display size [default: 20x4] Size=20x4 # Set the initial contrast [default: 500; legal: 0 - 1000] # Can be set but does not change anything internally Contrast=500 # Set the initial brightness [default: 1000; legal: 1 - 1000] Brightness=1000 # Set the initial off-brightness [default: 500; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=500 ## Text driver ## [text] # Set the display size [default: 20x4] Size=20x4 ## Toshiba T6963 driver ## [t6963] # set display size in pixels [default: 128x64] Size=128x64 # port to use [default: 0x378; legal: 0x200 - 0x400] Port=0x378 # Use LPT port in bi-directional mode. This should work on most LPT port and # is required for proper timing! [default: yes; legal: yes, no] #bidirectional=yes # Insert additional delays into reads / writes. [default: no; legal: yes, no] #delayBus=no # Clear graphic memory on start-up. [default: no; legal: yes, no] #ClearGraphic=no ## Tyan Barebones LCD driver (GS10 & GS12 series) ## [tyan] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 4800, 9600] Speed=9600 # set display size [default: 16x2] 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 ## Wirz SLI LCD driver ## [sli] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, # 38400, 57600, 115200] Speed=19200 ## vlsys_m428 for VFD/IR combination in Moneual MonCaso 320 ## [vlsys_m428] # Select the output device to use [default: /dev/ttyUSB0] #Device=/dev/ttyUSB0 ## OnScreen Display using libxosd ## [xosd] # set display size [default: 20x4] Size=20x4 # Offset in pixels from the top-left corner of the monitor [default: 0x0] Offset=200x200 # X font to use, in XLFD format, as given by "xfontsel" Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-* ## Y.A.R.D.2 LCD section [yard2LCD] Size=20x4 # If rendering rate is too high, change in server\main.h #define RENDER_FREQ 8 to "1" # EOF Config-Model-LcdProc-2.053/META.json0000644000175000017500000000316714002556113015401 0ustar domidomi{ "abstract" : "Edit and validate LcdProc configuration file", "author" : [ "Dominique Dumont" ], "dynamic_config" : 0, "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", "license" : [ "lgpl_2_1" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : 2 }, "name" : "Config-Model-LcdProc", "prereqs" : { "build" : { "requires" : { "Module::Build" : "0.34" } }, "configure" : { "requires" : { "Config::Model" : "2.141", "Config::Model::Itself" : "2.022", "Getopt::Long" : "0", "Module::Build" : "0.34", "Path::Tiny" : "0" } }, "runtime" : { "requires" : { "Config::Model" : "2.022", "perl" : "5.010" } }, "test" : { "requires" : { "Config::Model::Tester" : "3.006" } } }, "release_status" : "stable", "resources" : { "bugtracker" : { "mailto" : "ddumont@cpan.org", "web" : "https://github.com/dod38fr/config-model-lcdproc/issues" }, "homepage" : "https://github.com/dod38fr/config-model/wiki", "repository" : { "type" : "git", "url" : "git://github.com/dod38fr/config-model-lcdproc.git", "web" : "http://github.com/dod38fr/config-model-lcdproc" } }, "version" : "2.053", "x_generated_by_perl" : "v5.32.0", "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", "x_spdx_expression" : "LGPL-2.1" } Config-Model-LcdProc-2.053/weaver.ini0000644000175000017500000000022014002556113015735 0ustar domidomi[@Default] [-Transformer] transformer = List [Support] perldoc = 0 bugs = metadata websites = search,ratings,kwalitee,testers,testmatrix,deps Config-Model-LcdProc-2.053/Changes0000644000175000017500000001076314002556113015253 0ustar domidomi2.053 2021-01-22 Bug fix: * no longer show quotes in values (require Config::Model 2.022) Other changes: * update copyright year * update dependency versions in model generator * added README file for the test suite 2.052 2017-10-05 Update following the deprecation done recently in Config::Model: * use new rw_config parameter in model generator, thus generated LCDd models also use the new rw_config parameter * runtime requires Config::Model 2.111 * build also requires Config::Model::Itself 2.012 2.051 2017-08-27 Updated for lcdproc 0.5.9: * update with LCDd.conf from lcdproc 0.5.9 * Fix 2 comments in LCDd.conf to fix model generation * Regenerated models Other changes: * handle list parameter LCDd::linux_input/key * added links in pod doc and README file * add -file option to model generator script (lcdconf2model.pl) * update copyright year of generated model * dist.ini: update copyright year 2.050 2016-09-17 Bug fix: * model generator: fix call to load (gh #2). (Thanks Slaven Rezić) * fix doc typo in LCDd.conf 2.049 2016-07-15 * merge gen_LCDd_model in lcdconf2model (gh #1) * update © years of generated model * remove obsolete text in description 2.048 2016-07-13 Usability improvements: * added CONTRIBUTING.md * gen_LCDd_model: use exec instead of require to get correct error message when model generation fails Bug fix: * adapted model generation to new warp parameter (Debian #829442) 2.047 2016-03-08 Bug fix: let Config::Model initialise log4perl during model generation to avoid failure when ~/.log4configmodel does not exist 2.046 2016-01-25 Fix dist.ini to update Config::Model dependency correctly (i.e. >= v 2.076) 2.045 2016-01-24 This release fix a limitation of "cme edit lcdproc". User can now enable more than one driver (i.e. set lirc and imonlcd drivers) (this requires Config::Model 2.076) 2.044 2016-01-02 * Fix pod documentation re-generation which broke smoke tests on solaris. 2.043 2015-12-31 Bug fix release to cope with a change on Config::Model::Iself. The scripts used to generate lcdproc model will now complain in case of issue: * gen_LCDd_model: use new cm_lib_dir param (Debian #808853) * require Config::Model::Itself >= 2.001 * Build.PL: exit 1 when model generation fails * gen_LCDd_model: exit 1 when model generation fails The model generator changes are: * specs specified between {...} can override specs specified between [...]. New syntax : {% and %} * specify value type in all cases * handle specs between [ and ] that span several lines In case of issue, please now use github bug tracker: https://github.com/dod38fr/config-model-lcdproc/issues 2.042 2014-05-25 The lcdproc model of this release is made for ldcproc 0.5.7. Only a very small modification of LCDd.conf comments was required to be able to generate a complete lcdproc model from LCDd.conf. Changes: * Build.PL: run script/gen_LCDd_model.pl at build time * AnyEvent is no longer needed in tests * LCDd.conf: modified comment to avoid Device being interpreted as list ... * lcdconf2model: improved parsing of legal spec from LCDd.conf comments 2.041 2014-01-24 * require perl 5.10 (like Config::Model) * LCDd model generator: * off,on values are now boolean. cme will be more tolerant on input values (e.g. 'no' will be converted to 'off') * removed [.*] from generated doc of LCDd configuration elements 2.040 2013-09-22 * LCDd.conf v0.5.6 patches: * Specify yes/no as legal values for Foreground (so it becomes a boolean) * specify ReportLevel default value is square brackets * LCDd model generator: * yes,no values are now boolean (requires Config::Model 2.043) * ignore default value from file when square brackets are specified * don't initialise Hello and GoodBye arrays * default value mentioned in square brackets are used as upstream_default * tweak model to ensure that DriverPath will end with a slash * test upgrade from original lcdproc config file with 0.5.5 and 0.5.6 2.039 2013-06-19 * model_test.t: avoid warnings in smoke tests * updated doc * model generator: fixed comments * model generator: updated (c) years 0.001 2013-06-15 * imported LCDd.conf from lcdproc 0.5.6 * LCDd.conf: removed extra comment that trips model generation See Config::Model Changes for older logs Config-Model-LcdProc-2.053/CONTRIBUTING.md0000644000175000017500000000656714002556113016220 0ustar domidomi# How to contribute # ## Ask questions ## Yes, asking questions is a form of contribution that helps the author improve documentation. Feel free to ask questions by sending a mail to the [author](mailto:ddumont@cpan.org) ## Log a bug ## Please report issue on https://github.com/dod38fr/config-model-lcdproc/issues ## Source code structure ## The main parts of this modules are: * `lcdproc/LCDd.conf`: LcdProc config file copied from LcdProc source * `script/lcdconf2model.pl`: analyses the above LCDd.conf and generates LcdProc model. See also this [blog](https://ddumont.wordpress.com/2011/07/03/generate-a-configuration-editor-from-a-config-template-file-with-perl-lcdproc-example/) * `script/gen_LCDd_model.pl`: used during build to check whether LcdProc model need to be (re)generated * `lib/Config/Model/system.d/`: declares the applications that `cme` can configure with this package * `lib/Config/Model/LcdProc.pm`: the "main" file of the Perl package. Mostly contains docuementation. * `lib/Config/Model/models/**.pl`: LcdProc model generated by `script/lcdconf2model.pl`. These files can be viewed with `cme meta edit` command. To change this model, either edit `LCDd.conf` comments or `lcdconf2model.pl`. The model structure can be viewed with `cme meta gen-dot` and `dot -Tps model.dot > model.ps` * `lib/Config/Model/models/**.pod`: the doc of the above models. Can be re-generated with `cme gen_class_pod` * `t`: test files. Run the tests with `prove -l t` * `t/model_tests.d` test the application delivered with this module using [Config::Model::Tester](http://search.cpan.org/dist/Config-Model-Tester/lib/Config/Model/Tester.pm). Use `prove -l t/model_test.t` command to run only model tests. ## Edit source code from github ## If you have a github account, you can clone a repo and prepare a pull-request. You can: * run `git clone https://github.com/dod38fr/config-model-lcdproc/` * edit files * run `prove -l t` to run non-regression tests There's no need to worry about `dzil`, `Dist::Zilla` or `dist.ini` files. These are useful to prepare a new release, but not to fix bugs. ## Edit source code from Debian source package ## You can also prepare a patch using Debian source package: For instance: * download and unpack `apt-get source libconfig-model-lcdproc-perl` * jump in `cd libconfig-model-lcdproc-perl-2.xxx` * useful to create a patch later: `git init` * commit all files: `git add -A ; git commit -m"committed all"` * edit files * run `prove -l t` to run non-regression tests * run `git diff` and send the output to the [author](mailto:ddumont@cpan.org) ## Edit source code from Debian source package or CPAN tarball ## Non Debian users can also prepare a patch using CPAN tarball: * Download tar file from http://search.cpan.org * unpack tar file with something like `tar axvf Config-Model-LcdProc-2.xxx.tar.gz` * jump in `cd Config-Model-LcdProc-2.xxx` * useful to create a patch later: `git init` * commit all files: `git add -A ; git commit -m"committed all"` * edit files * run `prove -l t` to run non-regression tests * run `git diff` and send the output to the [author](mailto:ddumont@cpan.org) ## Provide feedback ## Feedback is important. Please take a moment to rate, comment or add stars to this project: * [config-model github](https://github.com/dod38fr/config-model-lcdproc) or [config-model cpan ratings](http://cpanratings.perl.org/rate/?distribution=Config::Model::LcdProc) Config-Model-LcdProc-2.053/MANIFEST.SKIP0000644000175000017500000000016514002556113015651 0ustar domidomi^debian/ ~$ \.ptkdb$ \.old$ dist.ini libconfig _build \.orig$ ^MYMETA.yml$ blib wr_root \.rej$ README.build-from-git Config-Model-LcdProc-2.053/README.pod0000644000175000017500000000136114002556113015413 0ustar domidomi=head1 Config::Model::LcdProc - Editor for LcdProc configuration This module provides a graphical configuration editor for L configuration file (C). =head2 Usage See L =head2 Main dependencies =over =item * L =item * L =back Once this module is installed, you can run: # cme edit lcdproc If L fails to load your C, you can try L with C<-force> option. =head2 Installation from git See L file Config-Model-LcdProc-2.053/Build.PL0000644000175000017500000000371514002556113015253 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use Module::Build; use warnings; use strict; require 5.010001 ; # check that pod docs are up-to-date this is redundant with work done by # dzil. But this enable to re-build the docs downstream. # Use $^X in there as requested in # https://rt.cpan.org/Public/Bug/Display.html?id=74891 my $class = Module::Build->subclass( class => "Module::Build::Custom", code => <<'SUBCLASS' ); sub ACTION_build { my $self = shift; # regenerate LCDd model (requires Config::Model 2.026) system ($^X, qw!script/lcdconf2model.pl!) == 0 or die "lcdconf2model failed: $?" ; # regenerate pod documentation for the model generated above system ($^X, '-MConfig::Model::Utils::GenClassPod', '-e','gen_class_pod();') == 0 or die "gen-class-pod failed: $?"; $self->SUPER::ACTION_build; } SUBCLASS my @version_info = @ARGV ? ( dist_version => $ARGV[0] ) : (); my %appli_files = map { ( $_, $_ ) } glob("lib/Config/Model/*.d/*"); my $build = $class->new( module_name => 'Config::Model::LcdProc', @version_info, license => 'lgpl', appli_files => \%appli_files, dist_abstract => 'configuration editor for lcdproc', dist_author => 'Dominique Dumont (ddumont at cpan dot org)', 'build_requires' => { 'Config::Model::Tester' => '3.006', 'Module::Build' => '0.34' }, 'configure_requires' => { 'Config::Model' => '2.141', 'Config::Model::Itself' => '2.022', 'Getopt::Long' => '0', 'Module::Build' => '0.34', 'Path::Tiny' => '0' }, 'requires' => { 'Config::Model' => '2.022', 'perl' => '5.010' }, add_to_cleanup => [ qw/wr_root/ ], ); $build->add_build_element('pl'); $build->add_build_element('appli'); $build->create_build_script; Config-Model-LcdProc-2.053/lib/0000755000175000017500000000000014002556113014517 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/0000755000175000017500000000000014002556113015724 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/Model/0000755000175000017500000000000014002556113016764 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/Model/system.d/0000755000175000017500000000000014002556113020532 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/Model/system.d/lcdproc0000644000175000017500000000001514002556113022077 0ustar domidomimodel = LCDd Config-Model-LcdProc-2.053/lib/Config/Model/LcdProc.pm0000644000175000017500000000721514002556113020655 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # package Config::Model::LcdProc; $Config::Model::LcdProc::VERSION = '2.053'; use 5.10.1; use Config::Model 2.022; 1; # ABSTRACT: Edit and validate LcdProc configuration file __END__ =pod =encoding UTF-8 =head1 NAME Config::Model::LcdProc - Edit and validate LcdProc configuration file =head1 VERSION version 2.053 =head1 SYNOPSIS =head2 invoke editor The following command will load C and launch a graphical editor: cme edit lcdproc =head2 Just check lcdproc configuration You can also use L to run sanity checks on the configuration file: cme check lcdproc =head2 Fix warnings When run, cme may issue several warnings regarding the content of your file. You can choose to fix (most of) these warnings with the command: cme fix lcdproc =head1 DESCRIPTION This module provides a configuration editor (and models) for the configuration file of LcdProc, i.e. C. This module can also be used to modify safely the content of this file from a Perl programs. For more details, see L =head1 SEE ALSO =over =item * http://lcdproc.omnipotent.net/ =item * L =item * L =item * http://github.com/dod38fr/config-model/wiki/Using-config-model =item * L =back =head1 AUTHOR Dominique Dumont =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2013-2021 by Dominique Dumont. This is free software, licensed under: The GNU Lesser General Public License, Version 2.1, February 1999 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan =head1 SUPPORT =head2 Websites The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources. =over 4 =item * CPANTS The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. L =item * CPAN Testers The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions. L =item * CPAN Testers Matrix The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. L =item * CPAN Testers Dependencies The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. L =back =head2 Bugs / Feature Requests Please report any bugs or feature requests by email to C, or through the web interface at L. You will be automatically notified of any progress on the request by the system. =head2 Source Code The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :) L git clone git://github.com/dod38fr/config-model-lcdproc.git =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/0000755000175000017500000000000014002556113020247 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/Model/models/LCDd.pod0000644000175000017500000002276414002556113021534 0ustar domidomi# PODNAME: Config::Model::models::LCDd # ABSTRACT: Configuration class LCDd =encoding utf8 =head1 NAME Config::Model::models::LCDd - Configuration class LCDd =head1 DESCRIPTION Configuration classes used by L Model information was extracted from /etc/LCDd.conf =head1 Elements =head2 server I< Optional. Type node of class L . > =head2 CFontz I< Optional. Type warped_node of class L . > =head2 CFontzPacket I< Optional. Type warped_node of class L . > =head2 CwLnx I< Optional. Type warped_node of class L . > =head2 EyeboxOne I< Optional. Type warped_node of class L . > =head2 IOWarrior I< Optional. Type warped_node of class L . > =head2 IrMan I< Optional. Type warped_node of class L . > =head2 MD8800 I< Optional. Type warped_node of class L . > =head2 MtxOrb I< Optional. Type warped_node of class L . > =head2 NoritakeVFD I< Optional. Type warped_node of class L . > =head2 Olimex_MOD_LCD1x9 I< Optional. Type warped_node of class L . > =head2 SureElec I< Optional. Type warped_node of class L . > =head2 bayrad I< Optional. Type warped_node of class L . > =head2 curses I< Optional. Type warped_node of class L . > =head2 ea65 I< Optional. Type warped_node of class L . > =head2 futaba I< Optional. Type warped_node of class L . > =head2 g15 I< Optional. Type warped_node of class L . > =head2 glcd I< Optional. Type warped_node of class L . > =head2 glcdlib I< Optional. Type warped_node of class L . > =head2 glk I< Optional. Type warped_node of class L . > =head2 hd44780 I< Optional. Type warped_node of class L . > =head2 icp_a106 I< Optional. Type warped_node of class L . > =head2 imon I< Optional. Type warped_node of class L . > =head2 imonlcd I< Optional. Type warped_node of class L . > =head2 irtrans I< Optional. Type warped_node of class L . > =head2 joy I< Optional. Type warped_node of class L . > =head2 lb216 I< Optional. Type warped_node of class L . > =head2 lcdm001 I< Optional. Type warped_node of class L . > =head2 lcterm I< Optional. Type warped_node of class L . > =head2 linux_input I< Optional. Type warped_node of class L . > =head2 lirc I< Optional. Type warped_node of class L . > =head2 lis I< Optional. Type warped_node of class L . > =head2 mdm166a I< Optional. Type warped_node of class L . > =head2 menu I< Optional. Type node of class L . > =head2 ms6931 I< Optional. Type warped_node of class L . > =head2 mtc_s16209x I< Optional. Type warped_node of class L . > =head2 mx5000 I< Optional. Type warped_node of class L . > =head2 picolcd I< Optional. Type warped_node of class L . > =head2 pyramid I< Optional. Type warped_node of class L . > =head2 rawserial I< Optional. Type warped_node of class L . > =head2 sdeclcd I< Optional. Type warped_node of class L . > =head2 sed1330 I< Optional. Type warped_node of class L . > =head2 sed1520 I< Optional. Type warped_node of class L . > =head2 serialPOS I< Optional. Type warped_node of class L . > =head2 serialVFD I< Optional. Type warped_node of class L . > =head2 shuttleVFD I< Optional. Type warped_node of class L . > =head2 sli I< Optional. Type warped_node of class L . > =head2 stv5730 I< Optional. Type warped_node of class L . > =head2 svga I< Optional. Type warped_node of class L . > =head2 t6963 I< Optional. Type warped_node of class L . > =head2 text I< Optional. Type warped_node of class L . > =head2 tyan I< Optional. Type warped_node of class L . > =head2 ula200 I< Optional. Type warped_node of class L . > =head2 vlsys_m428 I< Optional. Type warped_node of class L . > =head2 xosd I< Optional. Type warped_node of class L . > =head2 yard2LCD I< Optional. Type warped_node of class L . > =head1 SEE ALSO =over =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =back =head1 COPYRIGHT =over =item 2011-2017, Dominique Dumont =item 1999-2017, William Ferrell and others =back =head1 LICENSE =over =item GPL-2 =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd.pl0000644000175000017500000005342714002556113021365 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => ' Model information was extracted from /etc/LCDd.conf', 'copyright' => [ '2011-2017, Dominique Dumont', '1999-2017, William Ferrell and others' ], 'element' => [ 'server', { 'config_class_name' => 'LCDd::server', 'type' => 'node' }, 'CFontz', { 'config_class_name' => 'LCDd::CFontz', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'CFontz\')', { 'level' => 'normal' } ] } }, 'CFontzPacket', { 'config_class_name' => 'LCDd::CFontzPacket', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'CFontzPacket\')', { 'level' => 'normal' } ] } }, 'CwLnx', { 'config_class_name' => 'LCDd::CwLnx', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'CwLnx\')', { 'level' => 'normal' } ] } }, 'EyeboxOne', { 'config_class_name' => 'LCDd::EyeboxOne', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'EyeboxOne\')', { 'level' => 'normal' } ] } }, 'IOWarrior', { 'config_class_name' => 'LCDd::IOWarrior', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'IOWarrior\')', { 'level' => 'normal' } ] } }, 'IrMan', { 'config_class_name' => 'LCDd::IrMan', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'IrMan\')', { 'level' => 'normal' } ] } }, 'MD8800', { 'config_class_name' => 'LCDd::MD8800', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'MD8800\')', { 'level' => 'normal' } ] } }, 'MtxOrb', { 'config_class_name' => 'LCDd::MtxOrb', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'MtxOrb\')', { 'level' => 'normal' } ] } }, 'NoritakeVFD', { 'config_class_name' => 'LCDd::NoritakeVFD', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'NoritakeVFD\')', { 'level' => 'normal' } ] } }, 'Olimex_MOD_LCD1x9', { 'config_class_name' => 'LCDd::Olimex_MOD_LCD1x9', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'Olimex_MOD_LCD1x9\')', { 'level' => 'normal' } ] } }, 'SureElec', { 'config_class_name' => 'LCDd::SureElec', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'SureElec\')', { 'level' => 'normal' } ] } }, 'bayrad', { 'config_class_name' => 'LCDd::bayrad', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'bayrad\')', { 'level' => 'normal' } ] } }, 'curses', { 'config_class_name' => 'LCDd::curses', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'curses\')', { 'level' => 'normal' } ] } }, 'ea65', { 'config_class_name' => 'LCDd::ea65', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'ea65\')', { 'level' => 'normal' } ] } }, 'futaba', { 'config_class_name' => 'LCDd::futaba', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'futaba\')', { 'level' => 'normal' } ] } }, 'g15', { 'config_class_name' => 'LCDd::g15', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'g15\')', { 'level' => 'normal' } ] } }, 'glcd', { 'config_class_name' => 'LCDd::glcd', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'glcd\')', { 'level' => 'normal' } ] } }, 'glcdlib', { 'config_class_name' => 'LCDd::glcdlib', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'glcdlib\')', { 'level' => 'normal' } ] } }, 'glk', { 'config_class_name' => 'LCDd::glk', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'glk\')', { 'level' => 'normal' } ] } }, 'hd44780', { 'config_class_name' => 'LCDd::hd44780', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'hd44780\')', { 'level' => 'normal' } ] } }, 'icp_a106', { 'config_class_name' => 'LCDd::icp_a106', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'icp_a106\')', { 'level' => 'normal' } ] } }, 'imon', { 'config_class_name' => 'LCDd::imon', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'imon\')', { 'level' => 'normal' } ] } }, 'imonlcd', { 'config_class_name' => 'LCDd::imonlcd', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'imonlcd\')', { 'level' => 'normal' } ] } }, 'irtrans', { 'config_class_name' => 'LCDd::irtrans', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'irtrans\')', { 'level' => 'normal' } ] } }, 'joy', { 'config_class_name' => 'LCDd::joy', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'joy\')', { 'level' => 'normal' } ] } }, 'lb216', { 'config_class_name' => 'LCDd::lb216', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'lb216\')', { 'level' => 'normal' } ] } }, 'lcdm001', { 'config_class_name' => 'LCDd::lcdm001', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'lcdm001\')', { 'level' => 'normal' } ] } }, 'lcterm', { 'config_class_name' => 'LCDd::lcterm', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'lcterm\')', { 'level' => 'normal' } ] } }, 'linux_input', { 'config_class_name' => 'LCDd::linux_input', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'linux_input\')', { 'level' => 'normal' } ] } }, 'lirc', { 'config_class_name' => 'LCDd::lirc', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'lirc\')', { 'level' => 'normal' } ] } }, 'lis', { 'config_class_name' => 'LCDd::lis', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'lis\')', { 'level' => 'normal' } ] } }, 'mdm166a', { 'config_class_name' => 'LCDd::mdm166a', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'mdm166a\')', { 'level' => 'normal' } ] } }, 'menu', { 'config_class_name' => 'LCDd::menu', 'type' => 'node' }, 'ms6931', { 'config_class_name' => 'LCDd::ms6931', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'ms6931\')', { 'level' => 'normal' } ] } }, 'mtc_s16209x', { 'config_class_name' => 'LCDd::mtc_s16209x', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'mtc_s16209x\')', { 'level' => 'normal' } ] } }, 'mx5000', { 'config_class_name' => 'LCDd::mx5000', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'mx5000\')', { 'level' => 'normal' } ] } }, 'picolcd', { 'config_class_name' => 'LCDd::picolcd', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'picolcd\')', { 'level' => 'normal' } ] } }, 'pyramid', { 'config_class_name' => 'LCDd::pyramid', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'pyramid\')', { 'level' => 'normal' } ] } }, 'rawserial', { 'config_class_name' => 'LCDd::rawserial', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'rawserial\')', { 'level' => 'normal' } ] } }, 'sdeclcd', { 'config_class_name' => 'LCDd::sdeclcd', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'sdeclcd\')', { 'level' => 'normal' } ] } }, 'sed1330', { 'config_class_name' => 'LCDd::sed1330', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'sed1330\')', { 'level' => 'normal' } ] } }, 'sed1520', { 'config_class_name' => 'LCDd::sed1520', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'sed1520\')', { 'level' => 'normal' } ] } }, 'serialPOS', { 'config_class_name' => 'LCDd::serialPOS', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'serialPOS\')', { 'level' => 'normal' } ] } }, 'serialVFD', { 'config_class_name' => 'LCDd::serialVFD', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'serialVFD\')', { 'level' => 'normal' } ] } }, 'shuttleVFD', { 'config_class_name' => 'LCDd::shuttleVFD', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'shuttleVFD\')', { 'level' => 'normal' } ] } }, 'sli', { 'config_class_name' => 'LCDd::sli', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'sli\')', { 'level' => 'normal' } ] } }, 'stv5730', { 'config_class_name' => 'LCDd::stv5730', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'stv5730\')', { 'level' => 'normal' } ] } }, 'svga', { 'config_class_name' => 'LCDd::svga', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'svga\')', { 'level' => 'normal' } ] } }, 't6963', { 'config_class_name' => 'LCDd::t6963', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'t6963\')', { 'level' => 'normal' } ] } }, 'text', { 'config_class_name' => 'LCDd::text', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'text\')', { 'level' => 'normal' } ] } }, 'tyan', { 'config_class_name' => 'LCDd::tyan', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'tyan\')', { 'level' => 'normal' } ] } }, 'ula200', { 'config_class_name' => 'LCDd::ula200', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'ula200\')', { 'level' => 'normal' } ] } }, 'vlsys_m428', { 'config_class_name' => 'LCDd::vlsys_m428', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'vlsys_m428\')', { 'level' => 'normal' } ] } }, 'xosd', { 'config_class_name' => 'LCDd::xosd', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'xosd\')', { 'level' => 'normal' } ] } }, 'yard2LCD', { 'config_class_name' => 'LCDd::yard2LCD', 'level' => 'hidden', 'type' => 'warped_node', 'warp' => { 'follow' => { 'selected' => '- server Driver' }, 'rules' => [ '$selected.is_set(\'yard2LCD\')', { 'level' => 'normal' } ] } } ], 'license' => 'GPL-2', 'name' => 'LCDd', 'rw_config' => { 'backend' => 'IniFile', 'config_dir' => '/etc', 'file' => 'LCDd.conf', 'quote_value' => 'shell_style' } } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/0000755000175000017500000000000014002556113021015 5ustar domidomiConfig-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lcdm001.pod0000644000175000017500000000230214002556113022656 0ustar domidomi# PODNAME: Config::Model::models::LCDd::lcdm001 # ABSTRACT: Configuration class LCDd::lcdm001 =encoding utf8 =head1 NAME Config::Model::models::LCDd::lcdm001 - Configuration class LCDd::lcdm001 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 BackKey I< Optional. Type uniline. > =over 4 =item default value : UpKey =back =head2 Device I< Optional. Type uniline. > =over 4 =item default value : /dev/ttyS1 =back =head2 ForwardKey I< Optional. Type uniline. > =over 4 =item default value : DownKey =back =head2 MainMenuKey I< Optional. Type uniline. > =over 4 =item default value : RightKey =back =head2 PauseKey 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. I< Optional. Type uniline. > =over 4 =item default value : LeftKey =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lb216.pod0000644000175000017500000000161414002556113022351 0ustar domidomi# PODNAME: Config::Model::models::LCDd::lb216 # ABSTRACT: Configuration class LCDd::lb216 =encoding utf8 =head1 NAME Config::Model::models::LCDd::lb216 - Configuration class LCDd::lb216 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 255 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Reboot Reinitialize the LCD's BIOS I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '2400', '9600'. > =over 4 =item upstream_default value : 9600 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mtc_s16209x.pl0000644000175000017500000000206614002556113023255 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '255', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '255', 'value_type' => 'integer' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Reboot', { 'description' => 'Reinitialize the LCD\'s BIOS ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] } ], 'name' => 'LCDd::mtc_s16209x' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/g15.pod0000644000175000017500000000073014002556113022115 0ustar domidomi# PODNAME: Config::Model::models::LCDd::g15 # ABSTRACT: Configuration class LCDd::g15 =encoding utf8 =head1 NAME Config::Model::models::LCDd::g15 - Configuration class LCDd::g15 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 size Display size (currently unused) I< Optional. Type uniline. > =over 4 =item default value : 20x5 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/curses.pod0000644000175000017500000000260614002556113023031 0ustar domidomi# PODNAME: Config::Model::models::LCDd::curses # ABSTRACT: Configuration class LCDd::curses =encoding utf8 =head1 NAME Config::Model::models::LCDd::curses - Configuration class LCDd::curses =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Background background color when "backlight" is off I< Optional. Type uniline. > =over 4 =item upstream_default value : cyan =back =head2 Backlight background color when "backlight" is on I< Optional. Type uniline. > =over 4 =item upstream_default value : red =back =head2 DrawBorder draw Border I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 Foreground color settings foreground color I< Optional. Type uniline. > =over 4 =item upstream_default value : blue =back =head2 Size display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head2 TopLeftX What position (X,Y) to start the left top corner at... Default: (7,7) I< Optional. Type uniline. > =over 4 =item default value : 7 =back =head2 TopLeftY I< Optional. Type uniline. > =over 4 =item default value : 7 =back =head2 UseACS use ASC symbols for icons & bars I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sli.pl0000644000175000017500000000164014002556113022142 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200', '38400', '57600', '115200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '19200', 'value_type' => 'enum' } ], 'name' => 'LCDd::sli' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/EyeboxOne.pod0000644000175000017500000000363314002556113023423 0ustar domidomi# PODNAME: Config::Model::models::LCDd::EyeboxOne # ABSTRACT: Configuration class LCDd::EyeboxOne =encoding utf8 =head1 NAME Config::Model::models::LCDd::EyeboxOne - Configuration class LCDd::EyeboxOne =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight Switch on the backlight? I< Optional. Type uniline. > =over 4 =item upstream_default value : yes =back =head2 Cursor Switch on the cursor? I< Optional. Type uniline. > =over 4 =item upstream_default value : no =back =head2 Device Select the output device to use Device=/dev/cua01. I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/ttyS1 =back =head2 DownKey I< Optional. Type uniline. > =over 4 =item default value : B =back =head2 EscapeKey I< Optional. Type uniline. > =over 4 =item default value : P =back =head2 LeftKey Enter Key is a \r character, so it's hardcoded in the driver. I< Optional. Type uniline. > =over 4 =item default value : D =back =head2 RightKey I< Optional. Type uniline. > =over 4 =item default value : C =back =head2 Size Set the display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. > =over 4 =item upstream_default value : 19200 =back =head2 UpKey I< Optional. Type uniline. > =over 4 =item default value : A =back =head2 keypad_test_mode 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. I< Optional. Type uniline. > =over 4 =item default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glk.pod0000644000175000017500000000141614002556113022300 0ustar domidomi# PODNAME: Config::Model::models::LCDd::glk # ABSTRACT: Configuration class LCDd::glk =encoding utf8 =head1 NAME Config::Model::models::LCDd::glk - Configuration class LCDd::glk =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Contrast set the initial contrast value I< Optional. Type integer. > =over 4 =item upstream_default value : 560 =back =head2 Device select the serial device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Speed set the serial port speed I< Optional. Type enum. choice: '9600', '19200', '38400'. > =over 4 =item upstream_default value : 19200 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lcterm.pl0000644000175000017500000000117314002556113022642 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'default' => '/dev/ttyS1', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Size', { 'default' => '16x2', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::lcterm' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/bayrad.pod0000644000175000017500000000123314002556113022762 0ustar domidomi# PODNAME: Config::Model::models::LCDd::bayrad # ABSTRACT: Configuration class LCDd::bayrad =encoding utf8 =head1 NAME Config::Model::models::LCDd::bayrad - Configuration class LCDd::bayrad =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. > =over 4 =item upstream_default value : 9600 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/server.pod0000644000175000017500000001341214002556113023030 0ustar domidomi# PODNAME: Config::Model::models::LCDd::server # ABSTRACT: Configuration class LCDd::server =encoding utf8 =head1 NAME Config::Model::models::LCDd::server - Configuration class LCDd::server =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 AutoRotate If set to no, LCDd will start with screen rotation disabled. This has the same effect as if the ToggleRotateKey had been pressed. Rotation will start if the ToggleRotateKey is pressed. Note that this setting does not turn off priority sorting of screens. I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 Backlight Set master backlight setting. If set to 'open' a client may control the backlight for its own screens (only). I< Optional. Type enum. choice: 'off', 'open', 'on'. > =over 4 =item upstream_default value : open =back =head2 Bind Tells the driver to bind to the given interface. I< Optional. Type uniline. > =over 4 =item upstream_default value : 127.0.0.1 =back =head2 Driver Tells the server to load the given drivers. Multiple lines can be given. The name of the driver is case sensitive and determines the section where to look for further configuration options of the specific driver as well as the name of the dynamic driver module to load at runtime. The latter one can be changed by giving a File= directive in the driver specific section. The following drivers are supported: bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, EyeboxOne, futaba, g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,, IOWarrior, irman, joy, lb216, lcdm001, lcterm, linux_input, lirc, lis, MD8800, mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd, yard2LCD. I< Optional. Type check_list. choice: 'bayrad', 'CFontz', 'CFontzPacket', 'curses', 'CwLnx', 'ea65', 'EyeboxOne', 'futaba', 'g15', 'glcd', 'glcdlib', 'glk', 'hd44780', 'icp_a106', 'imon', 'imonlcd', 'IOWarrior', 'irman', 'joy', 'lb216', 'lcdm001', 'lcterm', 'linux_input', 'lirc', 'lis', 'MD8800', 'mdm166a', 'ms6931', 'mtc_s16209x', 'MtxOrb', 'mx5000', 'NoritakeVFD', 'Olimex_MOD_LCD1x9', 'picolcd', 'pyramid', 'rawserial', 'sdeclcd', 'sed1330', 'sed1520', 'serialPOS', 'serialVFD', 'shuttleVFD', 'sli', 'stv5730', 'svga', 't6963', 'text', 'tyan', 'ula200', 'vlsys_m428', 'xosd', 'yard2LCD'. > =head2 DriverPath 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 ! I< Optional. Type uniline. > =over 4 =item default value : server/drivers/ =back =head2 Foreground The server will stay in the foreground if set to yes. I< Optional. Type uniline. > =over 4 =item upstream_default value : no,legal:yes,no =back =head2 FrameInterval Sets the interval in microseconds for updating the display. default is 125000 meaning 8Hz. I< Optional. Type uniline. > =over 4 =item upstream_default value : 125000 =back =head2 GoodBye I< Optional. Type list of uniline. > =head2 Heartbeat Set master heartbeat setting. If set to 'open' a client may control the heartbeat for its own screens (only). I< Optional. Type enum. choice: 'off', 'open', 'on'. > =over 4 =item upstream_default value : open =back =head2 Hello I< Optional. Type list of uniline. > =head2 NextScreenKey I< Optional. Type uniline. > =over 4 =item default value : Right =back =head2 Port Listen on this specified port. I< Optional. Type integer. > =over 4 =item upstream_default value : 13666 =back =head2 PrevScreenKey I< Optional. Type uniline. > =over 4 =item default value : Left =back =head2 ReportLevel Sets the reporting level; defaults to warnings and errors only. I< Optional. Type integer. > =over 4 =item upstream_default value : 2 =back =head2 ReportToSyslog Should we report to syslog instead of stderr? I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 ScrollDownKey I< Optional. Type uniline. > =over 4 =item upstream_default value : Down =back =head2 ScrollUpKey I< Optional. Type uniline. > =over 4 =item upstream_default value : Up =back =head2 ServerScreen 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. The special value 'blank' is similar to no, but only a blank screen is displayed. I< Optional. Type enum. choice: 'on', 'off', 'blank'. > =over 4 =item upstream_default value : on =back =head2 TitleSpeed set title scrolling speed I< Optional. Type integer. > =over 4 =item upstream_default value : 10 =back =head2 ToggleRotateKey The "...Key=" lines define what the server does with keypresses that don't go to any client. The ToggleRotateKey stops rotation of screens, while the PrevScreenKey and NextScreenKey go back / forward one screen (even if rotation is disabled. Assign the key string returned by the driver to the ...Key setting. These are the defaults: I< Optional. Type uniline. > =over 4 =item default value : Enter =back =head2 User User to run as. LCDd will drop its root privileges and run as this user instead. I< Optional. Type uniline. > =over 4 =item upstream_default value : nobody =back =head2 WaitTime Sets the default time in seconds to displays a screen. I< Optional. Type integer. > =over 4 =item upstream_default value : 4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ea65.pod0000644000175000017500000000162014002556113022260 0ustar domidomi# PODNAME: Config::Model::models::LCDd::ea65 # ABSTRACT: Configuration class LCDd::ea65 =encoding utf8 =head1 NAME Config::Model::models::LCDd::ea65 - Configuration class LCDd::ea65 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Device is fixed /dev/ttyS1 Width and Height are fixed 9x1 As the VFD is self luminescent we don't have a backlight But we can use the backlight functions to control the front LEDs Brightness 0 to 299 -> LEDs off Brightness 300 to 699 -> LEDs half bright Brightness 700 to 1000 -> LEDs full bright. I< Optional. Type uniline. > =over 4 =item default value : 500 =back =head2 OffBrightness OffBrightness is the the value used for the 'backlight off' state. I< Optional. Type uniline. > =over 4 =item default value : 0 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mx5000.pod0000644000175000017500000000124214002556113022451 0ustar domidomi# PODNAME: Config::Model::models::LCDd::mx5000 # ABSTRACT: Configuration class LCDd::mx5000 =encoding utf8 =head1 NAME Config::Model::models::LCDd::mx5000 - Configuration class LCDd::mx5000 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/hiddev0 =back =head2 WaitAfterRefresh Time to wait in ms after the refresh screen has been sent I< Optional. Type uniline. > =over 4 =item upstream_default value : 1000 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/menu.pod0000644000175000017500000000267514002556113022477 0ustar domidomi# PODNAME: Config::Model::models::LCDd::menu # ABSTRACT: Configuration class LCDd::menu =encoding utf8 =head1 NAME Config::Model::models::LCDd::menu - Configuration class LCDd::menu =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 DownKey I< Optional. Type uniline. > =over 4 =item default value : Down =back =head2 EnterKey I< Optional. Type uniline. > =over 4 =item default value : Enter =back =head2 LeftKey I< Optional. Type uniline. > =over 4 =item upstream_default value : Left =back =head2 MenuKey You can configure what keys the menu should use. Note that the MenuKey will be reserved exclusively, the others work in shared mode. Up to six keys are supported. The MenuKey (to enter and exit the menu), the EnterKey (to select values) and at least one movement keys are required. These are the default key assignments: I< Optional. Type uniline. > =over 4 =item default value : Escape =back =head2 PermissiveGoto If true the server allows transitions between different client's menus. I< Optional. Type enum. choice: 'true', 'false'. > =over 4 =item upstream_default value : false =back =head2 RightKey I< Optional. Type uniline. > =over 4 =item upstream_default value : Right =back =head2 UpKey I< Optional. Type uniline. > =over 4 =item default value : Up =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/rawserial.pl0000644000175000017500000000271214002556113023345 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/cuaU0', 'value_type' => 'uniline' }, 'Size', { 'description' => 'Specifies the size of the LCD. If this driver is loaded as a secondary driver it always adopts to the size of the primary driver. If loaded as the only (or primary) driver, the size can be set. ', 'type' => 'leaf', 'upstream_default' => '40x4', 'value_type' => 'uniline' }, 'Speed', { 'description' => 'Serial port baudrate ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'uniline' }, 'UpdateRate', { 'description' => 'How often to dump the LCD contents out the port, in Hertz (times per second) 1 = once per second, 4 is 4 times per second, 0.1 is once every 10 seconds.', 'max' => '10', 'min' => '0.0005', 'type' => 'leaf', 'upstream_default' => '1', 'value_type' => 'number' } ], 'name' => 'LCDd::rawserial' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/xosd.pl0000644000175000017500000000176114002556113022334 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Font', { 'default' => '-*-terminus-*-r-*-*-*-320-*-*-*-*-*', 'description' => 'X font to use, in XLFD format, as given by "xfontsel"', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Offset', { 'description' => 'Offset in pixels from the top-left corner of the monitor ', 'type' => 'leaf', 'upstream_default' => '0x0', 'value_type' => 'uniline' }, 'Size', { 'description' => 'set display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' } ], 'name' => 'LCDd::xosd' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sed1520.pl0000644000175000017500000000472414002556113022444 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'DelayMult', { 'description' => 'On fast machines it may be necessary to slow down transfer to the display. If this value is set to zero, delay is disabled. Any value greater than zero slows down each write by one microsecond. ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1', 'value_type' => 'integer' }, 'HaveInverter', { 'description' => 'The original wiring used an inverter to drive the control lines. If you do not use an inverter set haveInverter to no. ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'InterfaceType', { 'choice' => [ '68', '80' ], 'description' => 'Select the interface type (wiring) for the display. Supported values are 68 for 68-style connection (RESET level high) and 80 for 80-style connection (RESET level low). ', 'type' => 'leaf', 'upstream_default' => '80', 'value_type' => 'enum' }, 'InvertedMapping', { 'description' => 'On some displays column data in memory is mapped to segment lines from right to left. This is called inverted mapping (not to be confused with \'haveInverter\' from above). ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Port', { 'default' => '0x378', 'description' => 'Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC', 'type' => 'leaf', 'value_type' => 'uniline' }, 'UseHardReset', { 'description' => 'At least one display is reported (Everbouquet MG1203D) that requires sending three times 0xFF before a reset during initialization.', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] } ], 'name' => 'LCDd::sed1520' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sed1520.pod0000644000175000017500000000350314002556113022605 0ustar domidomi# PODNAME: Config::Model::models::LCDd::sed1520 # ABSTRACT: Configuration class LCDd::sed1520 =encoding utf8 =head1 NAME Config::Model::models::LCDd::sed1520 - Configuration class LCDd::sed1520 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 DelayMult On fast machines it may be necessary to slow down transfer to the display. If this value is set to zero, delay is disabled. Any value greater than zero slows down each write by one microsecond. I< Optional. Type integer. > =over 4 =item upstream_default value : 1 =back =head2 HaveInverter The original wiring used an inverter to drive the control lines. If you do not use an inverter set haveInverter to no. I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 InterfaceType Select the interface type (wiring) for the display. Supported values are 68 for 68-style connection (RESET level high) and 80 for 80-style connection (RESET level low). I< Optional. Type enum. choice: '68', '80'. > =over 4 =item upstream_default value : 80 =back =head2 InvertedMapping On some displays column data in memory is mapped to segment lines from right to left. This is called inverted mapping (not to be confused with 'haveInverter' from above). I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Port Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC. I< Optional. Type uniline. > =over 4 =item default value : 0x378 =back =head2 UseHardReset At least one display is reported (Everbouquet MG1203D) that requires sending three times 0xFF before a reset during initialization. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/NoritakeVFD.pod0000644000175000017500000000271514002556113023642 0ustar domidomi# PODNAME: Config::Model::models::LCDd::NoritakeVFD # ABSTRACT: Configuration class LCDd::NoritakeVFD =encoding utf8 =head1 NAME Config::Model::models::LCDd::NoritakeVFD - Configuration class LCDd::NoritakeVFD =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Device device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1. I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Parity Set serial data parity Meaning: 0(=none), 1(=odd), 2(=even) I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Reboot re-initialize the VFD I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Size Specifies the size of the LCD. I< Optional. Type uniline. > =over 4 =item default value : 20x4 =back =head2 Speed set the serial port speed I< Optional. Type uniline. > =over 4 =item upstream_default value : 9600,legal:1200,2400,9600,19200,115200 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/yard2LCD.pod0000644000175000017500000000071414002556113023067 0ustar domidomi# PODNAME: Config::Model::models::LCDd::yard2LCD # ABSTRACT: Configuration class LCDd::yard2LCD =encoding utf8 =head1 NAME Config::Model::models::LCDd::yard2LCD - Configuration class LCDd::yard2LCD =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Size I< Optional. Type uniline. > =over 4 =item default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/MtxOrb.pod0000644000175000017500000000571614002556113022745 0ustar domidomi# PODNAME: Config::Model::models::LCDd::MtxOrb # ABSTRACT: Configuration class LCDd::MtxOrb =encoding utf8 =head1 NAME Config::Model::models::LCDd::MtxOrb - Configuration class LCDd::MtxOrb =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Contrast Set the initial contrast NOTE: The driver will ignore this if the display is a vfd or vkd as they don't have this feature. I< Optional. Type uniline. > =over 4 =item upstream_default value : 480 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 KeyMap_A The following table translates from MtxOrb key letters to logical key names. By default no keys are mapped, meaning the keypad is not used at all. I< Optional. Type uniline. > =over 4 =item upstream_default value : Left =back =head2 KeyMap_B I< Optional. Type uniline. > =over 4 =item upstream_default value : Right =back =head2 KeyMap_C I< Optional. Type uniline. > =over 4 =item upstream_default value : Up =back =head2 KeyMap_D I< Optional. Type uniline. > =over 4 =item upstream_default value : Down =back =head2 KeyMap_E I< Optional. Type uniline. > =over 4 =item upstream_default value : Enter =back =head2 KeyMap_F I< Optional. Type uniline. > =over 4 =item upstream_default value : Escape =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Size Set the display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. > =over 4 =item upstream_default value : 19200 =back =head2 Type Set the display type I< Optional. Type enum. choice: 'lcd', 'lkd', 'vfd', 'vkd'. > =over 4 =item upstream_default value : lcd =back =head2 hasAdjustableBacklight Some old displays do not have an adjustable backlight but only can switch the backlight on/off. If you experience randomly appearing block characters, try setting this to false. I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 keypad_test_mode See the [menu] section for an explanation of the key mappings 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. I< Optional. Type uniline. > =over 4 =item default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/server.pl0000644000175000017500000001762714002556113022675 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'AutoRotate', { 'description' => 'If set to no, LCDd will start with screen rotation disabled. This has the same effect as if the ToggleRotateKey had been pressed. Rotation will start if the ToggleRotateKey is pressed. Note that this setting does not turn off priority sorting of screens. ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'Backlight', { 'choice' => [ 'off', 'open', 'on' ], 'description' => 'Set master backlight setting. If set to \'open\' a client may control the backlight for its own screens (only). ', 'type' => 'leaf', 'upstream_default' => 'open', 'value_type' => 'enum' }, 'Bind', { 'description' => 'Tells the driver to bind to the given interface. ', 'type' => 'leaf', 'upstream_default' => '127.0.0.1', 'value_type' => 'uniline' }, 'Driver', { 'choice' => [ 'bayrad', 'CFontz', 'CFontzPacket', 'curses', 'CwLnx', 'ea65', 'EyeboxOne', 'futaba', 'g15', 'glcd', 'glcdlib', 'glk', 'hd44780', 'icp_a106', 'imon', 'imonlcd', 'IOWarrior', 'irman', 'joy', 'lb216', 'lcdm001', 'lcterm', 'linux_input', 'lirc', 'lis', 'MD8800', 'mdm166a', 'ms6931', 'mtc_s16209x', 'MtxOrb', 'mx5000', 'NoritakeVFD', 'Olimex_MOD_LCD1x9', 'picolcd', 'pyramid', 'rawserial', 'sdeclcd', 'sed1330', 'sed1520', 'serialPOS', 'serialVFD', 'shuttleVFD', 'sli', 'stv5730', 'svga', 't6963', 'text', 'tyan', 'ula200', 'vlsys_m428', 'xosd', 'yard2LCD' ], 'description' => 'Tells the server to load the given drivers. Multiple lines can be given. The name of the driver is case sensitive and determines the section where to look for further configuration options of the specific driver as well as the name of the dynamic driver module to load at runtime. The latter one can be changed by giving a File= directive in the driver specific section. The following drivers are supported: bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, EyeboxOne, futaba, g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,, IOWarrior, irman, joy, lb216, lcdm001, lcterm, linux_input, lirc, lis, MD8800, mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd, yard2LCD', 'type' => 'check_list' }, 'DriverPath', { 'default' => 'server/drivers/', 'description' => '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 !', 'match' => '/$', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Foreground', { 'description' => 'The server will stay in the foreground if set to yes.', 'type' => 'leaf', 'upstream_default' => 'no,legal:yes,no', 'value_type' => 'uniline' }, 'FrameInterval', { 'description' => 'Sets the interval in microseconds for updating the display. default is 125000 meaning 8Hz', 'type' => 'leaf', 'upstream_default' => '125000', 'value_type' => 'uniline' }, 'GoodBye', { 'cargo' => { 'type' => 'leaf', 'value_type' => 'uniline' }, 'type' => 'list' }, 'Heartbeat', { 'choice' => [ 'off', 'open', 'on' ], 'description' => 'Set master heartbeat setting. If set to \'open\' a client may control the heartbeat for its own screens (only). ', 'type' => 'leaf', 'upstream_default' => 'open', 'value_type' => 'enum' }, 'Hello', { 'cargo' => { 'type' => 'leaf', 'value_type' => 'uniline' }, 'type' => 'list' }, 'NextScreenKey', { 'default' => 'Right', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Port', { 'description' => 'Listen on this specified port. ', 'type' => 'leaf', 'upstream_default' => '13666', 'value_type' => 'integer' }, 'PrevScreenKey', { 'default' => 'Left', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ReportLevel', { 'description' => 'Sets the reporting level; defaults to warnings and errors only.', 'max' => '5', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '2', 'value_type' => 'integer' }, 'ReportToSyslog', { 'description' => 'Should we report to syslog instead of stderr? ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'ScrollDownKey', { 'type' => 'leaf', 'upstream_default' => 'Down', 'value_type' => 'uniline' }, 'ScrollUpKey', { 'type' => 'leaf', 'upstream_default' => 'Up', 'value_type' => 'uniline' }, 'ServerScreen', { 'choice' => [ 'on', 'off', 'blank' ], 'description' => '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. The special value \'blank\' is similar to no, but only a blank screen is displayed. ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'enum' }, 'TitleSpeed', { 'description' => 'set title scrolling speed ', 'max' => '10', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '10', 'value_type' => 'integer' }, 'ToggleRotateKey', { 'default' => 'Enter', 'description' => 'The "...Key=" lines define what the server does with keypresses that don\'t go to any client. The ToggleRotateKey stops rotation of screens, while the PrevScreenKey and NextScreenKey go back / forward one screen (even if rotation is disabled. Assign the key string returned by the driver to the ...Key setting. These are the defaults:', 'type' => 'leaf', 'value_type' => 'uniline' }, 'User', { 'description' => 'User to run as. LCDd will drop its root privileges and run as this user instead. ', 'type' => 'leaf', 'upstream_default' => 'nobody', 'value_type' => 'uniline' }, 'WaitTime', { 'description' => 'Sets the default time in seconds to displays a screen. ', 'type' => 'leaf', 'upstream_default' => '4', 'value_type' => 'integer' } ], 'name' => 'LCDd::server' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lirc.pod0000644000175000017500000000121014002556113022444 0ustar domidomi# PODNAME: Config::Model::models::LCDd::lirc # ABSTRACT: Configuration class LCDd::lirc =encoding utf8 =head1 NAME Config::Model::models::LCDd::lirc - Configuration class LCDd::lirc =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 lircrc Specify an alternative location of the lircrc file I< Optional. Type uniline. > =over 4 =item upstream_default value : ~/.lircrc =back =head2 prog Must be the same as in your lircrc. I< Optional. Type uniline. > =over 4 =item upstream_default value : lcdd =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glcdlib.pod0000644000175000017500000000554214002556113023127 0ustar domidomi# PODNAME: Config::Model::models::LCDd::glcdlib # ABSTRACT: Configuration class LCDd::glcdlib =encoding utf8 =head1 NAME Config::Model::models::LCDd::glcdlib - Configuration class LCDd::glcdlib =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight Backlight if applicable. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 Brightness Brightness (in %) if applicable. I< Optional. Type uniline. > =over 4 =item default value : 50 =back =head2 CharEncoding character encoding to use. I< Optional. Type uniline. > =over 4 =item default value : iso8859-2 =back =head2 Contrast Contrast (in %) if applicable. I< Optional. Type uniline. > =over 4 =item default value : 50 =back =head2 Driver which graphical display supported by graphlcd-base to use (see /etc/graphlcd.conf for possible drivers) I< Optional. Type uniline. > =over 4 =item upstream_default value : image =back =head2 FontFile path to font file to use. I< Optional. Type uniline. > =over 4 =item default value : /usr/share/fonts/corefonts/courbd.ttf =back =head2 Invert invert light/dark pixels. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 MinFontFaceSize minimum size in pixels in which fonts should be rendered. I< Optional. Type uniline. > =over 4 =item default value : 7x12 =back =head2 PixelShiftX I< Optional. Type uniline. > =over 4 =item default value : 0 =back =head2 PixelShiftY I< Optional. Type uniline. > =over 4 =item default value : 2 =back =head2 ShowBigBorder border within the usable text area, for setting up TextResolution and MinFontFaceSize (if using FT2); border around the unused area. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 ShowDebugFrame turns on/off 1 pixel thick debugging. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 ShowThinBorder border around the unused area. I< Optional. Type uniline. > =over 4 =item default value : yes =back =head2 TextResolution 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, then 'DebugBorder' will automatically be turned on) I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x4 =back =head2 UpsideDown flip image upside down. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 UseFT2 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) I< Optional. Type uniline. > =over 4 =item default value : yes =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/picolcd.pl0000644000175000017500000001352114002556113022771 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'description' => 'Sets the initial state of the backlight upon start-up.', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'Brightness', { 'description' => 'Set the initial brightness . Works only with the 20x4 device', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Key0Light', { 'description' => 'If Keylights is on, the you can unlight specific keys below: Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. There is no LED for the +/- keys. This is a handy way to indicate to users which keys are disabled. ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'Key1Light', { 'default' => 'on', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Key2Light', { 'default' => 'on', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Key3Light', { 'default' => 'on', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Key4Light', { 'default' => 'on', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Key5Light', { 'default' => 'on', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyRepeatDelay', { 'description' => 'Key auto repeat is only available if the picoLCD driver is built with libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto repeat. Key auto repeat delay (time in ms from first key report to first repeat). Use zero to disable auto repeat. ', 'max' => '3000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '300', 'value_type' => 'integer' }, 'KeyRepeatInterval', { 'description' => 'Key auto repeat interval (time in ms between repeat reports). Only used if KeyRepeatDelay is not zero. ', 'max' => '3000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '200', 'value_type' => 'integer' }, 'KeyTimeout', { 'description' => 'KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When built with libusb-1.0 key and IR data is input asynchronously so there is no need to wait for the USB data. KeyTimeout is the time in ms that LCDd spends waiting for a key press before cycling through other duties. Higher values make LCDd use less CPU time and make key presses more detectable. Lower values make LCDd more responsive but a little prone to missing key presses. 500 (.5 second) is the default and a balanced value. ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '500', 'value_type' => 'integer' }, 'Keylights', { 'description' => 'Light the keys? ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'LinkLights', { 'description' => 'Link the key lights to the backlight? ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'LircFlushThreshold', { 'description' => 'Threshold in microseconds of the gap that triggers flushing the IR data to lirc If LircTime_us is on values greater than 32.767ms will disable the flush If LircTime_us is off values greater than 1.999938s will disable the flush', 'min' => '1000', 'type' => 'leaf', 'upstream_default' => '8000', 'value_type' => 'integer' }, 'LircHost', { 'description' => 'Host name or IP address of the LIRC instance that is to receive IR codes If not set, or set to an empty value, IR support is disabled.', 'type' => 'leaf', 'upstream_default' => '127.0.0.1', 'value_type' => 'uniline' }, 'LircPort', { 'description' => 'UDP port on which LIRC is listening ', 'max' => '65535', 'min' => '1', 'type' => 'leaf', 'upstream_default' => '8765', 'value_type' => 'integer' }, 'LircTime_us', { 'description' => 'UDP data time unit for LIRC On: times sent in microseconds (requires LIRC UDP driver that accepts this). Off: times sent in \'jiffies\' (1/16384s) (supported by standard LIRC UDP driver).', 'type' => 'leaf', 'upstream_default' => 'off', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'OffBrightness', { 'description' => 'Set the brightness while the backlight is \'off\' . Works only with the 20x4 device.', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' } ], 'name' => 'LCDd::picolcd' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/svga.pod0000644000175000017500000000224214002556113022461 0ustar domidomi# PODNAME: Config::Model::models::LCDd::svga # ABSTRACT: Configuration class LCDd::svga =encoding utf8 =head1 NAME Config::Model::models::LCDd::svga - Configuration class LCDd::svga =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Contrast Set the initial contrast Can be set but does not change anything internally. I< Optional. Type integer. > =over 4 =item upstream_default value : 500 =back =head2 Mode svgalib mode to use legal values are supported svgalib modes. I< Optional. Type uniline. > =over 4 =item upstream_default value : G320x240x256 =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 500 =back =head2 Size set display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/MD8800.pl0000644000175000017500000000243014002556113022171 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Device', { 'description' => 'device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/ttyS1', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Size', { 'description' => 'display size ', 'type' => 'leaf', 'upstream_default' => '16x2', 'value_type' => 'uniline' } ], 'name' => 'LCDd::MD8800' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ms6931.pod0000644000175000017500000000112514002556113022462 0ustar domidomi# PODNAME: Config::Model::models::LCDd::ms6931 # ABSTRACT: Configuration class LCDd::ms6931 =encoding utf8 =head1 NAME Config::Model::models::LCDd::ms6931 - Configuration class LCDd::ms6931 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/ttyS1 =back =head2 Size display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CwLnx.pod0000644000175000017500000000371014002556113022555 0ustar domidomi# PODNAME: Config::Model::models::LCDd::CwLnx # ABSTRACT: Configuration class LCDd::CwLnx =encoding utf8 =head1 NAME Config::Model::models::LCDd::CwLnx - Configuration class LCDd::CwLnx =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Keypad If you have a keypad connected. Keypad layout is currently not configureable from the config file. I< Optional. Type uniline. > =over 4 =item default value : yes =back =head2 Model Select the LCD model I< Optional. Type enum. choice: '12232', '12832', '1602'. > =over 4 =item upstream_default value : 12232 =back =head2 Reboot Reinitialize the LCD's BIOS normally you shouldn't need this. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Size Select the LCD size. Default depends on model: 12232: 20x4 12832: 21x4 1602: 16x2. I< Optional. Type uniline. > =over 4 =item default value : 20x4 =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '9600', '19200'. > =over 4 =item upstream_default value : 19200 =back =head2 keypad_test_mode If you have a non-standard keypad you can associate any keystrings to keys. There are 6 input keys in the CwLnx hardware that generate characters from 'A' to 'F'. The following is 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 keypad_test_mode permits one to test keypad assignment Default value is no. I< Optional. Type uniline. > =over 4 =item upstream_default value : yes =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/yard2LCD.pl0000644000175000017500000000077514002556113022727 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Size', { 'default' => '20x4', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::yard2LCD' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/xosd.pod0000644000175000017500000000144614002556113022503 0ustar domidomi# PODNAME: Config::Model::models::LCDd::xosd # ABSTRACT: Configuration class LCDd::xosd =encoding utf8 =head1 NAME Config::Model::models::LCDd::xosd - Configuration class LCDd::xosd =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Font X font to use, in XLFD format, as given by "xfontsel" I< Optional. Type uniline. > =over 4 =item default value : -*-terminus-*-r-*-*-*-320-*-*-*-*-* =back =head2 Offset Offset in pixels from the top-left corner of the monitor I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x0 =back =head2 Size set display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sli.pod0000644000175000017500000000125414002556113022312 0ustar domidomi# PODNAME: Config::Model::models::LCDd::sli # ABSTRACT: Configuration class LCDd::sli =encoding utf8 =head1 NAME Config::Model::models::LCDd::sli - Configuration class LCDd::sli =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '38400', '57600', '115200'. > =over 4 =item upstream_default value : 19200 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lis.pl0000644000175000017500000000313614002556113022144 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100%', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Lastline', { 'description' => 'Specifies if the last line is pixel addressable (yes) or it only controls an underline effect (no). ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'ProductID', { 'description' => 'USB Product ID Change only if testing a compatible device.', 'type' => 'leaf', 'upstream_default' => '0x6001', 'value_type' => 'uniline' }, 'Size', { 'description' => 'Columns by lines ', 'type' => 'leaf', 'upstream_default' => '20x2', 'value_type' => 'uniline' }, 'VendorID', { 'description' => 'USB Vendor ID Change only if testing a compatible device.', 'type' => 'leaf', 'upstream_default' => '0x0403', 'value_type' => 'uniline' } ], 'name' => 'LCDd::lis' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/IOWarrior.pl0000644000175000017500000000264714002556113023240 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'ExtendedMode', { 'description' => 'If you have an HD66712, a KS0073 or another \'almost HD44780-compatible\', set this flag to get into extended mode (4-line linear).', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'uniline' }, 'Lastline', { 'description' => 'Specifies if the last line is pixel addressable (yes) or it controls an underline effect (no). ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'SerialNumber', { 'description' => 'serial number. Must be exactly as listed by usbview (if not given, the 1st IOWarrior found gets used)', 'type' => 'leaf', 'upstream_default' => '00000674', 'value_type' => 'uniline' }, 'Size', { 'default' => '20x4', 'description' => 'display dimensions', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::IOWarrior' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lcdm001.pl0000644000175000017500000000260114002556113022511 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'BackKey', { 'default' => 'UpKey', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Device', { 'default' => '/dev/ttyS1', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ForwardKey', { 'default' => 'DownKey', 'type' => 'leaf', 'value_type' => 'uniline' }, 'MainMenuKey', { 'default' => 'RightKey', 'type' => 'leaf', 'value_type' => 'uniline' }, 'PauseKey', { 'default' => 'LeftKey', 'description' => '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', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::lcdm001' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/serialPOS.pod0000644000175000017500000000205414002556113023363 0ustar domidomi# PODNAME: Config::Model::models::LCDd::serialPOS # ABSTRACT: Configuration class LCDd::serialPOS =encoding utf8 =head1 NAME Config::Model::models::LCDd::serialPOS - Configuration class LCDd::serialPOS =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Device to use in serial mode I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Size Specifies the size of the display in characters. I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x2 =back =head2 Speed communication baud rate with the display I< Optional. Type enum. choice: '1200', '2400', '19200', '115200'. > =over 4 =item upstream_default value : 9600 =back =head2 Type Set the communication protocol to use with the POS display. I< Optional. Type enum. choice: 'IEE', 'Epson', 'Emax', 'IBM', 'LogicControls', 'Ultimate'. > =over 4 =item upstream_default value : AEDEX =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/futaba.pl0000644000175000017500000000055214002556113022616 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'name' => 'LCDd::futaba' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/g15.pl0000644000175000017500000000106414002556113021747 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'size', { 'default' => '20x5', 'description' => 'Display size (currently unused)', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::g15' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/icp_a106.pl0000644000175000017500000000125414002556113022656 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'default' => '/dev/ttyS1', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Size', { 'default' => '20x2', 'description' => 'Display dimensions', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::icp_a106' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sdeclcd.pl0000644000175000017500000000055314002556113022756 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'name' => 'LCDd::sdeclcd' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/shuttleVFD.pl0000644000175000017500000000055614002556113023410 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'name' => 'LCDd::shuttleVFD' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/pyramid.pl0000644000175000017500000000107514002556113023022 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'device to connect to ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' } ], 'name' => 'LCDd::pyramid' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/hd44780.pod0000644000175000017500000001312114002556113022521 0ustar domidomi# PODNAME: Config::Model::models::LCDd::hd44780 # ABSTRACT: Configuration class LCDd::hd44780 =encoding utf8 =head1 NAME Config::Model::models::LCDd::hd44780 - Configuration class LCDd::hd44780 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight If you have a switchable backlight. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 Brightness Set brightness of the backlight (lcd2usb and usb4all): Brightness is the brightness while the backlight is set to 'on'. I< Optional. Type integer. > =over 4 =item upstream_default value : 800 =back =head2 CharMap Character map to to map ISO-8859-1 to the LCD's character set (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if compiled with additional charmaps) I< Optional. Type enum. choice: 'hd44780_default', 'hd44780_euro', 'ea_ks0073', 'sed1278f_0b', 'hd44780_koi8_r', 'hd44780_cp1251', 'hd44780_8859_5', 'upd16314'. > =over 4 =item upstream_default value : hd44780_default =back =head2 ConnectionType Select what type of connection. See documentation for available types. I< Optional. Type uniline. > =over 4 =item default value : 4bit =back =head2 Contrast Set the initial contrast (bwctusb, lcd2usb, and usb4all) I< Optional. Type integer. > =over 4 =item upstream_default value : 800 =back =head2 DelayBus 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. I< Optional. Type uniline. > =over 4 =item default value : true =back =head2 DelayMult 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. I< Optional. Type uniline. > =over 4 =item upstream_default value : 2 =back =head2 Device Device of the serial, I2C, or SPI interface I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 ExtendedMode If you have an HD66712, a KS0073 or another controller with 'extended mode', set this flag to get into 4-line mode. On displays with just two lines, do not set this flag. As an additional restriction, controllers with and without extended mode AND 4 lines cannot be mixed for those connection types that support more than one display! I< Optional. Type uniline. > =over 4 =item upstream_default value : yes =back =head2 KeepAliveDisplay Some displays (e.g. vdr-wakeup) need a message from the driver to that it is still alive. When set to a value bigger then null the character in the upper left corner is updated every seconds. Default: 0. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0 =back =head2 KeyMatrix_4_1 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. I< Optional. Type uniline. > =over 4 =item default value : Enter =back =head2 KeyMatrix_4_2 I< Optional. Type uniline. > =over 4 =item default value : Up =back =head2 KeyMatrix_4_3 I< Optional. Type uniline. > =over 4 =item default value : Down =back =head2 KeyMatrix_4_4 I< Optional. Type uniline. > =over 4 =item default value : Escape =back =head2 Keypad If you have a keypad connected. You may also need to configure the keypad layout further on in this file. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 Lastline Specifies if the last line is pixel addressable (yes) or it controls an underline effect (no). I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 LineAddress In extended mode, on some controllers like the ST7036 (in 3 line mode) the next line in DDRAM won't start 0x20 higher. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x20 =back =head2 OffBrightness OffBrightness is the brightness while the backlight is set to 'off'. I< Optional. Type integer. > =over 4 =item upstream_default value : 300 =back =head2 OutputPort If you have the additional output port ("bargraph") and you want to be able to control it with the lcdproc OUTPUT command. I< Optional. Type uniline. > =over 4 =item default value : no =back =head2 Port I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC. For I2C connections this sets the slave address (usually 0x20). I< Optional. Type uniline. > =over 4 =item default value : 0x378 =back =head2 RefreshDisplay If you experience occasional garbage on your display you can use this option as workaround. If set to a value bigger than null it forces a full screen refresh seconds. Default: 0. I< Optional. Type uniline. > =over 4 =item upstream_default value : 5 =back =head2 Size Specifies the size of the LCD. In case of multiple combined displays, this should be the total size. I< Optional. Type uniline. > =over 4 =item default value : 20x4 =back =head2 Speed Bitrate of the serial port (0 for interface default) I< Optional. Type uniline. > =over 4 =item default value : 0 =back =head2 vspan For multiple combined displays: how many lines does each display have. Vspan=2,2 means both displays have 2 lines. I< Optional. Type uniline. > =over 4 =item upstream_default value : 2,2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mtc_s16209x.pod0000644000175000017500000000141514002556113023421 0ustar domidomi# PODNAME: Config::Model::models::LCDd::mtc_s16209x # ABSTRACT: Configuration class LCDd::mtc_s16209x =encoding utf8 =head1 NAME Config::Model::models::LCDd::mtc_s16209x - Configuration class LCDd::mtc_s16209x =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 255 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Reboot Reinitialize the LCD's BIOS I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/linux_input.pod0000644000175000017500000000110314002556113024072 0ustar domidomi# PODNAME: Config::Model::models::LCDd::linux_input # ABSTRACT: Configuration class LCDd::linux_input =encoding utf8 =head1 NAME Config::Model::models::LCDd::linux_input - Configuration class LCDd::linux_input =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the input device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/input/event0 =back =head2 key I< Optional. Type list of uniline. > =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/t6963.pl0000644000175000017500000000315014002556113022144 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'ClearGraphic', { 'description' => 'Clear graphic memory on start-up. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Port', { 'description' => 'port to use legal: 0x200-0x400 ', 'type' => 'leaf', 'upstream_default' => '0x378', 'value_type' => 'uniline' }, 'Size', { 'description' => 'set display size in pixels ', 'type' => 'leaf', 'upstream_default' => '128x64', 'value_type' => 'uniline' }, 'bidirectional', { 'description' => 'Use LPT port in bi-directional mode. This should work on most LPT port and is required for proper timing! ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'delayBus', { 'description' => 'Insert additional delays into reads / writes. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] } ], 'name' => 'LCDd::t6963' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ea65.pl0000644000175000017500000000204214002556113022110 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'default' => '500', 'description' => 'Device is fixed /dev/ttyS1 Width and Height are fixed 9x1 As the VFD is self luminescent we don\'t have a backlight But we can use the backlight functions to control the front LEDs Brightness 0 to 299 -> LEDs off Brightness 300 to 699 -> LEDs half bright Brightness 700 to 1000 -> LEDs full bright', 'type' => 'leaf', 'value_type' => 'uniline' }, 'OffBrightness', { 'default' => '0', 'description' => 'OffBrightness is the the value used for the \'backlight off\' state', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::ea65' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/picolcd.pod0000644000175000017500000001034114002556113023135 0ustar domidomi# PODNAME: Config::Model::models::LCDd::picolcd # ABSTRACT: Configuration class LCDd::picolcd =encoding utf8 =head1 NAME Config::Model::models::LCDd::picolcd - Configuration class LCDd::picolcd =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight Sets the initial state of the backlight upon start-up. I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 Brightness Set the initial brightness . Works only with the 20x4 device. I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Contrast Set the initial contrast I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Key0Light If Keylights is on, the you can unlight specific keys below: Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. There is no LED for the +/- keys. This is a handy way to indicate to users which keys are disabled. I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 Key1Light I< Optional. Type uniline. > =over 4 =item default value : on =back =head2 Key2Light I< Optional. Type uniline. > =over 4 =item default value : on =back =head2 Key3Light I< Optional. Type uniline. > =over 4 =item default value : on =back =head2 Key4Light I< Optional. Type uniline. > =over 4 =item default value : on =back =head2 Key5Light I< Optional. Type uniline. > =over 4 =item default value : on =back =head2 KeyRepeatDelay Key auto repeat is only available if the picoLCD driver is built with libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto repeat. Key auto repeat delay (time in ms from first key report to first repeat). Use zero to disable auto repeat. I< Optional. Type integer. > =over 4 =item upstream_default value : 300 =back =head2 KeyRepeatInterval Key auto repeat interval (time in ms between repeat reports). Only used if KeyRepeatDelay is not zero. I< Optional. Type integer. > =over 4 =item upstream_default value : 200 =back =head2 KeyTimeout KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When built with libusb-1.0 key and IR data is input asynchronously so there is no need to wait for the USB data. KeyTimeout is the time in ms that LCDd spends waiting for a key press before cycling through other duties. Higher values make LCDd use less CPU time and make key presses more detectable. Lower values make LCDd more responsive but a little prone to missing key presses. 500 (.5 second) is the default and a balanced value. I< Optional. Type integer. > =over 4 =item upstream_default value : 500 =back =head2 Keylights Light the keys? I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 LinkLights Link the key lights to the backlight? I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 LircFlushThreshold Threshold in microseconds of the gap that triggers flushing the IR data to lirc If LircTime_us is on values greater than 32.767ms will disable the flush If LircTime_us is off values greater than 1.999938s will disable the flush. I< Optional. Type integer. > =over 4 =item upstream_default value : 8000 =back =head2 LircHost Host name or IP address of the LIRC instance that is to receive IR codes If not set, or set to an empty value, IR support is disabled. I< Optional. Type uniline. > =over 4 =item upstream_default value : 127.0.0.1 =back =head2 LircPort UDP port on which LIRC is listening I< Optional. Type integer. > =over 4 =item upstream_default value : 8765 =back =head2 LircTime_us UDP data time unit for LIRC On: times sent in microseconds (requires LIRC UDP driver that accepts this). Off: times sent in 'jiffies' (1/16384s) (supported by standard LIRC UDP driver). I< Optional. Type boolean. > =over 4 =item upstream_default value : off =back =head2 OffBrightness Set the brightness while the backlight is 'off' . Works only with the 20x4 device. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CFontz.pod0000644000175000017500000000310114002556113022717 0ustar domidomi# PODNAME: Config::Model::models::LCDd::CFontz # ABSTRACT: Configuration class LCDd::CFontz =encoding utf8 =head1 NAME Config::Model::models::LCDd::CFontz - Configuration class LCDd::CFontz =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Contrast Set the initial contrast I< Optional. Type integer. > =over 4 =item upstream_default value : 560 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 NewFirmware Set the firmware version (New means >= 2.0) I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Reboot Reinitialize the LCD's BIOS normally you shouldn't need this. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Size Select the LCD size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '115200'. > =over 4 =item upstream_default value : 9600 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sed1330.pod0000644000175000017500000000206614002556113022607 0ustar domidomi# PODNAME: Config::Model::models::LCDd::sed1330 # ABSTRACT: Configuration class LCDd::sed1330 =encoding utf8 =head1 NAME Config::Model::models::LCDd::sed1330 - Configuration class LCDd::sed1330 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 CellSize Width x Height of a character cell in pixels legal: 6x7-8x16 I< Optional. Type uniline. > =over 4 =item upstream_default value : 6x10 =back =head2 ConnectionType Select what type of connection I< Optional. Type enum. choice: 'classic', 'bitshaker'. > =over 4 =item upstream_default value : classic =back =head2 Port Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC. I< Optional. Type uniline. > =over 4 =item default value : 0x378 =back =head2 Type Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002) Note: Currently only tested with G321D & SP14Q002. I< Optional. Type uniline. > =over 4 =item default value : G321D =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/serialPOS.pl0000644000175000017500000000266514002556113023224 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Device to use in serial mode ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Size', { 'description' => 'Specifies the size of the display in characters. ', 'type' => 'leaf', 'upstream_default' => '16x2', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '19200', '115200' ], 'description' => 'communication baud rate with the display ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' }, 'Type', { 'choice' => [ 'IEE', 'Epson', 'Emax', 'IBM', 'LogicControls', 'Ultimate' ], 'description' => 'Set the communication protocol to use with the POS display.', 'type' => 'leaf', 'upstream_default' => 'AEDEX', 'value_type' => 'enum' } ], 'name' => 'LCDd::serialPOS' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mx5000.pl0000644000175000017500000000145714002556113022312 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/hiddev0', 'value_type' => 'uniline' }, 'WaitAfterRefresh', { 'description' => 'Time to wait in ms after the refresh screen has been sent ', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'uniline' } ], 'name' => 'LCDd::mx5000' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/imonlcd.pl0000644000175000017500000000425014002556113023000 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'description' => 'Set the backlight state ', 'type' => 'leaf', 'upstream_default' => 'on', 'value_type' => 'boolean', 'write_as' => [ 'off', 'on' ] }, 'Contrast', { 'description' => 'Select the displays contrast ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '200', 'value_type' => 'integer' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd0', 'value_type' => 'uniline' }, 'DiscMode', { 'choice' => [ '0', '1' ], 'description' => 'Set the disc mode 0 => spin the "slim" disc - two disc segments, 1 => their complement spinning;', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'enum' }, 'OnExit', { 'description' => 'Set the exit behavior 0 means leave shutdown message, 1 means show the big clock, 2 means blank device', 'max' => '2', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1', 'value_type' => 'integer' }, 'Protocol', { 'choice' => [ '0', '1' ], 'description' => 'Specify which iMon protocol should be used Choose 0 for 15c2:ffdc device, Choose 1 for 15c2:0038 device', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'enum' }, 'Size', { 'description' => 'Specify the size of the display in pixels ', 'type' => 'leaf', 'upstream_default' => '96x16', 'value_type' => 'uniline' } ], 'name' => 'LCDd::imonlcd' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/SureElec.pl0000644000175000017500000000351114002556113023061 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '1', 'type' => 'leaf', 'upstream_default' => '480', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '480', 'value_type' => 'integer' }, 'Device', { 'default' => '/dev/ttyUSB0', 'description' => 'Port the device is connected to (by default first USB serial port)', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Edition', { 'description' => 'Edition level of the device (can be 1, 2 or 3) ', 'type' => 'leaf', 'upstream_default' => '2', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '1', 'type' => 'leaf', 'upstream_default' => '100', 'value_type' => 'integer' }, 'Size', { 'description' => 'set display size Note: The size can be obtained directly from device for edition 2 & 3.', 'type' => 'leaf', 'upstream_default' => '16x2', 'value_type' => 'uniline' } ], 'name' => 'LCDd::SureElec' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/IrMan.pod0000644000175000017500000000130714002556113022530 0ustar domidomi# PODNAME: Config::Model::models::LCDd::IrMan # ABSTRACT: Configuration class LCDd::IrMan =encoding utf8 =head1 NAME Config::Model::models::LCDd::IrMan - Configuration class LCDd::IrMan =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Config Select the configuration file to use. I< Optional. Type uniline. > =over 4 =item upstream_default value : /etc/irman.cfg =back =head2 Device in case of trouble with IrMan, try the Lirc emulator for IrMan Select the input device to use. I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/irman =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ula200.pl0000644000175000017500000000106514002556113022357 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Size', { 'description' => 'Select the LCD size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' } ], 'name' => 'LCDd::ula200' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CwLnx.pl0000644000175000017500000000503114002556113022404 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Keypad', { 'default' => 'yes', 'description' => 'If you have a keypad connected. Keypad layout is currently not configureable from the config file.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Model', { 'choice' => [ '12232', '12832', '1602' ], 'description' => 'Select the LCD model ', 'type' => 'leaf', 'upstream_default' => '12232', 'value_type' => 'enum' }, 'Reboot', { 'description' => 'Reinitialize the LCD\'s BIOS normally you shouldn\'t need this', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Size', { 'default' => '20x4', 'description' => 'Select the LCD size. Default depends on model: 12232: 20x4 12832: 21x4 1602: 16x2', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '9600', '19200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '19200', 'value_type' => 'enum' }, 'keypad_test_mode', { 'description' => 'If you have a non-standard keypad you can associate any keystrings to keys. There are 6 input keys in the CwLnx hardware that generate characters from \'A\' to \'F\'. The following is 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 keypad_test_mode permits one to test keypad assignment Default value is no', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'uniline' } ], 'name' => 'LCDd::CwLnx' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sed1330.pl0000644000175000017500000000253314002556113022437 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'CellSize', { 'description' => 'Width x Height of a character cell in pixels legal: 6x7-8x16 ', 'type' => 'leaf', 'upstream_default' => '6x10', 'value_type' => 'uniline' }, 'ConnectionType', { 'choice' => [ 'classic', 'bitshaker' ], 'description' => 'Select what type of connection ', 'type' => 'leaf', 'upstream_default' => 'classic', 'value_type' => 'enum' }, 'Port', { 'default' => '0x378', 'description' => 'Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Type', { 'default' => 'G321D', 'description' => 'Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002) Note: Currently only tested with G321D & SP14Q002.', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::sed1330' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/IrMan.pl0000644000175000017500000000152314002556113022361 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Config', { 'description' => 'Select the configuration file to use', 'type' => 'leaf', 'upstream_default' => '/etc/irman.cfg', 'value_type' => 'uniline' }, 'Device', { 'description' => 'in case of trouble with IrMan, try the Lirc emulator for IrMan Select the input device to use', 'type' => 'leaf', 'upstream_default' => '/dev/irman', 'value_type' => 'uniline' } ], 'name' => 'LCDd::IrMan' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/imonlcd.pod0000644000175000017500000000302014002556113023141 0ustar domidomi# PODNAME: Config::Model::models::LCDd::imonlcd # ABSTRACT: Configuration class LCDd::imonlcd =encoding utf8 =head1 NAME Config::Model::models::LCDd::imonlcd - Configuration class LCDd::imonlcd =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight Set the backlight state I< Optional. Type boolean. > =over 4 =item upstream_default value : on =back =head2 Contrast Select the displays contrast I< Optional. Type integer. > =over 4 =item upstream_default value : 200 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd0 =back =head2 DiscMode Set the disc mode 0 => spin the "slim" disc - two disc segments, 1 => their complement spinning; I< Optional. Type enum. choice: '0', '1'. > =over 4 =item upstream_default value : 0 =back =head2 OnExit Set the exit behavior 0 means leave shutdown message, 1 means show the big clock, 2 means blank device. I< Optional. Type integer. > =over 4 =item upstream_default value : 1 =back =head2 Protocol Specify which iMon protocol should be used Choose 0 for 15c2:ffdc device, Choose 1 for 15c2:0038 device. I< Optional. Type enum. choice: '0', '1'. > =over 4 =item upstream_default value : 0 =back =head2 Size Specify the size of the display in pixels I< Optional. Type uniline. > =over 4 =item upstream_default value : 96x16 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/imon.pod0000644000175000017500000000170414002556113022465 0ustar domidomi# PODNAME: Config::Model::models::LCDd::imon # ABSTRACT: Configuration class LCDd::imon =encoding utf8 =head1 NAME Config::Model::models::LCDd::imon - Configuration class LCDd::imon =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 CharMap Character map to to map ISO-8859-1 to the displays character set. (upd16314, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional charmaps) I< Optional. Type enum. choice: 'none', 'hd44780_euro', 'upd16314', 'hd44780_koi8_r', 'hd44780_cp1251', 'hd44780_8859_5'. > =over 4 =item upstream_default value : none =back =head2 Device select the device to use. I< Optional. Type uniline. > =over 4 =item default value : /dev/lcd0 =back =head2 Size display dimensions. I< Optional. Type uniline. > =over 4 =item default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/EyeboxOne.pl0000644000175000017500000000475114002556113023256 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'description' => 'Switch on the backlight? ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'uniline' }, 'Cursor', { 'description' => 'Switch on the cursor? ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'uniline' }, 'Device', { 'description' => 'Select the output device to use Device=/dev/cua01', 'type' => 'leaf', 'upstream_default' => '/dev/ttyS1', 'value_type' => 'uniline' }, 'DownKey', { 'default' => 'B', 'type' => 'leaf', 'value_type' => 'uniline' }, 'EscapeKey', { 'default' => 'P', 'type' => 'leaf', 'value_type' => 'uniline' }, 'LeftKey', { 'default' => 'D', 'description' => 'Enter Key is a \\r character, so it\'s hardcoded in the driver', 'type' => 'leaf', 'value_type' => 'uniline' }, 'RightKey', { 'default' => 'C', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Size', { 'description' => 'Set the display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '19200', 'value_type' => 'enum' }, 'UpKey', { 'default' => 'A', 'type' => 'leaf', 'value_type' => 'uniline' }, 'keypad_test_mode', { 'default' => 'no', 'description' => '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.', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::EyeboxOne' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/stv5730.pl0000644000175000017500000000110314002556113022500 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Port', { 'description' => 'Port the device is connected to ', 'type' => 'leaf', 'upstream_default' => '0x378', 'value_type' => 'uniline' } ], 'name' => 'LCDd::stv5730' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/joy.pod0000644000175000017500000000214414002556113022323 0ustar domidomi# PODNAME: Config::Model::models::LCDd::joy # ABSTRACT: Configuration class LCDd::joy =encoding utf8 =head1 NAME Config::Model::models::LCDd::joy - Configuration class LCDd::joy =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the input device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/js0 =back =head2 Map_Axis1neg set the axis map. I< Optional. Type uniline. > =over 4 =item default value : Left =back =head2 Map_Axis1pos I< Optional. Type uniline. > =over 4 =item default value : Right =back =head2 Map_Axis2neg I< Optional. Type uniline. > =over 4 =item default value : Up =back =head2 Map_Axis2pos I< Optional. Type uniline. > =over 4 =item default value : Down =back =head2 Map_Button1 set the button map. I< Optional. Type uniline. > =over 4 =item default value : Enter =back =head2 Map_Button2 I< Optional. Type uniline. > =over 4 =item default value : Escape =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/linux_input.pl0000644000175000017500000000135314002556113023732 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the input device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/input/event0', 'value_type' => 'uniline' }, 'key', { 'cargo' => { 'type' => 'leaf', 'value_type' => 'uniline' }, 'type' => 'list' } ], 'name' => 'LCDd::linux_input' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/MD8800.pod0000644000175000017500000000167514002556113022352 0ustar domidomi# PODNAME: Config::Model::models::LCDd::MD8800 # ABSTRACT: Configuration class LCDd::MD8800 =encoding utf8 =head1 NAME Config::Model::models::LCDd::MD8800 - Configuration class LCDd::MD8800 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Device device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/ttyS1 =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Size display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/joy.pl0000644000175000017500000000263714002556113022163 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the input device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/js0', 'value_type' => 'uniline' }, 'Map_Axis1neg', { 'default' => 'Left', 'description' => 'set the axis map', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Map_Axis1pos', { 'default' => 'Right', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Map_Axis2neg', { 'default' => 'Up', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Map_Axis2pos', { 'default' => 'Down', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Map_Button1', { 'default' => 'Enter', 'description' => 'set the button map', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Map_Button2', { 'default' => 'Escape', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::joy' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/stv5730.pod0000644000175000017500000000076214002556113022661 0ustar domidomi# PODNAME: Config::Model::models::LCDd::stv5730 # ABSTRACT: Configuration class LCDd::stv5730 =encoding utf8 =head1 NAME Config::Model::models::LCDd::stv5730 - Configuration class LCDd::stv5730 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Port Port the device is connected to I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x378 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/futaba.pod0000644000175000017500000000055014002556113022763 0ustar domidomi# PODNAME: Config::Model::models::LCDd::futaba # ABSTRACT: Configuration class LCDd::futaba =encoding utf8 =head1 NAME Config::Model::models::LCDd::futaba - Configuration class LCDd::futaba =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/svga.pl0000644000175000017500000000314714002556113022317 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '1', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast Can be set but does not change anything internally', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '500', 'value_type' => 'integer' }, 'Mode', { 'description' => 'svgalib mode to use legal values are supported svgalib modes', 'type' => 'leaf', 'upstream_default' => 'G320x240x256', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '1', 'type' => 'leaf', 'upstream_default' => '500', 'value_type' => 'integer' }, 'Size', { 'description' => 'set display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' } ], 'name' => 'LCDd::svga' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glcdlib.pl0000644000175000017500000000727214002556113022762 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'default' => 'no', 'description' => 'Backlight if applicable', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Brightness', { 'default' => '50', 'description' => 'Brightness (in %) if applicable', 'type' => 'leaf', 'value_type' => 'uniline' }, 'CharEncoding', { 'default' => 'iso8859-2', 'description' => 'character encoding to use', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Contrast', { 'default' => '50', 'description' => 'Contrast (in %) if applicable', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Driver', { 'description' => 'which graphical display supported by graphlcd-base to use (see /etc/graphlcd.conf for possible drivers)', 'type' => 'leaf', 'upstream_default' => 'image', 'value_type' => 'uniline' }, 'FontFile', { 'default' => '/usr/share/fonts/corefonts/courbd.ttf', 'description' => 'path to font file to use', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Invert', { 'default' => 'no', 'description' => 'invert light/dark pixels', 'type' => 'leaf', 'value_type' => 'uniline' }, 'MinFontFaceSize', { 'default' => '7x12', 'description' => 'minimum size in pixels in which fonts should be rendered', 'type' => 'leaf', 'value_type' => 'uniline' }, 'PixelShiftX', { 'default' => '0', 'type' => 'leaf', 'value_type' => 'uniline' }, 'PixelShiftY', { 'default' => '2', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ShowBigBorder', { 'default' => 'no', 'description' => 'border within the usable text area, for setting up TextResolution and MinFontFaceSize (if using FT2); border around the unused area', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ShowDebugFrame', { 'default' => 'no', 'description' => 'turns on/off 1 pixel thick debugging', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ShowThinBorder', { 'default' => 'yes', 'description' => 'border around the unused area', 'type' => 'leaf', 'value_type' => 'uniline' }, 'TextResolution', { 'description' => '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, then \'DebugBorder\' will automatically be turned on)', 'type' => 'leaf', 'upstream_default' => '16x4', 'value_type' => 'uniline' }, 'UpsideDown', { 'default' => 'no', 'description' => 'flip image upside down', 'type' => 'leaf', 'value_type' => 'uniline' }, 'UseFT2', { 'default' => 'yes', 'description' => '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)', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::glcdlib' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ula200.pod0000644000175000017500000000074114002556113022526 0ustar domidomi# PODNAME: Config::Model::models::LCDd::ula200 # ABSTRACT: Configuration class LCDd::ula200 =encoding utf8 =head1 NAME Config::Model::models::LCDd::ula200 - Configuration class LCDd::ula200 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Size Select the LCD size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/vlsys_m428.pl0000644000175000017500000000111714002556113023304 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/ttyUSB0', 'value_type' => 'uniline' } ], 'name' => 'LCDd::vlsys_m428' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/menu.pl0000644000175000017500000000340614002556113022321 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'DownKey', { 'default' => 'Down', 'type' => 'leaf', 'value_type' => 'uniline' }, 'EnterKey', { 'default' => 'Enter', 'type' => 'leaf', 'value_type' => 'uniline' }, 'LeftKey', { 'type' => 'leaf', 'upstream_default' => 'Left', 'value_type' => 'uniline' }, 'MenuKey', { 'default' => 'Escape', 'description' => 'You can configure what keys the menu should use. Note that the MenuKey will be reserved exclusively, the others work in shared mode. Up to six keys are supported. The MenuKey (to enter and exit the menu), the EnterKey (to select values) and at least one movement keys are required. These are the default key assignments:', 'type' => 'leaf', 'value_type' => 'uniline' }, 'PermissiveGoto', { 'choice' => [ 'true', 'false' ], 'description' => 'If true the server allows transitions between different client\'s menus', 'type' => 'leaf', 'upstream_default' => 'false', 'value_type' => 'enum' }, 'RightKey', { 'type' => 'leaf', 'upstream_default' => 'Right', 'value_type' => 'uniline' }, 'UpKey', { 'default' => 'Up', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::menu' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/hd44780.pl0000644000175000017500000001622614002556113022363 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'default' => 'no', 'description' => 'If you have a switchable backlight.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Brightness', { 'description' => 'Set brightness of the backlight (lcd2usb and usb4all): Brightness is the brightness while the backlight is set to \'on\'.', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '800', 'value_type' => 'integer' }, 'CharMap', { 'choice' => [ 'hd44780_default', 'hd44780_euro', 'ea_ks0073', 'sed1278f_0b', 'hd44780_koi8_r', 'hd44780_cp1251', 'hd44780_8859_5', 'upd16314' ], 'description' => 'Character map to to map ISO-8859-1 to the LCD\'s character set (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if compiled with additional charmaps)', 'type' => 'leaf', 'upstream_default' => 'hd44780_default', 'value_type' => 'enum' }, 'ConnectionType', { 'default' => '4bit', 'description' => 'Select what type of connection. See documentation for available types.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Contrast', { 'description' => 'Set the initial contrast (bwctusb, lcd2usb, and usb4all)', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '800', 'value_type' => 'integer' }, 'DelayBus', { 'default' => 'true', 'description' => '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.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'DelayMult', { 'description' => '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.', 'type' => 'leaf', 'upstream_default' => '2', 'value_type' => 'uniline' }, 'Device', { 'description' => 'Device of the serial, I2C, or SPI interface ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'ExtendedMode', { 'description' => 'If you have an HD66712, a KS0073 or another controller with \'extended mode\', set this flag to get into 4-line mode. On displays with just two lines, do not set this flag. As an additional restriction, controllers with and without extended mode AND 4 lines cannot be mixed for those connection types that support more than one display!', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'uniline' }, 'KeepAliveDisplay', { 'description' => 'Some displays (e.g. vdr-wakeup) need a message from the driver to that it is still alive. When set to a value bigger then null the character in the upper left corner is updated every seconds. Default: 0.', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'uniline' }, 'KeyMatrix_4_1', { 'default' => 'Enter', 'description' => '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', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMatrix_4_2', { 'default' => 'Up', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMatrix_4_3', { 'default' => 'Down', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMatrix_4_4', { 'default' => 'Escape', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Keypad', { 'default' => 'no', 'description' => 'If you have a keypad connected. You may also need to configure the keypad layout further on in this file.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Lastline', { 'description' => 'Specifies if the last line is pixel addressable (yes) or it controls an underline effect (no). ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'LineAddress', { 'description' => 'In extended mode, on some controllers like the ST7036 (in 3 line mode) the next line in DDRAM won\'t start 0x20 higher. ', 'type' => 'leaf', 'upstream_default' => '0x20', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'OffBrightness is the brightness while the backlight is set to \'off\'.', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '300', 'value_type' => 'integer' }, 'OutputPort', { 'default' => 'no', 'description' => 'If you have the additional output port ("bargraph") and you want to be able to control it with the lcdproc OUTPUT command', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Port', { 'default' => '0x378', 'description' => 'I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC. For I2C connections this sets the slave address (usually 0x20).', 'type' => 'leaf', 'value_type' => 'uniline' }, 'RefreshDisplay', { 'description' => 'If you experience occasional garbage on your display you can use this option as workaround. If set to a value bigger than null it forces a full screen refresh seconds. Default: 0.', 'type' => 'leaf', 'upstream_default' => '5', 'value_type' => 'uniline' }, 'Size', { 'default' => '20x4', 'description' => 'Specifies the size of the LCD. In case of multiple combined displays, this should be the total size.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Speed', { 'default' => '0', 'description' => 'Bitrate of the serial port (0 for interface default)', 'type' => 'leaf', 'value_type' => 'uniline' }, 'vspan', { 'description' => 'For multiple combined displays: how many lines does each display have. Vspan=2,2 means both displays have 2 lines.', 'type' => 'leaf', 'upstream_default' => '2,2', 'value_type' => 'uniline' } ], 'name' => 'LCDd::hd44780' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/serialVFD.pod0000644000175000017500000000462514002556113023347 0ustar domidomi# PODNAME: Config::Model::models::LCDd::serialVFD # ABSTRACT: Configuration class LCDd::serialVFD =encoding utf8 =head1 NAME Config::Model::models::LCDd::serialVFD - Configuration class LCDd::serialVFD =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness (4 steps 0-250, 251-500, 501-750, 751-1000) I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Device Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1. I< Optional. Type uniline. > =over 4 =item default value : /dev/ttyS1 =back =head2 ISO_8859_1 enable ISO 8859 1 compatibility I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive (4 steps 0-250, 251-500, 501-750, 751-1000) I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 Port Number of Custom-Characters. default is display type dependent Custom-Characters=0 Portaddress where the LPT is. Used in parallel mode only. Usual values are 0x278, 0x378 and 0x3BC. I< Optional. Type uniline. > =over 4 =item default value : 0x378 =back =head2 PortWait Set parallel port timing delay (us). Used in parallel mode only. I< Optional. Type integer. > =over 4 =item upstream_default value : 2 =back =head2 Size Specifies the size of the VFD. I< Optional. Type uniline. > =over 4 =item default value : 20x2 =back =head2 Speed set the serial port speed I< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '115200'. > =over 4 =item upstream_default value : 9600 =back =head2 Type Specifies the displaytype. 0 NEC (FIPC8367 based) VFDs. 1 KD Rev 2.1. 2 Noritake VFDs (*). 3 Futaba VFDs 4 IEE S03601-95B 5 IEE S03601-96-080 (*) 6 Futaba NA202SD08FA (allmost IEE compatible) 7 Samsung 20S207DA4 and 20S207DA6 8 Nixdorf BA6x / VT100 (* most should work, not tested yet.) I< Optional. Type uniline. > =over 4 =item upstream_default value : 0 =back =head2 use_parallel "no" if display connected serial, "yes" if connected parallel. I.e. serial by default. I< Optional. Type uniline. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/Olimex_MOD_LCD1x9.pod0000644000175000017500000000103214002556113024475 0ustar domidomi# PODNAME: Config::Model::models::LCDd::Olimex_MOD_LCD1x9 # ABSTRACT: Configuration class LCDd::Olimex_MOD_LCD1x9 =encoding utf8 =head1 NAME Config::Model::models::LCDd::Olimex_MOD_LCD1x9 - Configuration class LCDd::Olimex_MOD_LCD1x9 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device device file of the i2c controler. I< Optional. Type uniline. > =over 4 =item default value : /dev/i2c-0 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mdm166a.pl0000644000175000017500000000213514002556113022526 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Clock', { 'choice' => [ 'no', 'small', 'big' ], 'description' => 'Show self-running clock after LCDd shutdown Possible values: ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'enum' }, 'Dimming', { 'description' => 'Dim display, no dimming gives full brightness ', 'type' => 'leaf', 'upstream_default' => 'no,legal:yes,no', 'value_type' => 'uniline' }, 'OffDimming', { 'description' => 'Dim display in case LCDd is inactive ', 'type' => 'leaf', 'upstream_default' => 'no,legal:yes,no', 'value_type' => 'uniline' } ], 'name' => 'LCDd::mdm166a' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CFontz.pl0000644000175000017500000000457714002556113022572 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '560', 'value_type' => 'integer' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'NewFirmware', { 'description' => 'Set the firmware version (New means >= 2.0) ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Reboot', { 'description' => 'Reinitialize the LCD\'s BIOS normally you shouldn\'t need this', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Size', { 'description' => 'Select the LCD size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200', '115200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' } ], 'name' => 'LCDd::CFontz' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/imon.pl0000644000175000017500000000233714002556113022321 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'CharMap', { 'choice' => [ 'none', 'hd44780_euro', 'upd16314', 'hd44780_koi8_r', 'hd44780_cp1251', 'hd44780_8859_5' ], 'description' => 'Character map to to map ISO-8859-1 to the displays character set. (upd16314, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional charmaps)', 'type' => 'leaf', 'upstream_default' => 'none', 'value_type' => 'enum' }, 'Device', { 'default' => '/dev/lcd0', 'description' => 'select the device to use', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Size', { 'default' => '16x2', 'description' => 'display dimensions', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::imon' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/MtxOrb.pl0000644000175000017500000000771314002556113022575 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast NOTE: The driver will ignore this if the display is a vfd or vkd as they don\'t have this feature', 'type' => 'leaf', 'upstream_default' => '480', 'value_type' => 'uniline' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'KeyMap_A', { 'description' => 'The following table translates from MtxOrb key letters to logical key names. By default no keys are mapped, meaning the keypad is not used at all.', 'type' => 'leaf', 'upstream_default' => 'Left', 'value_type' => 'uniline' }, 'KeyMap_B', { 'type' => 'leaf', 'upstream_default' => 'Right', 'value_type' => 'uniline' }, 'KeyMap_C', { 'type' => 'leaf', 'upstream_default' => 'Up', 'value_type' => 'uniline' }, 'KeyMap_D', { 'type' => 'leaf', 'upstream_default' => 'Down', 'value_type' => 'uniline' }, 'KeyMap_E', { 'type' => 'leaf', 'upstream_default' => 'Enter', 'value_type' => 'uniline' }, 'KeyMap_F', { 'type' => 'leaf', 'upstream_default' => 'Escape', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Size', { 'description' => 'Set the display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '19200', 'value_type' => 'enum' }, 'Type', { 'choice' => [ 'lcd', 'lkd', 'vfd', 'vkd' ], 'description' => 'Set the display type ', 'type' => 'leaf', 'upstream_default' => 'lcd', 'value_type' => 'enum' }, 'hasAdjustableBacklight', { 'description' => 'Some old displays do not have an adjustable backlight but only can switch the backlight on/off. If you experience randomly appearing block characters, try setting this to false. ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'keypad_test_mode', { 'default' => 'no', 'description' => 'See the [menu] section for an explanation of the key mappings 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.', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::MtxOrb' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/NoritakeVFD.pl0000644000175000017500000000405714002556113023474 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Device', { 'description' => 'device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Parity', { 'description' => 'Set serial data parity Meaning: 0(=none), 1(=odd), 2(=even)', 'max' => '2', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Reboot', { 'description' => 're-initialize the VFD ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Size', { 'default' => '20x4', 'description' => 'Specifies the size of the LCD.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Speed', { 'description' => 'set the serial port speed ', 'type' => 'leaf', 'upstream_default' => '9600,legal:1200,2400,9600,19200,115200', 'value_type' => 'uniline' } ], 'name' => 'LCDd::NoritakeVFD' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/text.pl0000644000175000017500000000106414002556113022337 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Size', { 'description' => 'Set the display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' } ], 'name' => 'LCDd::text' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lis.pod0000644000175000017500000000225614002556113022315 0ustar domidomi# PODNAME: Config::Model::models::LCDd::lis # ABSTRACT: Configuration class LCDd::lis =encoding utf8 =head1 NAME Config::Model::models::LCDd::lis - Configuration class LCDd::lis =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100% I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Lastline Specifies if the last line is pixel addressable (yes) or it only controls an underline effect (no). I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 ProductID USB Product ID Change only if testing a compatible device. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x6001 =back =head2 Size Columns by lines I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x2 =back =head2 VendorID USB Vendor ID Change only if testing a compatible device. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x0403 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/irtrans.pl0000644000175000017500000000176514002556113023045 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Backlight', { 'description' => 'Does the device have a backlight? ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Hostname', { 'description' => 'IRTrans device to connect to ', 'type' => 'leaf', 'upstream_default' => 'localhost', 'value_type' => 'uniline' }, 'Size', { 'default' => '16x2', 'description' => 'display dimensions', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::irtrans' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/tyan.pl0000644000175000017500000000176014002556113022331 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Size', { 'description' => 'set display size ', 'type' => 'leaf', 'upstream_default' => '16x2', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '4800', '9600' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' } ], 'name' => 'LCDd::tyan' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lb216.pl0000644000175000017500000000245414002556113022205 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '255', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '255', 'value_type' => 'integer' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Reboot', { 'description' => 'Reinitialize the LCD\'s BIOS ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Speed', { 'choice' => [ '2400', '9600' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' } ], 'name' => 'LCDd::lb216' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/rawserial.pod0000644000175000017500000000224314002556113023513 0ustar domidomi# PODNAME: Config::Model::models::LCDd::rawserial # ABSTRACT: Configuration class LCDd::rawserial =encoding utf8 =head1 NAME Config::Model::models::LCDd::rawserial - Configuration class LCDd::rawserial =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/cuaU0 =back =head2 Size Specifies the size of the LCD. If this driver is loaded as a secondary driver it always adopts to the size of the primary driver. If loaded as the only (or primary) driver, the size can be set. I< Optional. Type uniline. > =over 4 =item upstream_default value : 40x4 =back =head2 Speed Serial port baudrate I< Optional. Type uniline. > =over 4 =item upstream_default value : 9600 =back =head2 UpdateRate How often to dump the LCD contents out the port, in Hertz (times per second) 1 = once per second, 4 is 4 times per second, 0.1 is once every 10 seconds. I< Optional. Type number. > =over 4 =item upstream_default value : 1 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/curses.pl0000644000175000017500000000372114002556113022661 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Background', { 'description' => 'background color when "backlight" is off ', 'type' => 'leaf', 'upstream_default' => 'cyan', 'value_type' => 'uniline' }, 'Backlight', { 'description' => 'background color when "backlight" is on ', 'type' => 'leaf', 'upstream_default' => 'red', 'value_type' => 'uniline' }, 'DrawBorder', { 'description' => 'draw Border ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Foreground', { 'description' => 'color settings foreground color ', 'type' => 'leaf', 'upstream_default' => 'blue', 'value_type' => 'uniline' }, 'Size', { 'description' => 'display size ', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' }, 'TopLeftX', { 'default' => '7', 'description' => 'What position (X,Y) to start the left top corner at... Default: (7,7)', 'type' => 'leaf', 'value_type' => 'uniline' }, 'TopLeftY', { 'default' => '7', 'type' => 'leaf', 'value_type' => 'uniline' }, 'UseACS', { 'description' => 'use ASC symbols for icons & bars ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] } ], 'name' => 'LCDd::curses' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/text.pod0000644000175000017500000000073214002556113022507 0ustar domidomi# PODNAME: Config::Model::models::LCDd::text # ABSTRACT: Configuration class LCDd::text =encoding utf8 =head1 NAME Config::Model::models::LCDd::text - Configuration class LCDd::text =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Size Set the display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/mdm166a.pod0000644000175000017500000000154414002556113022700 0ustar domidomi# PODNAME: Config::Model::models::LCDd::mdm166a # ABSTRACT: Configuration class LCDd::mdm166a =encoding utf8 =head1 NAME Config::Model::models::LCDd::mdm166a - Configuration class LCDd::mdm166a =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Clock Show self-running clock after LCDd shutdown Possible values: I< Optional. Type enum. choice: 'no', 'small', 'big'. > =over 4 =item upstream_default value : no =back =head2 Dimming Dim display, no dimming gives full brightness I< Optional. Type uniline. > =over 4 =item upstream_default value : no,legal:yes,no =back =head2 OffDimming Dim display in case LCDd is inactive I< Optional. Type uniline. > =over 4 =item upstream_default value : no,legal:yes,no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/vlsys_m428.pod0000644000175000017500000000100714002556113023451 0ustar domidomi# PODNAME: Config::Model::models::LCDd::vlsys_m428 # ABSTRACT: Configuration class LCDd::vlsys_m428 =encoding utf8 =head1 NAME Config::Model::models::LCDd::vlsys_m428 - Configuration class LCDd::vlsys_m428 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/ttyUSB0 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/ms6931.pl0000644000175000017500000000134214002556113022314 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/ttyS1', 'value_type' => 'uniline' }, 'Size', { 'description' => 'display size ', 'type' => 'leaf', 'upstream_default' => '16x2', 'value_type' => 'uniline' } ], 'name' => 'LCDd::ms6931' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/SureElec.pod0000644000175000017500000000252514002556113023234 0ustar domidomi# PODNAME: Config::Model::models::LCDd::SureElec # ABSTRACT: Configuration class LCDd::SureElec =encoding utf8 =head1 NAME Config::Model::models::LCDd::SureElec - Configuration class LCDd::SureElec =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 480 =back =head2 Contrast Set the initial contrast I< Optional. Type integer. > =over 4 =item upstream_default value : 480 =back =head2 Device Port the device is connected to (by default first USB serial port) I< Optional. Type uniline. > =over 4 =item default value : /dev/ttyUSB0 =back =head2 Edition Edition level of the device (can be 1, 2 or 3) I< Optional. Type uniline. > =over 4 =item upstream_default value : 2 =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 100 =back =head2 Size set display size Note: The size can be obtained directly from device for edition 2 & 3. I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/Olimex_MOD_LCD1x9.pl0000644000175000017500000000111314002556113024326 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'default' => '/dev/i2c-0', 'description' => 'device file of the i2c controler', 'type' => 'leaf', 'value_type' => 'uniline' } ], 'name' => 'LCDd::Olimex_MOD_LCD1x9' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glk.pl0000644000175000017500000000210214002556113022122 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Contrast', { 'description' => 'set the initial contrast value ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '560', 'value_type' => 'integer' }, 'Device', { 'description' => 'select the serial device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '9600', '19200', '38400' ], 'description' => 'set the serial port speed ', 'type' => 'leaf', 'upstream_default' => '19200', 'value_type' => 'enum' } ], 'name' => 'LCDd::glk' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lirc.pl0000644000175000017500000000143114002556113022302 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'lircrc', { 'description' => 'Specify an alternative location of the lircrc file ', 'type' => 'leaf', 'upstream_default' => '~/.lircrc', 'value_type' => 'uniline' }, 'prog', { 'description' => 'Must be the same as in your lircrc', 'type' => 'leaf', 'upstream_default' => 'lcdd', 'value_type' => 'uniline' } ], 'name' => 'LCDd::lirc' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/lcterm.pod0000644000175000017500000000105014002556113023003 0ustar domidomi# PODNAME: Config::Model::models::LCDd::lcterm # ABSTRACT: Configuration class LCDd::lcterm =encoding utf8 =head1 NAME Config::Model::models::LCDd::lcterm - Configuration class LCDd::lcterm =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device I< Optional. Type uniline. > =over 4 =item default value : /dev/ttyS1 =back =head2 Size I< Optional. Type uniline. > =over 4 =item default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/pyramid.pod0000644000175000017500000000075414002556113023174 0ustar domidomi# PODNAME: Config::Model::models::LCDd::pyramid # ABSTRACT: Configuration class LCDd::pyramid =encoding utf8 =head1 NAME Config::Model::models::LCDd::pyramid - Configuration class LCDd::pyramid =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device device to connect to I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/sdeclcd.pod0000644000175000017500000000055414002556113023126 0ustar domidomi# PODNAME: Config::Model::models::LCDd::sdeclcd # ABSTRACT: Configuration class LCDd::sdeclcd =encoding utf8 =head1 NAME Config::Model::models::LCDd::sdeclcd - Configuration class LCDd::sdeclcd =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/irtrans.pod0000644000175000017500000000136114002556113023204 0ustar domidomi# PODNAME: Config::Model::models::LCDd::irtrans # ABSTRACT: Configuration class LCDd::irtrans =encoding utf8 =head1 NAME Config::Model::models::LCDd::irtrans - Configuration class LCDd::irtrans =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Backlight Does the device have a backlight? I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Hostname IRTrans device to connect to I< Optional. Type uniline. > =over 4 =item upstream_default value : localhost =back =head2 Size display dimensions. I< Optional. Type uniline. > =over 4 =item default value : 16x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CFontzPacket.pl0000644000175000017500000000620714002556113023712 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Contrast', { 'description' => 'Set the initial contrast ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '560', 'value_type' => 'integer' }, 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Model', { 'choice' => [ '533', '631', '633', '635' ], 'description' => 'Select the LCD model ', 'type' => 'leaf', 'upstream_default' => '633', 'value_type' => 'enum' }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'OldFirmware', { 'description' => 'Very old 633 firmware versions do not support partial screen updates using \'Send Data to LCD\' command (31). For those devices it may be necessary to enable this flag. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Reboot', { 'description' => 'Reinitialize the LCD\'s BIOS on driver start. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'Size', { 'description' => 'Override the LCD size known for the selected model. Usually setting this value should not be necessary.', 'type' => 'leaf', 'upstream_default' => '20x4', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '19200', '115200' ], 'description' => 'Override the default communication speed known for the selected model. Default value depends on model ', 'type' => 'leaf', 'value_type' => 'enum' }, 'USB', { 'description' => 'Enable the USB flag if the device is connected to an USB port. For serial ports leave it disabled. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] } ], 'name' => 'LCDd::CFontzPacket' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glcd.pl0000644000175000017500000001766414002556113022301 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set brightness of the backlight if the backlight is switched \'on\'.', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '800', 'value_type' => 'integer' }, 'CellSize', { 'description' => 'Width and height of a character cell in pixels. This value is only used if the driver has been compiled with FreeType and it is enabled. Otherwise the default 6x8 cell is used.', 'type' => 'leaf', 'upstream_default' => '12x16', 'value_type' => 'uniline' }, 'ConnectionType', { 'default' => 't6963', 'description' => 'Select what type of connection. See documentation for types.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Contrast', { 'description' => 'Set the initial contrast if supported by connection type.', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '600', 'value_type' => 'integer' }, 'KeyMap_A', { 'default' => 'Up', 'description' => 'Assign key strings to keys. There may be up to 16 keys numbered \'A\' to \'Z\'. By default keys \'A\' to \'F\' are assigned Up, Down, Left, Right, Enter, Escape.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMap_B', { 'default' => 'Down', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMap_C', { 'default' => 'Enter', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyMap_D', { 'default' => 'Escape', 'type' => 'leaf', 'value_type' => 'uniline' }, 'KeyRepeatDelay', { 'description' => 'Time (ms) from first key report to first repeat. Set to 0 to disable repeated key reports. ', 'max' => '3000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '500', 'value_type' => 'integer' }, 'KeyRepeatInterval', { 'description' => 'Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled (set to zero). ', 'max' => '3000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '300', 'value_type' => 'integer' }, 'OffBrightness', { 'description' => 'Set brightness of the backlight if the backlight is switched \'off\'. Set this to zero to completely turn off the backlight. ', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '100', 'value_type' => 'integer' }, 'Port', { 'description' => '--- t6963 options --- Parallel port to use legal: 0x200-0x400 ', 'type' => 'leaf', 'upstream_default' => '0x378', 'value_type' => 'uniline' }, 'Size', { 'description' => 'Width and height of the display in pixel. The supported sizes may depend on the ConnectionType. legal: 1x1-640x480 ', 'type' => 'leaf', 'upstream_default' => '128x64', 'value_type' => 'uniline' }, 'bidirectional', { 'description' => 'Use LPT port in bi-directional mode. This should work on most LPT port and is required for proper timing! ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'delayBus', { 'description' => 'Insert additional delays into reads / writes. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'fontHasIcons', { 'description' => 'Some fonts miss the Unicode characters used to represent icons. In this case the built-in 5x8 font can used if this option is turned off. ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'normal_font', { 'description' => 'Path to font file to use for FreeType rendering. This font must be monospace and should contain some special Unicode characters like arrows (Andale Mono is recommended and can be fetched at http://corefonts.sf.net).', 'type' => 'leaf', 'upstream_default' => '/usr/local/lib/X11/fonts/TTF/andalemo.ttf', 'value_type' => 'uniline' }, 'picolcdgfx_Inverted', { 'choice' => [ 'yesorno' ], 'description' => 'Inverted: Inverts the pixels. ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'enum' }, 'picolcdgfx_KeyTimeout', { 'description' => '--- picolcdgfx options --- Time in ms for usb_read to wait on a key press. ', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '125', 'value_type' => 'integer' }, 'serdisp_device', { 'default' => '/dev/ppi0', 'description' => 'The display device to use, e.g. serraw:/dev/ttyS0, parport:/dev/parport0 or USB:07c0/1501.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'serdisp_name', { 'default' => 't6963', 'description' => '--- serdisplib options --- Name of the underlying serdisplib driver, e.g. ctinclud. See serdisplib documentation for details.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'serdisp_options', { 'description' => 'Options string to pass to serdisplib during initialization. Use this to set any display related options (e.g. wiring). The display size is always set based on the Size configured above! By default, no options are set. Important: The value must be quoted as it contains equal signs!', 'type' => 'leaf', 'upstream_default' => 'INVERT=1', 'value_type' => 'uniline' }, 'useFT2', { 'description' => 'If LCDproc has been compiled with FreeType 2 support this option can be used to turn if off intentionally. ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'x11_BacklightColor', { 'description' => 'BacklightColor: The color of the backlight as full brightness.', 'type' => 'leaf', 'upstream_default' => '0x80FF80', 'value_type' => 'uniline' }, 'x11_Border', { 'description' => 'Border: Adds a border (empty space) around the LCD portion of X11 window.', 'type' => 'leaf', 'upstream_default' => '20', 'value_type' => 'uniline' }, 'x11_Inverted', { 'description' => 'Inverted: inverts the pixels ', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'x11_PixelColor', { 'description' => 'Colors are in RRGGBB format prefixed with "0x". PixelColor: The color of each dot at full contrast. ', 'type' => 'leaf', 'upstream_default' => '0x000000', 'value_type' => 'uniline' }, 'x11_PixelSize', { 'description' => '--- x11 options --- PixelSize is size of each dot in pixels + a pixel gap. ', 'type' => 'leaf', 'upstream_default' => '3+1', 'value_type' => 'uniline' } ], 'name' => 'LCDd::glcd' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/shuttleVFD.pod0000644000175000017500000000057014002556113023553 0ustar domidomi# PODNAME: Config::Model::models::LCDd::shuttleVFD # ABSTRACT: Configuration class LCDd::shuttleVFD =encoding utf8 =head1 NAME Config::Model::models::LCDd::shuttleVFD - Configuration class LCDd::shuttleVFD =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/tyan.pod0000644000175000017500000000137014002556113022475 0ustar domidomi# PODNAME: Config::Model::models::LCDd::tyan # ABSTRACT: Configuration class LCDd::tyan =encoding utf8 =head1 NAME Config::Model::models::LCDd::tyan - Configuration class LCDd::tyan =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Size set display size I< Optional. Type uniline. > =over 4 =item upstream_default value : 16x2 =back =head2 Speed Set the communication speed I< Optional. Type enum. choice: '4800', '9600'. > =over 4 =item upstream_default value : 9600 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/glcd.pod0000644000175000017500000001347314002556113022442 0ustar domidomi# PODNAME: Config::Model::models::LCDd::glcd # ABSTRACT: Configuration class LCDd::glcd =encoding utf8 =head1 NAME Config::Model::models::LCDd::glcd - Configuration class LCDd::glcd =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set brightness of the backlight if the backlight is switched 'on'. I< Optional. Type integer. > =over 4 =item upstream_default value : 800 =back =head2 CellSize Width and height of a character cell in pixels. This value is only used if the driver has been compiled with FreeType and it is enabled. Otherwise the default 6x8 cell is used. I< Optional. Type uniline. > =over 4 =item upstream_default value : 12x16 =back =head2 ConnectionType Select what type of connection. See documentation for types. I< Optional. Type uniline. > =over 4 =item default value : t6963 =back =head2 Contrast Set the initial contrast if supported by connection type. I< Optional. Type integer. > =over 4 =item upstream_default value : 600 =back =head2 KeyMap_A Assign key strings to keys. There may be up to 16 keys numbered 'A' to 'Z'. By default keys 'A' to 'F' are assigned Up, Down, Left, Right, Enter, Escape. I< Optional. Type uniline. > =over 4 =item default value : Up =back =head2 KeyMap_B I< Optional. Type uniline. > =over 4 =item default value : Down =back =head2 KeyMap_C I< Optional. Type uniline. > =over 4 =item default value : Enter =back =head2 KeyMap_D I< Optional. Type uniline. > =over 4 =item default value : Escape =back =head2 KeyRepeatDelay Time (ms) from first key report to first repeat. Set to 0 to disable repeated key reports. I< Optional. Type integer. > =over 4 =item upstream_default value : 500 =back =head2 KeyRepeatInterval Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled (set to zero). I< Optional. Type integer. > =over 4 =item upstream_default value : 300 =back =head2 OffBrightness Set brightness of the backlight if the backlight is switched 'off'. Set this to zero to completely turn off the backlight. I< Optional. Type integer. > =over 4 =item upstream_default value : 100 =back =head2 Port --- t6963 options --- Parallel port to use legal: 0x200-0x400 I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x378 =back =head2 Size Width and height of the display in pixel. The supported sizes may depend on the ConnectionType. legal: 1x1-640x480 I< Optional. Type uniline. > =over 4 =item upstream_default value : 128x64 =back =head2 bidirectional Use LPT port in bi-directional mode. This should work on most LPT port and is required for proper timing! I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 delayBus Insert additional delays into reads / writes. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 fontHasIcons Some fonts miss the Unicode characters used to represent icons. In this case the built-in 5x8 font can used if this option is turned off. I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 normal_font Path to font file to use for FreeType rendering. This font must be monospace and should contain some special Unicode characters like arrows (Andale Mono is recommended and can be fetched at http://corefonts.sf.net). I< Optional. Type uniline. > =over 4 =item upstream_default value : /usr/local/lib/X11/fonts/TTF/andalemo.ttf =back =head2 picolcdgfx_Inverted Inverted: Inverts the pixels. I< Optional. Type enum. choice: 'yesorno'. > =over 4 =item upstream_default value : no =back =head2 picolcdgfx_KeyTimeout --- picolcdgfx options --- Time in ms for usb_read to wait on a key press. I< Optional. Type integer. > =over 4 =item upstream_default value : 125 =back =head2 serdisp_device The display device to use, e.g. serraw:/dev/ttyS0, parport:/dev/parport0 or USB:07c0/1501. I< Optional. Type uniline. > =over 4 =item default value : /dev/ppi0 =back =head2 serdisp_name --- serdisplib options --- Name of the underlying serdisplib driver, e.g. ctinclud. See serdisplib documentation for details. I< Optional. Type uniline. > =over 4 =item default value : t6963 =back =head2 serdisp_options Options string to pass to serdisplib during initialization. Use this to set any display related options (e.g. wiring). The display size is always set based on the Size configured above! By default, no options are set. Important: The value must be quoted as it contains equal signs! I< Optional. Type uniline. > =over 4 =item upstream_default value : INVERT=1 =back =head2 useFT2 If LCDproc has been compiled with FreeType 2 support this option can be used to turn if off intentionally. I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 x11_BacklightColor BacklightColor: The color of the backlight as full brightness. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x80FF80 =back =head2 x11_Border Border: Adds a border (empty space) around the LCD portion of X11 window. I< Optional. Type uniline. > =over 4 =item upstream_default value : 20 =back =head2 x11_Inverted Inverted: inverts the pixels I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 x11_PixelColor Colors are in RRGGBB format prefixed with "0x". PixelColor: The color of each dot at full contrast. I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x000000 =back =head2 x11_PixelSize --- x11 options --- PixelSize is size of each dot in pixels + a pixel gap. I< Optional. Type uniline. > =over 4 =item upstream_default value : 3+1 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/CFontzPacket.pod0000644000175000017500000000416014002556113024055 0ustar domidomi# PODNAME: Config::Model::models::LCDd::CFontzPacket # ABSTRACT: Configuration class LCDd::CFontzPacket =encoding utf8 =head1 NAME Config::Model::models::LCDd::CFontzPacket - Configuration class LCDd::CFontzPacket =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Brightness Set the initial brightness I< Optional. Type integer. > =over 4 =item upstream_default value : 1000 =back =head2 Contrast Set the initial contrast I< Optional. Type integer. > =over 4 =item upstream_default value : 560 =back =head2 Device Select the output device to use I< Optional. Type uniline. > =over 4 =item upstream_default value : /dev/lcd =back =head2 Model Select the LCD model I< Optional. Type enum. choice: '533', '631', '633', '635'. > =over 4 =item upstream_default value : 633 =back =head2 OffBrightness Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive. I< Optional. Type integer. > =over 4 =item upstream_default value : 0 =back =head2 OldFirmware Very old 633 firmware versions do not support partial screen updates using 'Send Data to LCD' command (31). For those devices it may be necessary to enable this flag. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Reboot Reinitialize the LCD's BIOS on driver start. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Size Override the LCD size known for the selected model. Usually setting this value should not be necessary. I< Optional. Type uniline. > =over 4 =item upstream_default value : 20x4 =back =head2 Speed Override the default communication speed known for the selected model. Default value depends on model I< Optional. Type enum. choice: '19200', '115200'. > =head2 USB Enable the USB flag if the device is connected to an USB port. For serial ports leave it disabled. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/bayrad.pl0000644000175000017500000000155014002556113022615 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Device', { 'description' => 'Select the output device to use ', 'type' => 'leaf', 'upstream_default' => '/dev/lcd', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200' ], 'description' => 'Set the communication speed ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' } ], 'name' => 'LCDd::bayrad' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/icp_a106.pod0000644000175000017500000000110414002556113023017 0ustar domidomi# PODNAME: Config::Model::models::LCDd::icp_a106 # ABSTRACT: Configuration class LCDd::icp_a106 =encoding utf8 =head1 NAME Config::Model::models::LCDd::icp_a106 - Configuration class LCDd::icp_a106 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 Device I< Optional. Type uniline. > =over 4 =item default value : /dev/ttyS1 =back =head2 Size Display dimensions. I< Optional. Type uniline. > =over 4 =item default value : 20x2 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/IOWarrior.pod0000644000175000017500000000216014002556113023375 0ustar domidomi# PODNAME: Config::Model::models::LCDd::IOWarrior # ABSTRACT: Configuration class LCDd::IOWarrior =encoding utf8 =head1 NAME Config::Model::models::LCDd::IOWarrior - Configuration class LCDd::IOWarrior =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 ExtendedMode If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', set this flag to get into extended mode (4-line linear). I< Optional. Type uniline. > =over 4 =item upstream_default value : yes =back =head2 Lastline Specifies if the last line is pixel addressable (yes) or it controls an underline effect (no). I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 SerialNumber serial number. Must be exactly as listed by usbview (if not given, the 1st IOWarrior found gets used) I< Optional. Type uniline. > =over 4 =item upstream_default value : 00000674 =back =head2 Size display dimensions. I< Optional. Type uniline. > =over 4 =item default value : 20x4 =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/serialVFD.pl0000644000175000017500000000636014002556113023176 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; return [ { 'class_description' => 'generated from LCDd.conf', 'element' => [ 'Brightness', { 'description' => 'Set the initial brightness (4 steps 0-250, 251-500, 501-750, 751-1000)', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '1000', 'value_type' => 'integer' }, 'Device', { 'default' => '/dev/ttyS1', 'description' => 'Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1', 'type' => 'leaf', 'value_type' => 'uniline' }, 'ISO_8859_1', { 'description' => 'enable ISO 8859 1 compatibility ', 'type' => 'leaf', 'upstream_default' => 'yes', 'value_type' => 'boolean', 'write_as' => [ 'no', 'yes' ] }, 'OffBrightness', { 'description' => 'Set the initial off-brightness This value is used when the display is normally switched off in case LCDd is inactive (4 steps 0-250, 251-500, 501-750, 751-1000)', 'max' => '1000', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'integer' }, 'Port', { 'default' => '0x378', 'description' => 'Number of Custom-Characters. default is display type dependent Custom-Characters=0 Portaddress where the LPT is. Used in parallel mode only. Usual values are 0x278, 0x378 and 0x3BC.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'PortWait', { 'description' => 'Set parallel port timing delay (us). Used in parallel mode only.', 'max' => '255', 'min' => '0', 'type' => 'leaf', 'upstream_default' => '2', 'value_type' => 'integer' }, 'Size', { 'default' => '20x2', 'description' => 'Specifies the size of the VFD.', 'type' => 'leaf', 'value_type' => 'uniline' }, 'Speed', { 'choice' => [ '1200', '2400', '9600', '19200', '115200' ], 'description' => 'set the serial port speed ', 'type' => 'leaf', 'upstream_default' => '9600', 'value_type' => 'enum' }, 'Type', { 'description' => 'Specifies the displaytype. 0 NEC (FIPC8367 based) VFDs. 1 KD Rev 2.1. 2 Noritake VFDs (*). 3 Futaba VFDs 4 IEE S03601-95B 5 IEE S03601-96-080 (*) 6 Futaba NA202SD08FA (allmost IEE compatible) 7 Samsung 20S207DA4 and 20S207DA6 8 Nixdorf BA6x / VT100 (* most should work, not tested yet.)', 'type' => 'leaf', 'upstream_default' => '0', 'value_type' => 'uniline' }, 'use_parallel', { 'description' => '"no" if display connected serial, "yes" if connected parallel. I.e. serial by default', 'type' => 'leaf', 'upstream_default' => 'no', 'value_type' => 'uniline' } ], 'name' => 'LCDd::serialVFD' } ] ; Config-Model-LcdProc-2.053/lib/Config/Model/models/LCDd/t6963.pod0000644000175000017500000000214414002556113022315 0ustar domidomi# PODNAME: Config::Model::models::LCDd::t6963 # ABSTRACT: Configuration class LCDd::t6963 =encoding utf8 =head1 NAME Config::Model::models::LCDd::t6963 - Configuration class LCDd::t6963 =head1 DESCRIPTION Configuration classes used by L generated from LCDd.conf =head1 Elements =head2 ClearGraphic Clear graphic memory on start-up. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head2 Port port to use legal: 0x200-0x400 I< Optional. Type uniline. > =over 4 =item upstream_default value : 0x378 =back =head2 Size set display size in pixels I< Optional. Type uniline. > =over 4 =item upstream_default value : 128x64 =back =head2 bidirectional Use LPT port in bi-directional mode. This should work on most LPT port and is required for proper timing! I< Optional. Type boolean. > =over 4 =item upstream_default value : yes =back =head2 delayBus Insert additional delays into reads / writes. I< Optional. Type boolean. > =over 4 =item upstream_default value : no =back =head1 SEE ALSO =over =item * L =back =cut Config-Model-LcdProc-2.053/t/0000755000175000017500000000000014002556113014214 5ustar domidomiConfig-Model-LcdProc-2.053/t/README.md0000644000175000017500000000176514002556113015504 0ustar domidomi## Running the tests All tests can be run in parrallel with prove -j8 t/ ### Test options Most tests can be run with the options provided by [Config::Model::Tester::Setup](https://metacpan.org/pod/Config::Model::Tester::Setup): * `-trace`: show more information * `-error`: show stack stace in case of error * `-log`: Enable logs (you may need to tweak `~/.log4config-model` to get more trace. See [cme/Logging](https://metacpan.org/pod/distribution/App-Cme/bin/cme#Logging) for more details. ### model_tests.t This test is set of subtests made of test cases. It accepts arguments to limit the test to one subtest and one test case: perl t/model_test.t [ --log ] [--error] [--trace] [ subtest [ test_case ] ] See [Config::Model::Tester](https://metacpan.org/pod/Config::Model::Tester) for more details. ### Running with prove You can run all tests with prove -j8 t/ To run with local files: prove -l -j8 t/ You can pass parameter to test files with: prove -l t/ :: --log Config-Model-LcdProc-2.053/t/model_tests.d/0000755000175000017500000000000014002556113016760 5ustar domidomiConfig-Model-LcdProc-2.053/t/model_tests.d/lcdd-test-conf.pl0000644000175000017500000000334714002556113022132 0ustar domidomi# # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; my @fix_warnings ; push @fix_warnings, ( #load_warnings => [ qr/code check returned false/ ], load => "server DriverPath=/tmp/" , # just a work-around ) unless -d '/usr/lib/lcdproc/' ; my @tests = ( { # t0 check => { 'server Hello:0', qq! Bienvenue! , 'server Hello:1', qq( LCDproc et Config::Model!) , 'server Driver', 'curses', 'curses Size', '20x2', 'server AutoRotate', 'off', }, @fix_warnings , errors => [ # qr/value 2 > max limit 0/ => 'fs:"/var/chroot/lenny-i386/dev" fs_passno=0' , ], file_contents_like => { "/etc/LCDd.conf" => qr!" Bienvenue"! } }, { # test upgrade from raw lcdproc 0.5.5 name => 'LDCd-0.5.5', load_check => 'skip' }, { # likewise for lcdproc 0.5.6 name => 'LDCd-0.5.6', load_check => 'skip' }, { name => 'with-2-drivers', check => { 'server Hello:0', qq! Bienvenue! , 'server Hello:1', qq( LCDproc et Config::Model!) , 'server Driver', 'curses,lirc', 'curses Size', '20x2', 'server AutoRotate', 'off', 'lirc prog','lcdd', }, @fix_warnings , }, ); return { model_to_test => "LCDd" , conf_file_name => "LCDd.conf" , conf_dir => "etc" , tests => \@tests }; Config-Model-LcdProc-2.053/t/model_tests.d/lcdd-examples/0000755000175000017500000000000014002556113021502 5ustar domidomiConfig-Model-LcdProc-2.053/t/model_tests.d/lcdd-examples/with-2-drivers0000644000175000017500000000072414002556113024216 0ustar domidomi## yada [server] DriverPath=/usr/lib/lcdproc/ Driver=curses Driver=lirc AutoRotate=no # Tells the driver to bind to the given interface Bind=127.0.0.1 # Listen on this specified port; defaults to 13666. Port=13666 Hello=" Bienvenue" Hello=" LCDproc et Config::Model!" [menu] # The following works excellent with 4 keys or more. EnterKey=Enter UpKey=Up # Downkey and not donkey :-) DownKey=Down ## Curses driver ## [curses] Size=20x2 [lirc] prog = lcddConfig-Model-LcdProc-2.053/t/model_tests.d/lcdd-examples/LDCd-0.5.60000644000175000017500000010577614002556113022657 0ustar domidomi# LCDd.conf -- configuration file for the LCDproc server daemon LCDd # # 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 specifying 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 the driver is specified using the -d command line option, # the Driver= options in the config file are ignored. # # The drivers read their own options from the respective sections. ## Server section with all kinds of settings for the LCDd server ## [server] # 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 ! DriverPath=server/drivers/ # Tells the server to load the given drivers. Multiple lines can be given. # The name of the driver is case sensitive and determines the section # where to look for further configuration options of the specific driver # as well as the name of the dynamic driver module to load at runtime. # The latter one can be changed by giving a File= directive in the # driver specific section. # # The following drivers are supported: # bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, # EyeboxOne, g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd, # IOWarrior, irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800, # mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, picolcd, # pyramid, sdeclcd, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli, # stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd Driver=curses # Tells the driver to bind to the given interface Bind=127.0.0.1 # Listen on this specified port; defaults to 13666. Port=13666 # Sets the reporting level; defaults to 2 (warnings and errors only). #ReportLevel=3 # Should we report to syslog instead of stderr ? [default: no; legal: yes, no] #ReportToSyslog=yes # User to run as. LCDd will drop its root privileges, if any, # and run as this user instead. User=nobody # The server will stay in the foreground if set to true. #Foreground=no # Hello message: each entry represents a display line; default: builtin #Hello=" Welcome to" #Hello=" LCDproc!" # GoodBye message: each entry represents a display line; default: builtin #GoodBye="Thanks for using" #GoodBye=" LCDproc!" # Sets the default time in seconds to displays a screen. WaitTime=5 # If set to no, LCDd will start with screen rotation disabled. This has the # same effect as if the ToggleRotateKey had been pressed. Rotation will start # if the ToggleRotateKey is pressed. Note that this setting does not turn off # priority sorting of screens. [default: on; legal: on, off] #AutoRotate=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. The special value 'blank' is similar to no, but only a blank screen # is displayed. [default: on; legal: on, off, blank] #ServerScreen=no # Set master backlight setting. If set to 'open' a client may control the # backlight for its own screens (only). [default: open; legal: off, open, on] #Backlight=open # Set master heartbeat setting. If set to 'open' a client may control the # heartbeat for its own screens (only). [default: open; legal: off, open, on] #Heartbeat=open # set title scrolling speed [default: 10; legal: 0-10] #TitleSpeed=10 # The "...Key=" lines define what the server does with keypresses that # don't go to any client. The ToggleRotateKey stops rotation of screens, while # the PrevScreenKey and NextScreenKey go back / forward one screen (even if # rotation is disabled. # Assign the key string returned by the driver to the ...Key setting. These # are the defaults: ToggleRotateKey=Enter PrevScreenKey=Left NextScreenKey=Right #ScrollUpKey=Up #ScrollDownKey=Down ## The menu section. The menu is an internal LCDproc client. ## [menu] # You can configure what keys the menu should use. Note that the MenuKey # will be reserved exclusively, the others work in shared mode. # Up to six keys are supported. The MenuKey (to enter and exit the menu), the # EnterKey (to select values) and at least one movement keys are required. # These are the default key assignments: MenuKey=Escape EnterKey=Enter UpKey=Up DownKey=Down #LeftKey=Left #RightKey=Right ### Driver sections are below this line, in alphabetical order ### ## EMAC BayRAD driver ## [bayrad] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200] Speed=9600 ## CrystalFontz driver (for CF632 & CF634) ## [CFontz] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Select the LCD size [default: 20x4] Size=20x4 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # 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, 19200, # 115200] Speed=9600 # Set the firmware version (New means >= 2.0) [default: no; legal: yes, no] NewFirmware=no # Reinitialize the LCD's BIOS [default: no; legal: yes, no] # normally you shouldn't need this Reboot=no ## CrystalFontz packet driver (for CFA533, CFA631, CFA633 & CFA635) ## [CFontzPacket] # Select the LCD model [default: 633; legal: 533, 631, 633, 635] Model=633 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # Reinitialize the LCD's BIOS on driver start. [default: no; legal: yes, no] Reboot=yes # Enable the USB flag if the device is connected to an USB port. For # serial ports leave it disabled. [default: no; legal: yes, no] #USB=yes # Very old 633 firmware versions do not support partial screen updates using # 'Send Data to LCD' command (31). For those devices it may be necessary to # enable this flag. [default: no; legal: yes, no] #OldFirmware=yes # Override the LCD size known for the selected model. Usually setting this # value should not be necessary. #Size=20x4 # Override the default communication speed known for the selected model. # Default value depends on model [legal: 19200, 115200] #Speed=115200 ## Curses driver ## [curses] # color settings # foreground color [default: blue] Foreground=blue # background color when "backlight" is off [default: cyan] Background=cyan # background color when "backlight" is on [default: red] Backlight=red # display size [default: 20x4] Size=20x4 # What position (X,Y) to start the left top corner at... # Default: (7,7) TopLeftX=7 TopLeftY=7 # use ASC symbols for icons & bars [default: no; legal: yes, no] UseACS=no # draw Border [default: yes; legal: yes, no] DrawBorder=yes ## Cwlinux driver ## [CwLnx] # Select the LCD model [default: 12232; legal: 12232, 12832, 1602] Model=12232 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Select the LCD size. Default depends on model: # 12232: 20x4 # 12832: 21x4 # 1602: 16x2 Size=20x4 # Set the communication speed [default: 19200; legal: 9600, 19200] Speed=19200 # Reinitialize the LCD's BIOS [default: no; legal: yes, 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 keys in the CwLnx hardware that generate characters # from 'A' to 'F'. # # The following is 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 # keypad_test_mode permits one to test keypad assignment # Default value is no #keypad_test_mode=yes ## ea65 driver for the display in AOpen XC Cube AV EA65 media barebones ## [ea65] # Device is fixed /dev/ttyS1 # Width and Height are fixed 9x1 # As the VFD is self luminescent we don't have a backlight # But we can use the backlight functions to control the front LEDs # Brightness 0 to 299 -> LEDs off # Brightness 300 to 699 -> LEDs half bright # Brightness 700 to 1000 -> LEDs full bright Brightness=500 # OffBrightness is the the value used for the 'backlight off' state OffBrightness=0 ## EyeboxOne driver ## [EyeboxOne] # Select the output device to use [default: /dev/ttyS1] #Device=/dev/cua01 Device=/dev/ttyS1 # Set the display size [default: 20x4] Size=20x4 # Switch on the backlight? [default: yes] Backlight=yes # Switch on the cursor? [default: no] Cursor=no # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # Enter Key is a \r character, so it's hardcoded in the driver LeftKey=D RightKey=C UpKey=A DownKey=B EscapeKey=P # 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 ## g15 driver for Logitech G15 Keyboard LCDs ## [g15] # Display size (currently unused) size=20x5 ## glcd generic graphical display driver [glcd] # Select what type of connection. See documentation for types. ConnectionType=t6963 # Width and height of the display in pixel. The supported sizes may depend on # the ConnectionType. [default: 128x64; legal: 1x1 - 640x480] #Size=128x64 # Width and height of a character cell in pixels. This value is only used if # the driver has been compiled with FreeType and it is enabled. Otherwise the # default 6x8 cell is used. #CellSize=12x16 # If LCDproc has been compiled with FreeType 2 support this option can be used # to turn if off intentionally. [default: yes; legal: yes, no] #useFT2=no # Path to font file to use for FreeType rendering. This font must be monospace # and should contain some special Unicode characters like arrows (Andale Mono # is recommended and can be fetched at http://corefonts.sf.net). #normal_font=/usr/local/lib/X11/fonts/TTF/andalemo.ttf # Some fonts miss the Unicode characters used to represent icons. In this case # the built-in 5x8 font can used if this option is turned off. [default: yes; # legal: yes, no] #fontHasIcons=no # Set the initial contrast if supported by connection type. # [default: 600; legal: 0 - 1000] #Contrast=600 # Set brightness of the backlight if the backlight is switched 'on'. # [default: 800; legal: 0 - 1000] #Brightness=1000 # Set brightness of the backlight if the backlight is switched 'off'. Set this # to zero to completely turn off the backlight. [default: 100; legal: 0 - 1000] #OffBrightness=0 # Time (ms) from first key report to first repeat. Set to 0 to disable repeated # key reports. [default: 500; legal: 0 - 3000] #KeyRepeatDelay=500 # Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled # (set to zero). [default: 300; legal: 0 - 3000] #KeyRepeatInterval=300 # Assign key strings to keys. There may be up to 16 keys numbered 'A' to 'Z'. # By default keys 'A' to 'F' are assigned Up, Down, Left, Right, Enter, Escape. KeyMap_A=Up KeyMap_B=Down KeyMap_C=Enter KeyMap_D=Escape # t6963: Parallel port to use [default: 0x378; legal: 0x200 - 0x400] #Port=0x378 # t6963: Use LPT port in bi-directional mode. This should work on most LPT port # and is required for proper timing! [default: yes; legal: yes, no] #bidirectional=yes # t6963: Insert additional delays into reads / writes. [default: no; # legal: yes, no] #delayBus=no # serdisplib: Name of the underlying serdisplib driver, e.g. ctinclud. See # serdisplib documentation for details. serdisp_name=t6963 # serdisplib: The display device to use, e.g. serraw:/dev/ttyS0, # parport:/dev/parport0 or USB:07c0/1501. serdisp_device=/dev/ppi0 # serdisplib: Options string to pass to serdisplib during initialization. Use # this to set any display related options (e.g. wiring). The display size is # always set based on the Size configured above! By default, no options are # set. # Important: The value must be quoted as it contains equal signs! #serdisp_options="INVERT=1" ## 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 resolution # 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 # minimum 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 within 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] # select the serial device to use [default: /dev/lcd] Device=/dev/lcd # set the initial contrast value [default: 560; legal: 0 - 1000] Contrast=560 # set the serial port speed [default: 19200; legal: 9600, 19200, 38400] Speed=19200 ## Hitachi HD44780 driver ## [hd44780] # Select what type of connection. See documentation for types. ConnectionType=4bit # Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC Port=0x378 # Device of the serial interface [default: /dev/lcd] Device=/dev/ttyS0 # Bitrate of the serial port (0 for interface default) Speed=0 # If you have a keypad connected. # You may also need to configure the keypad layout further on in this file. Keypad=no # Set the initial contrast (bwctusb, lcd2usb, and usb4all) # [default: 800; legal: 0 - 1000] #Contrast=0 # Set brightness of the backlight (lcd2usb and usb4all): # Brightness is the brightness while the backlight is set to 'on'. # [default: 800; legal: 0 - 1000] #Brightness=1000 # OffBrightness is the brightness while the backlight is set to 'off'. # [default: 300; legal: 0 - 1000] #OffBrightness=0 # If you have a switchable backlight. 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 # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes # Specifies the size of the LCD. # In case of multiple combined displays, this should be the total size. Size=20x4 # For multiple combined displays: how many lines does each display have. # Vspan=2,2 means both displays have 2 lines. #vspan=2,2 # If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # set this flag to get into extended mode (4-line linear). #ExtendedMode=yes # In extended mode, on some controllers like the ST7036 (in 3 line mode) # the next line in DDRAM won't start 0x20 higher. [default: 0x20] #LineAddress=0x10 # Character map to to map ISO-8859-1 to the LCD's character set # [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073, # sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ] # (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if # compiled with additional charmaps) CharMap=hd44780_default # 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. #DelayMult=2 # Some displays (e.g. vdr-wakeup) need a message from the driver to that it # is still alive. When set to a value bigger then null the character in the # upper left corner is updated every seconds. Default: 0. #KeepAliveDisplay=0 # If you experience occasional garbage on your display you can use this # option as workaround. If set to a value bigger than null it forces a # full screen refresh seconds. Default: 0. #RefreshDisplay=5 # 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. DelayBus=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 ## ICP A106 driver ## [icp_a106] Device=/dev/ttyS1 ## Code Mercenaries IO-Warrior driver ## [IOWarrior] # display dimensions Size=20x4 # serial number. Must be exactly as listed by usbview # (if not given, the 1st IOWarrior found gets used) #SerialNumber=00000674 # If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # set this flag to get into extended mode (4-line linear). #ExtendedMode=yes # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes ## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ## [imon] # select the device to use Device=/dev/lcd0 # display dimensions Size=16x2 # Character map to to map ISO-8859-1 to the displays character set. # [default: none; legal: none, hd44780_euro, upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 ] (upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional # charmaps) CharMap=hd44780_euro ## Soundgraph iMON LCD ## [imonlcd] # Specify which iMon protocol should be used # [legal: 0, 1; default: 0] # Choose 0 for 15c2:ffdc device, # Choose 1 for 15c2:0038 device Protocol=0 # Set the exit behavior [legal: 0-2; default: 1] # 0 means leave shutdown message, # 1 means show the big clock, # 2 means blank device #OnExit=2 # Select the output device to use [default: /dev/lcd0] Device=/dev/lcd0 # Select the displays contrast [default: 200; legal: 0-1000] Contrast=200 # Specify the size of the display in pixels [default: 96x16] #Size=96x16 # Set the backlight state [default: on; legal: on, off] #Backlight=on # Set the disc mode [legal: 0,1; default: 0] # 0 => spin the "slim" disc - two disc segments, # 1 => their complement spinning; #DiscMode=0 ## IrMan driver ## [IrMan] # in case of trouble with IrMan, try the Lirc emulator for IrMan # Select the input device to use #Device=/dev/irman # Select the configuration file to use #Config=/etc/irman.cfg ## IRtrans driver ## [irtrans] # Does the device have a backlight? [default: no; legal: yes, no] #Backlight=no # IRTrans device to connect to [default: localhost] #Hostname=localhost # display dimensions Size=16x2 ## Joystick driver ## [joy] # Select the input device to use [default: /dev/js0] Device=/dev/js0 # set the axis map Map_Axis1neg=Left Map_Axis1pos=Right Map_Axis2neg=Up Map_Axis2pos=Down # set the button map Map_Button1=Enter Map_Button2=Escape ## LB216 driver ## [lb216] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Set the communication speed [default: 9600; legal: 2400, 9600] Speed=9600 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## LCDM001 driver ## [lcdm001] 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 ## HNE LCTerm driver ## [lcterm] Device=/dev/ttyS1 Size=16x2 ## LIRC input driver ## [lirc] # Specify an alternative location of the lircrc file [default: ~/.lircrc] #lircrc=/etc/lircrc.lcdproc # Must be the same as in your lircrc #prog=lcdd ## LIS MCE 2005 driver ## [lis] # Set the initial brightness [default: 1000; legal: 0 - 1000] # 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100% #Brightness=1000 # Columns by lines [default: 20x2] #Size=20x2 # USB Vendor ID [default: 0x0403] # Change only if testing a compatible device. #VendorID=0x0403 # USB Product ID [default: 0x6001] # Change only if testing a compatible device. #ProductID=0x6001 # Specifies if the last line is pixel addressable (yes) or it only controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes ##The driver for the VFD of the Medion MD8800 PC ## [MD8800] # device to use [default: /dev/ttyS1] #Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 ## Futuba MDM166A Display [mdm166a] # Show self-running clock after LCDd shutdown # Possible values: [default: no; legal: no, small, big] Clock=big # Dim display, no dimming gives full brightness [default: no, legal: yes, no] Dimming=no # Dim display in case LCDd is inactive [default: no, legal: yes, no] OffDimming=yes ## MSI MS-6931 driver for displays in 1HU servers ## [ms6931] # device to use [default: /dev/ttyS1] Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 ## MTC-S16209x driver ## [mtc_s16209x] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## Matrix Orbital driver ## [MtxOrb] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Set the display size [default: 20x4] Size=20x4 # Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd] Type=lkd # 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=480 # Some old displays do not have an adjustable backlight but only can # switch the backlight on/off. If you experience randomly appearing block # characters, try setting this to false. [default: yes; legal: yes, no] hasAdjustableBacklight=no # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=0 # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # The following table translates from MtxOrb key letters to logical key names. # By default no keys are mapped, meaning the keypad is not used at all. #KeyMap_A=Left #KeyMap_B=Right #KeyMap_C=Up #KeyMap_D=Down #KeyMap_E=Enter #KeyMap_F=Escape # See the [menu] section for an explanation of the key mappings # 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 ## mx5000 driver for LCD display on the Logitech MX5000 keyboard ## [mx5000] # Select the output device to use [default: /dev/hiddev0] Device = /dev/hiddev0 # Time to wait in ms after the refresh screen has been sent [default: 1000] WaitAfterRefresh = 1000 ## Noritake VFD driver ## [NoritakeVFD] # 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 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # Set serial data parity [default: 0; legal: 0-2 ] # Meaning: 0(=none), 1(=odd), 2(=even) Parity=0 # re-initialize the VFD [default: no; legal: yes, no] Reboot=no ## Mini-box.com picoLCD (usblcd) driver ## [picolcd] # KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When # built with libusb-1.0 key and IR data is input asynchronously so there is no # need to wait for the USB data. # KeyTimeout is the time in ms that LCDd spends waiting for a key press before # cycling through other duties. Higher values make LCDd use less CPU time and # make key presses more detectable. Lower values make LCDd more responsive # but a little prone to missing key presses. 500 (.5 second) is the default # and a balanced value. [default: 500; legal: 0 - 1000] KeyTimeout=500 # Key auto repeat is only available if the picoLCD driver is built with # libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto # repeat. # # Key auto repeat delay (time in ms from first key report to first repeat). Use # zero to disable auto repeat. [default: 300; legal: 0 - 3000] KeyRepeatDelay=300 # Key auto repeat interval (time in ms between repeat reports). Only used if # KeyRepeatDelay is not zero. [default: 200; legal: 0 - 3000] KeyRepeatInterval=200 # Sets the initial state of the backlight upon start-up. # [default: on; legal: on, off] #Backlight=on # Set the initial brightness [default: 1000; legal: 0 - 1000]. Works only # with the 20x4 device Brightness=1000 # Set the brightness while the backlight is 'off' [default: 0; legal: 0 - 1000]. # Works only with the 20x4 device. #OffBrightness=0 # Set the initial contrast [default: 1000; legal: 0 - 1000] Contrast=1000 # Link the key lights to the backlight? [default: on; legal: on, off] #LinkLights=off # Light the keys? [default: on; legal: on, off] Keylights=on # If Keylights is on, the you can unlight specific keys below: # Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. # There is no LED for the +/- keys. This is a handy way to indicate to users # which keys are disabled. [default: on; legal: on, off] Key0Light=on Key1Light=on Key2Light=on Key3Light=on Key4Light=on Key5Light=on # Host name or IP address of the LIRC instance that is to receive IR codes # If not set, or set to an empty value, IR support is disabled. #LircHost=127.0.0.1 # UDP port on which LIRC is listening [default: 8765; legal: 1 - 65535] LircPort=8765 # Threshold in jiffies of synthesized gap that triggers flushing the IR data # to lirc [default: 100 ; max: 32767 ] # 100 means 6.1ms. legal: 16 - 32767; Use 0 to disable. LircFlushThreshold=100 ## Pyramid LCD driver ## [pyramid] # device to connect to [default: /dev/lcd] Device=/dev/ttyUSB0 ## SDEC driver for Watchguard Firebox ## [sdeclcd] # No options ## Seiko Epson 1330 driver ## [sed1330] # Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC Port=0x378 # Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002) # Note: Currently only tested with G321D & SP14Q002. Type=G321D # Width x Height of a character cell in pixels [legal: 6x7 - 8x16; default: 6x10] CellSize=6x10 # Select what type of connection [legal: classic, bitshaker; default: classic] ConnectionType=classic ## Seiko Epson 1520 driver ## [sed1520] # Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC Port=0x378 # Select the interface type (wiring) for the display. Supported values are # 68 for 68-style connection (RESET level high) and 80 for 80-style connection # (RESET level low). [legal: 68, 80; default: 80] InterfaceType=80 # On fast machines it may be necessary to slow down transfer to the display. # If this value is set to zero, delay is disabled. Any value greater than # zero slows down each write by one microsecond. [legal: 0-1000; default: 1] DelayMult=0 # The original wiring used an inverter to drive the control lines. If you do # not use an inverter set haveInverter to no. [default: yes; legal: yes, no] haveInverter=no ## serial POS display driver ## [serialPOS] # Device to use in serial mode [default: /dev/lcd] Device=/dev/lcd # Specifies the size of the display in characters. [default: 16x2] Size=16x2 # Set the communication protocol to use with the POS display. # [default: AEDEX; legal: IEE, Epson, Emax, IBM, LogicControls, Ultimate] Type=AEDEX # communication baud rate with the display [default: 9600; legal: 1200, 2400, # 19200, 115200] Speed=9600 ## Serial VFD driver ## ## Drives various (see below) serial 5x7dot VFD's. ## [serialVFD] # Specifies the displaytype.[default: 0] # 0 NEC (FIPC8367 based) VFDs. # 1 KD Rev 2.1. # 2 Noritake VFDs (*). # 3 Futaba VFDs # 4 IEE S03601-95B # 5 IEE S03601-96-080 (*) # 6 Futaba NA202SD08FA (allmost IEE compatible) # 7 Samsung 20S207DA4 and 20S207DA6 # 8 Nixdorf BA6x / VT100 # (* most should work, not tested yet.) Type=0 # "no" if display connected serial, "yes" if connected parallel. [default: no] # I.e. serial by default use_parallel=no # Number of Custom-Characters. default is display type dependent #Custom-Characters=0 # Portaddress where the LPT is. Used in parallel mode only. Usual values are # 0x278, 0x378 and 0x3BC. Port=0x378 # Set parallel port timing delay (us). Used in parallel mode only. # [default: 2; legal: 0 - 255] #PortWait=2 # Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1 Device=/dev/ttyS1 # Specifies the size of the VFD. Size=20x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] # (4 steps 0-250, 251-500, 501-750, 751-1000) Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive # (4 steps 0-250, 251-500, 501-750, 751-1000) OffBrightness=0 # set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # enable ISO 8859 1 compatibility [default: yes; legal: yes, no] #ISO_8859_1=yes ## shuttleVFD driver ## [shuttleVFD] # No options ## stv5730 driver ## [stv5730] # Port the device is connected to [default: 0x378] Port=0x378 [SureElec] # Port the device is connected to (by default first USB serial port) Device=/dev/ttyUSB0 # Edition level of the device (can be 1, 2 or 3) [default: 2] #Edition=1 # set display size # Note: The size can be obtained directly from device for edition 2 & 3. #Size=16x2 # Set the initial contrast [default: 480; legal: 0 - 1000] #Contrast=200 # Set the initial brightness [default: 480; legal: 1 - 1000] #Brightness=480 # Set the initial off-brightness [default: 100; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive #OffBrightness=100 ## SVGAlib driver ## [svga] # svgalib mode to use [default: G320x240x256 ] # legal values are supported svgalib modes #Mode=G640x480x256 # set display size [default: 20x4] Size=20x4 # Set the initial contrast [default: 500; legal: 0 - 1000] # Can be set but does not change anything internally Contrast=500 # Set the initial brightness [default: 1000; legal: 1 - 1000] Brightness=1000 # Set the initial off-brightness [default: 500; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=500 ## Text driver ## [text] # Set the display size [default: 20x4] Size=20x4 ## Toshiba T6963 driver ## [t6963] # set display size in pixels [default: 128x64] Size=128x64 # port to use [default: 0x378; legal: 0x200 - 0x400] Port=0x378 # Use LPT port in bi-directional mode. This should work on most LPT port and # is required for proper timing! [default: yes; legal: yes, no] #bidirectional=yes # Insert additional delays into reads / writes. [default: no; legal: yes, no] #delayBus=no # Clear graphic memory on start-up. [default: no; legal: yes, no] #ClearGraphic=no ## Tyan Barebones LCD driver (GS10 & GS12 series) ## [tyan] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 4800, 9600] Speed=9600 # set display size [default: 16x2] 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 ## Wirz SLI LCD driver ## [sli] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, # 38400, 57600, 115200] Speed=19200 ## vlsys_m428 for VFD/IR combination in Moneual MonCaso 320 ## [vlsys_m428] # Select the output device to use [default: /dev/ttyUSB0] #Device=/dev/ttyUSB0 ## OnScreen Display using libxosd ## [xosd] # set display size [default: 20x4] Size=20x4 # Offset in pixels from the top-left corner of the monitor [default: 0x0] Offset=200x200 # X font to use, in XLFD format, as given by "xfontsel" Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-* # EOF Config-Model-LcdProc-2.053/t/model_tests.d/lcdd-examples/LDCd-0.5.50000644000175000017500000007712514002556113022652 0ustar domidomi# LCDd.conf -- configuration file for the LCDproc server daemon LCDd # # 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 specifying 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 the driver is specified using the -d command line option, # the Driver= options in the config file are ignored. # # The drivers read their own options from the respective sections. ## Server section with all kinds of settings for the LCDd server ## [server] # 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 ! DriverPath=/usr/lib/lcdproc/ # Tells the server to load the given drivers. Multiple lines can be given. # The name of the driver is case sensitive and determines the section # where to look for further configuration options of the specific driver # as well as the name of the dynamic driver module to load at runtime. # The latter one can be changed by giving a File= directive in the # driver specific section. # # The following drivers are supported: # bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, ea65, # EyeboxOne, g15, glcdlib, glk, hd44780, icp_a106, imon, imonlcd, # IOWarrior, irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800, # mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, picolcd, # pyramid, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli, # stv5730, svga, t6963, text, tyan, ula200, xosd Driver=curses # Tells the driver to bind to the given interface Bind=127.0.0.1 # Listen on this specified port; defaults to 13666. Port=13666 # Sets the reporting level; defaults to 2 (warnings and errors only). #ReportLevel=3 # Should we report to syslog instead of stderr ? [default: no; legal: yes, no] #ReportToSyslog=yes # User to run as. LCDd will drop its root privileges, if any, # and run as this user instead. User=nobody # The server will stay in the foreground if set to true. #Foreground=no # Hello message: each entry represents a display line; default: builtin #Hello=" Welcome to" #Hello=" LCDproc!" # GoodBye message: each entry represents a display line; default: builtin #GoodBye="Thanks for using" #GoodBye=" LCDproc!" # Sets the default time in seconds to displays a screen. WaitTime=5 # If set to no, LCDd will start with screen rotation disabled. This has the # same effect as if the ToggleRotateKey had been pressed. Rotation will start # if the ToggleRotateKey is pressed. Note that this setting does not turn off # priority sorting of screens. [default: on; legal: on, off] #AutoRotate=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. The special value 'blank' is similar to no, but only a blank screen # is displayed. [default: on; legal: on, off, blank] #ServerScreen=no # Set master backlight setting. If set to 'open' a client may control the # backlight for its own screens (only). [default: open; legal: off, open, on] #Backlight=open # Set master heartbeat setting. If set to 'open' a client may control the # heartbeat for its own screens (only). [default: open; legal: off, open, on] #Heartbeat=open # set title scrolling speed [default: 10; legal: 0-10] #TitleSpeed=10 # The "...Key=" lines define what the server does with keypresses that # don't go to any client. The ToggleRotateKey stops rotation of screens, while # the PrevScreenKey and NextScreenKey go back / forward one screen (even if # rotation is disabled. # Assign the key string returned by the driver to the ...Key setting. These # are the defaults: ToggleRotateKey=Enter PrevScreenKey=Left NextScreenKey=Right #ScrollUpKey=Up #ScrollDownKey=Down ## The menu section. The menu is an internal LCDproc client. ## [menu] # You can configure what keys the menu should use. Note that the MenuKey # will be reserved exclusively, the others work in shared mode. # Up to six keys are supported. The MenuKey (to enter and exit the menu), the # EnterKey (to select values) and at least one movement keys are required. # These are the default key assignments: MenuKey=Escape EnterKey=Enter UpKey=Up DownKey=Down #LeftKey=Left #RightKey=Right ### Driver sections are below this line, in alphabetical order ### ## EMAC BayRAD driver ## [bayrad] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200] Speed=9600 ## CrystalFontz driver (for CF632 & CF634) ## [CFontz] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Select the LCD size [default: 20x4] Size=20x4 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # 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, 19200, # 115200] Speed=9600 # Set the firmware version (New means >= 2.0) [default: no; legal: yes, no] NewFirmware=no # Reinitialize the LCD's BIOS [default: no; legal: yes, no] # normally you shouldn't need this Reboot=no ## CrystalFontz633 driver (for CF633 only) ## [CFontz633] # Note: Use of this driver is deprecated, please use CFontzPacket driver # with Model=633 instead. # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Select the LCD type (size) [default: 16x2] Size=16x2 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200] Speed=19200 # Set the firmware version (New means >= 2.0) [default: no; legal: yes, no] # Currently this flag is not in use, there is no such thing as NewFirmware. ;=) #NewFirmware=no # Reinitialize the LCD's BIOS [default: no; legal: yes, no] # I want to reboot the LCD to make sure we start from a known state Reboot=yes ## CrystalFontz packet driver (for CFA533, CFA631, CFA633 & CFA635) ## [CFontzPacket] # Select the LCD model [default: 633; legal: 533, 631, 633, 635] Model=633 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Set the initial contrast [default: 560; legal: 0 - 1000] Contrast=350 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # Reinitialize the LCD's BIOS on driver start. [default: no; legal: yes, no] Reboot=yes # Enable the USB flag if the device is connected to an USB port. For # serial ports leave it disabled. [default: no; legal: yes, no] #USB=yes # Very old 633 firmware versions do not support partial screen updates using # 'Send Data to LCD' command (31). For those devices it may be necessary to # enable this flag. [default: no; legal: yes, no] #OldFirmware=yes # Override the LCD size known for the selected model. Usually setting this # value should not be necessary. #Size=20x4 # Override the default communication speed known for the selected model. # Default value depends on model [legal: 19200, 115200] #Speed=115200 ## Curses driver ## [curses] # color settings # foreground color [default: blue] Foreground=blue # background color when "backlight" is off [default: cyan] Background=cyan # background color when "backlight" is on [default: red] Backlight=red # display size [default: 20x4] Size=20x4 # What position (X,Y) to start the left top corner at... # Default: (7,7) TopLeftX=7 TopLeftY=7 # use ASC symbols for icons & bars [default: no; legal: yes, no] UseACS=no # draw Border [default: yes; legal: yes, no] DrawBorder=yes ## Cwlinux driver ## [CwLnx] # Select the LCD model [default: 12232; legal: 12232, 12832, 1602] Model=12232 # Select the output device to use [default: /dev/lcd] Device=/dev/ttyUSB0 # Select the LCD size. Default depends on model: # 12232: 20x4 # 12832: 21x4 # 1602: 16x2 Size=20x4 # Set the communication speed [default: 19200; legal: 9600, 19200] Speed=19200 # Reinitialize the LCD's BIOS [default: no; legal: yes, 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 keys in the CwLnx hardware that generate characters # from 'A' to 'F'. # # The following is 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 # keypad_test_mode permits one to test keypad assignment # Default value is no #keypad_test_mode=yes ## ea65 driver for the display in AOpen XC Cube AV EA65 media barebones ## [ea65] # Device is fixed /dev/ttyS1 # Width and Height are fixed 9x1 # As the VFD is self luminescent we don't have a backlight # But we can use the backlight functions to control the front LEDs # Brightness 0 to 299 -> LEDs off # Brightness 300 to 699 -> LEDs half bright # Brightness 700 to 1000 -> LEDs full bright Brightness=500 # OffBrightness is the the value used for the 'backlight off' state OffBrightness=0 ## EyeboxOne driver ## [EyeboxOne] # Select the output device to use [default: /dev/ttyS1] #Device=/dev/cua01 Device=/dev/ttyS1 # Set the display size [default: 20x4] Size=20x4 # Switch on the backlight? [default: yes] Backlight=yes # Switch on the cursor? [default: no] Cursor=no # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # Enter Key is a \r character, so it's hardcoded in the driver LeftKey=D RightKey=C UpKey=A DownKey=B EscapeKey=P # 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 ## g15 driver for Logitech G15 Keyboard LCDs ## [g15] # Display size (currently unused) size=20x5 ## 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 resolution # 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 # minimum 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 within 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] # select the serial device to use [default: /dev/lcd] Device=/dev/lcd # set the initial contrast value [default: 560; legal: 0 - 1000] Contrast=560 # set the serial port speed [default: 19200; legal: 9600, 19200, 38400] Speed=19200 ## Hitachi HD44780 driver ## [hd44780] # Select what type of connection. See documentation for types. ConnectionType=4bit # Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC Port=0x378 # Device of the serial interface [default: /dev/lcd] Device=/dev/ttyS0 # Bitrate of the serial port (0 for interface default) Speed=0 # If you have a keypad connected. # You may also need to configure the keypad layout further on in this file. Keypad=no # Set the initial contrast (bwctusb and lcd2usb) [default: 500; legal: 0 - 1000] Contrast=0 # Set brightness of the backlight (lcd2usb only) [default: 0; legal: 0 - 1000] #Brightness=1000 #OffBrightness=0 # If you have a switchable backlight. 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 # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes # Specifies the size of the LCD. # In case of multiple combined displays, this should be the total size. Size=20x4 # For multiple combined displays: how many lines does each display have. # Vspan=2,2 means both displays have 2 lines. #vspan=2,2 # If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # set this flag to get into extended mode (4-line linear). #ExtendedMode=yes # In extended mode, on some controllers like the ST7036 (in 3 line mode) # the next line in DDRAM won't start 0x20 higher. [default: 0x20] #LineAddress=0x10 # Character map to to map ISO-8859-1 to the LCD's character set # [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073, # sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ] # (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if # compiled with additional charmaps) CharMap=hd44780_default # 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. #DelayMult=2 # Some displays (e.g. vdr-wakeup) need a message from the driver to that it # is still alive. When set to a value bigger then null the character in the # upper left corner is updated every seconds. Default: 0. #KeepAliveDisplay=0 # If you experience occasional garbage on your display you can use this # option as workaround. If set to a value bigger than null it forces a # full screen refresh seconds. Default: 0. #RefreshDisplay=5 # 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. DelayBus=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 ## ICP A106 driver ## [icp_a106] Device=/dev/ttyS1 ## Code Mercenaries IO-Warrior driver ## [IOWarrior] # display dimensions Size=20x4 # serial number. Must be exactly as listed by usbview # (if not given, the 1st IOWarrior found gets used) #SerialNumber=00000674 # If you have an HD66712, a KS0073 or another 'almost HD44780-compatible', # set this flag to get into extended mode (4-line linear). #ExtendedMode=yes # Specifies if the last line is pixel addressable (yes) or it controls an # underline effect (no). [default: yes; legal: yes, no] #Lastline=yes ## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ## [imon] # select the device to use Device=/dev/lcd0 # display dimensions Size=16x2 # Character map to to map ISO-8859-1 to the displays character set. # [default: none; legal: none, hd44780_euro, upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 ] (upd16314, hd44780_koi8_r, # hd44780_cp1251, hd44780_8859_5 are possible if compiled with additional # charmaps) CharMap=hd44780_euro ## Soundgraph iMON LCD ## [imonlcd] # Specify which iMon protocol should be used # [legal: 0, 1; default: 0] # Choose 0 for 15c2:ffdc device, # Choose 1 for 15c2:0038 device Protocol=0 # Set the exit behavior [legal: 0-2; default: 1] # 0 means leave shutdown message, # 1 means show the big clock, # 2 means blank device #OnExit=2 # Select the output device to use [default: /dev/lcd0] Device=/dev/lcd0 # Select the displays contrast [default: 200; legal: 0-1000] Contrast=200 # Specify the size of the display in pixels [default: 96x16] #Size=96x16 # Set the backlight state [default: on; legal: on, off] #Backlight=on # Set the disc mode [legal: 0,1; default: 0] # 0 => spin the "slim" disc - two disc segments, # 1 => their complement spinning; #DiscMode=0 ## IrMan driver ## [IrMan] # in case of trouble with IrMan, try the Lirc emulator for IrMan # Select the input device to use #Device=/dev/irman # Select the configuration file to use #Config=/etc/irman.cfg ## IRtrans driver ## [irtrans] # Does the device have a backlight? [default: no; legal: yes, no] #Backlight=no # IRTrans device to connect to [default: localhost] #Hostname=localhost # display dimensions Size=16x2 ## Joystick driver ## [joy] # Select the input device to use [default: /dev/js0] Device=/dev/js0 # set the axis map Map_Axis1neg=Left Map_Axis1pos=Right Map_Axis2neg=Up Map_Axis2pos=Down # set the button map Map_Button1=Enter Map_Button2=Escape ## LB216 driver ## [lb216] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Set the communication speed [default: 9600; legal: 2400, 9600] Speed=9600 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## LCDM001 driver ## [lcdm001] 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 ## HNE LCTerm driver ## [lcterm] Device=/dev/ttyS1 Size=16x2 ## LIRC input driver ## [lirc] # Specify an alternative location of the lircrc file [default: ~/.lircrc] #lircrc=/etc/lircrc.lcdproc # Must be the same as in your lircrc #prog=lcdd ## LIS MCE 2005 driver ## [lis] # Set the initial brightness [default: 1000; legal: 0 - 1000] # 0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100% #Brightness=1000 # Columns by lines [default: 20x2] #Size=20x2 # USB Vendor ID [default: 0x0403] # Change only if testing a compatible device. #VendorID=0x0403 # USB Product ID [default: 0x6001] # Change only if testing a compatible device. #ProductID=0x6001 ##The driver for the VFD of the Medion MD8800 PC ## [MD8800] # device to use [default: /dev/ttyS1] #Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 ## Futuba MDM166A Display [mdm166a] # Show self-running clock after LCDd shutdown # Possible values: [default: no; legal: no, small, big] Clock=big # Dim display, no dimming gives full brightness [default: no, legal: yes, no] Dimming=no # Dim display in case LCDd is inactive [default: no, legal: yes, no] OffDimming=yes ## MSI MS-6931 driver for displays in 1HU servers ## [ms6931] # device to use [default: /dev/ttyS1] Device=/dev/ttyS1 # display size [default: 16x2] #Size=16x2 ## MTC-S16209x driver ## [mtc_s16209x] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the initial brightness [default: 255; legal: 0 - 255] Brightness=255 # Reinitialize the LCD's BIOS [default: no; legal: yes, no] Reboot=no ## Matrix Orbital driver ## [MtxOrb] # Select the output device to use [default: /dev/lcd] Device=/dev/ttyS0 # Set the display size [default: 20x4] Size=20x4 # Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd] Type=lkd # 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=480 # Some old displays do not have an adjustable backlight but only can # switch the backlight on/off. If you experience randomly appearing block # characters, try setting this to false. [default: yes; legal: yes, no] hasAdjustableBacklight=no # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=0 # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 # The following table translates from MtxOrb key letters to logical key names. # By default no keys are mapped, meaning the keypad is not used at all. #KeyMap_A=Left #KeyMap_B=Right #KeyMap_C=Up #KeyMap_D=Down #KeyMap_E=Enter #KeyMap_F=Escape # See the [menu] section for an explanation of the key mappings # 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 ## mx5000 driver for LCD display on the Logitech MX5000 keyboard ## [mx5000] # Select the output device to use [default: /dev/hiddev0] Device = /dev/hiddev0 # Time to wait in ms after the refresh screen has been sent [default: 1000] WaitAfterRefresh = 1000 ## Noritake VFD driver ## [NoritakeVFD] # 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 # Set the initial brightness [default: 1000; legal: 0 - 1000] Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=50 # set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # Set serial data parity [default: 0; legal: 0-2 ] # Meaning: 0(=none), 1(=odd), 2(=even) Parity=0 # re-initialize the VFD [default: no; legal: yes, no] Reboot=no ## Mini-box.com picoLCD (usblcd) driver ## [picolcd] # KeyTimeout is the time in ms that LCDd spends waiting for a key press before # cycling through other duties. Higher values make LCDd use less CPU time and # make key presses more detectable. Lower values make LCDd more responsive # but a little prone to missing key presses. 500 (.5 second) is the default # and a balanced value. [default: 500; legal: 0 - 1000] KeyTimeout=500 # Sets the initial state of the backlight upon start-up. # [default: on; legal: on, off] #Backlight=on # Set the initial brightness [default: 1000; legal: 0 - 1000]. Works only # with the 20x4 device Brightness=1000 # Set the brightness while the backlight is 'off' [default: 0; legal: 0 - 1000]. # Works only with the 20x4 device. #OffBrightness=0 # Set the initial contrast [default: 1000; legal: 0 - 1000] Contrast=1000 # Light the keys? [default: on; legal: on, off] Keylights=on # If Keylights is on, the you can unlight specific keys below: # Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. # There is no LED for the +/- keys. This is a handy way to indicate to users # which keys are disabled. [default: on; legal: on, off] Key0Light=on Key1Light=on Key2Light=on Key3Light=on Key4Light=on Key5Light=on # Host name or IP address of the LIRC instance that is to receive IR codes # If not set, or set to an empty value, IR support is disabled. #LircHost=127.0.0.1 # UDP port on which LIRC is listening [default: 8765; legal: 1 - 65535] LircPort=8765 # Threshold in jiffies of synthesized gap that triggers flushing the IR data # to lirc [default: 100 ; max: 32767 ] # 100 means 6.1ms. legal: 16 - 32767; Use 0 to disable. LircFlushThreshold=100 ## Pyramid LCD driver ## [pyramid] # device to connect to [default: /dev/lcd] Device=/dev/ttyUSB0 ## Seiko Epson 1330 driver ## [sed1330] # Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC Port=0x378 # Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002) # Note: Currently only tested with G321D & SP14Q002. Type=G321D # Width x Height of a character cell in pixels [legal: 6x7 - 8x16; default: 6x10] CellSize=6x10 # Select what type of connection [legal: classic, bitshaker; default: classic] ConnectionType=classic ## Seiko Epson 1520 driver ## [sed1520] # Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC Port=0x378 # Select the interface type (wiring) for the display. Supported values are # 68 for 68-style connection (RESET level high) and 80 for 80-style connection # (RESET level low). [legal: 68, 80; default: 80] InterfaceType=68 # On fast machines it may be necessary to slow down transfer to the display. # If this value is set to zero, delay is disabled. Any value greater than # zero slows down each write by one microsecond. [legal: 0-1000; default: 1] DelayMult=0 ## serial POS display driver ## [serialPOS] # Device to use in serial mode [default: /dev/lcd] Device=/dev/lcd # Specifies the size of the display in characters. [default: 16x2] Size=16x2 # Set the communication protocol to use with the POS display. # [default: AEDEX; legal: IEE, Epson, Emax, IBM, LogicControls, Ultimate] Type=AEDEX # communication baud rate with the display [default: 9600; legal: 1200, 2400, # 19200, 115200] Speed=9600 ## Serial VFD driver ## ## Drives various (see below) serial 5x7dot VFD's. ## [serialVFD] # Specifies the displaytype.[default: 0] # 0 NEC (FIPC8367 based) VFDs. # 1 KD Rev 2.1. # 2 Noritake VFDs (*). # 3 Futaba VFDs # 4 IEE S03601-95B # 5 IEE S03601-96-080 (*) # 6 Futaba NA202SD08FA (allmost IEE compatible) # 7 Samsung 20S207DA4 and 20S207DA6 # 8 Nixdorf BA6x / VT100 # (* most should work, not tested yet.) Type=0 # "no" if display connected serial, "yes" if connected parallel. [default: no] # I.e. serial by default use_parallel=no # Number of Custom-Characters. default is display type dependent #Custom-Characters=0 # Portaddress where the LPT is. Used in parallel mode only. Usual values are # 0x278, 0x378 and 0x3BC. Port=0x378 # Set parallel port timing delay (us). Used in parallel mode only. # [default: 2; legal: 0 - 255] #PortWait=2 # Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1 Device=/dev/ttyS1 # Specifies the size of the VFD. Size=20x2 # Set the initial brightness [default: 1000; legal: 0 - 1000] # (4 steps 0-250, 251-500, 501-750, 751-1000) Brightness=1000 # Set the initial off-brightness [default: 0; legal: 0 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive # (4 steps 0-250, 251-500, 501-750, 751-1000) OffBrightness=0 # set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200] Speed=9600 # enable ISO 8859 1 compatibility [default: yes; legal: yes, no] #ISO_8859_1=yes ## shuttleVFD driver ## [shuttleVFD] # No options ## stv5730 driver ## [stv5730] # Port the device is connected to [default: 0x378] Port=0x378 [SureElec] # Port the device is connected to (by default first USB serial port) Device=/dev/ttyUSB0 # Edition level of the device (can be 1, 2 or 3) [default: 2] #Edition=1 # set display size # Note: The size can be obtained directly from device for edition 2 & 3. #Size=16x2 # Set the initial contrast [default: 480; legal: 0 - 1000] #Contrast=200 # Set the initial brightness [default: 480; legal: 1 - 1000] #Brightness=480 # Set the initial off-brightness [default: 100; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive #OffBrightness=100 ## SVGAlib driver ## [svga] # svgalib mode to use [default: G320x240x256 ] # legal values are supported svgalib modes #Mode=G640x480x256 # set display size [default: 20x4] Size=20x4 # Set the initial contrast [default: 500; legal: 0 - 1000] # Can be set but does not change anything internally Contrast=500 # Set the initial brightness [default: 1000; legal: 1 - 1000] Brightness=1000 # Set the initial off-brightness [default: 500; legal: 1 - 1000] # This value is used when the display is normally # switched off in case LCDd is inactive OffBrightness=500 ## Text driver ## [text] # Set the display size [default: 20x4] Size=20x4 ## Toshiba T6963 driver ## [t6963] # set display size in pixels [default: 128x64] Size=128x64 # port to use [default: 0x378; legal: 0x200 - 0x400] Port=0x378 # Use LPT port in bi-directional mode. This should work on most LPT port and # is required for proper timing! [default: yes; legal: yes, no] #bidirectional=yes # Insert additional delays into reads / writes. [default: no; legal: yes, no] #delayBus=no # Clear graphic memory on start-up. [default: no; legal: yes, no] #ClearGraphic=no ## Tyan Barebones LCD driver (GS10 & GS12 series) ## [tyan] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 9600; legal: 4800, 9600] Speed=9600 # set display size [default: 16x2] 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 ## Wirz SLI LCD driver ## [sli] # Select the output device to use [default: /dev/lcd] Device=/dev/lcd # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, # 38400, 57600, 115200] Speed=19200 ## OnScreen Display using libxosd ## [xosd] # set display size [default: 20x4] Size=20x4 # Offset in pixels from the top-left corner of the monitor [default: 0x0] Offset=200x200 # X font to use, in XLFD format, as given by "xfontsel" Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-* # EOF Config-Model-LcdProc-2.053/t/model_tests.d/lcdd-examples/t00000644000175000017500000000066514002556113021757 0ustar domidomi## yada [server] DriverPath=/usr/lib/lcdproc/ Driver=curses AutoRotate=no # Tells the driver to bind to the given interface Bind=127.0.0.1 # Listen on this specified port; defaults to 13666. Port=13666 Hello=" Bienvenue" Hello=" LCDproc et Config::Model!" [menu] # The following works excellent with 4 keys or more. EnterKey=Enter UpKey=Up # Downkey and not donkey :-) DownKey=Down ## Curses driver ## [curses] Size=20x2 Config-Model-LcdProc-2.053/t/model_tests.t0000644000175000017500000000022114002556113016716 0ustar domidomi# -*- cperl -*- use warnings; use strict; use Config::Model::Tester 3.006; use ExtUtils::testlib; $::_use_log4perl_to_warn =1; run_tests() ; Config-Model-LcdProc-2.053/MANIFEST0000644000175000017500000001174014002556113015105 0ustar domidomi# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. Build.PL CONTRIBUTING.md Changes LICENSE MANIFEST MANIFEST.SKIP META.json META.yml README.pod lcdproc/LCDd.conf lcdproc/README lib/Config/Model/LcdProc.pm lib/Config/Model/models/LCDd.pl lib/Config/Model/models/LCDd.pod lib/Config/Model/models/LCDd/CFontz.pl lib/Config/Model/models/LCDd/CFontz.pod lib/Config/Model/models/LCDd/CFontzPacket.pl lib/Config/Model/models/LCDd/CFontzPacket.pod lib/Config/Model/models/LCDd/CwLnx.pl lib/Config/Model/models/LCDd/CwLnx.pod lib/Config/Model/models/LCDd/EyeboxOne.pl lib/Config/Model/models/LCDd/EyeboxOne.pod lib/Config/Model/models/LCDd/IOWarrior.pl lib/Config/Model/models/LCDd/IOWarrior.pod lib/Config/Model/models/LCDd/IrMan.pl lib/Config/Model/models/LCDd/IrMan.pod lib/Config/Model/models/LCDd/MD8800.pl lib/Config/Model/models/LCDd/MD8800.pod lib/Config/Model/models/LCDd/MtxOrb.pl lib/Config/Model/models/LCDd/MtxOrb.pod lib/Config/Model/models/LCDd/NoritakeVFD.pl lib/Config/Model/models/LCDd/NoritakeVFD.pod lib/Config/Model/models/LCDd/Olimex_MOD_LCD1x9.pl lib/Config/Model/models/LCDd/Olimex_MOD_LCD1x9.pod lib/Config/Model/models/LCDd/SureElec.pl lib/Config/Model/models/LCDd/SureElec.pod lib/Config/Model/models/LCDd/bayrad.pl lib/Config/Model/models/LCDd/bayrad.pod lib/Config/Model/models/LCDd/curses.pl lib/Config/Model/models/LCDd/curses.pod lib/Config/Model/models/LCDd/ea65.pl lib/Config/Model/models/LCDd/ea65.pod lib/Config/Model/models/LCDd/futaba.pl lib/Config/Model/models/LCDd/futaba.pod lib/Config/Model/models/LCDd/g15.pl lib/Config/Model/models/LCDd/g15.pod lib/Config/Model/models/LCDd/glcd.pl lib/Config/Model/models/LCDd/glcd.pod lib/Config/Model/models/LCDd/glcdlib.pl lib/Config/Model/models/LCDd/glcdlib.pod lib/Config/Model/models/LCDd/glk.pl lib/Config/Model/models/LCDd/glk.pod lib/Config/Model/models/LCDd/hd44780.pl lib/Config/Model/models/LCDd/hd44780.pod lib/Config/Model/models/LCDd/icp_a106.pl lib/Config/Model/models/LCDd/icp_a106.pod lib/Config/Model/models/LCDd/imon.pl lib/Config/Model/models/LCDd/imon.pod lib/Config/Model/models/LCDd/imonlcd.pl lib/Config/Model/models/LCDd/imonlcd.pod lib/Config/Model/models/LCDd/irtrans.pl lib/Config/Model/models/LCDd/irtrans.pod lib/Config/Model/models/LCDd/joy.pl lib/Config/Model/models/LCDd/joy.pod lib/Config/Model/models/LCDd/lb216.pl lib/Config/Model/models/LCDd/lb216.pod lib/Config/Model/models/LCDd/lcdm001.pl lib/Config/Model/models/LCDd/lcdm001.pod lib/Config/Model/models/LCDd/lcterm.pl lib/Config/Model/models/LCDd/lcterm.pod lib/Config/Model/models/LCDd/linux_input.pl lib/Config/Model/models/LCDd/linux_input.pod lib/Config/Model/models/LCDd/lirc.pl lib/Config/Model/models/LCDd/lirc.pod lib/Config/Model/models/LCDd/lis.pl lib/Config/Model/models/LCDd/lis.pod lib/Config/Model/models/LCDd/mdm166a.pl lib/Config/Model/models/LCDd/mdm166a.pod lib/Config/Model/models/LCDd/menu.pl lib/Config/Model/models/LCDd/menu.pod lib/Config/Model/models/LCDd/ms6931.pl lib/Config/Model/models/LCDd/ms6931.pod lib/Config/Model/models/LCDd/mtc_s16209x.pl lib/Config/Model/models/LCDd/mtc_s16209x.pod lib/Config/Model/models/LCDd/mx5000.pl lib/Config/Model/models/LCDd/mx5000.pod lib/Config/Model/models/LCDd/picolcd.pl lib/Config/Model/models/LCDd/picolcd.pod lib/Config/Model/models/LCDd/pyramid.pl lib/Config/Model/models/LCDd/pyramid.pod lib/Config/Model/models/LCDd/rawserial.pl lib/Config/Model/models/LCDd/rawserial.pod lib/Config/Model/models/LCDd/sdeclcd.pl lib/Config/Model/models/LCDd/sdeclcd.pod lib/Config/Model/models/LCDd/sed1330.pl lib/Config/Model/models/LCDd/sed1330.pod lib/Config/Model/models/LCDd/sed1520.pl lib/Config/Model/models/LCDd/sed1520.pod lib/Config/Model/models/LCDd/serialPOS.pl lib/Config/Model/models/LCDd/serialPOS.pod lib/Config/Model/models/LCDd/serialVFD.pl lib/Config/Model/models/LCDd/serialVFD.pod lib/Config/Model/models/LCDd/server.pl lib/Config/Model/models/LCDd/server.pod lib/Config/Model/models/LCDd/shuttleVFD.pl lib/Config/Model/models/LCDd/shuttleVFD.pod lib/Config/Model/models/LCDd/sli.pl lib/Config/Model/models/LCDd/sli.pod lib/Config/Model/models/LCDd/stv5730.pl lib/Config/Model/models/LCDd/stv5730.pod lib/Config/Model/models/LCDd/svga.pl lib/Config/Model/models/LCDd/svga.pod lib/Config/Model/models/LCDd/t6963.pl lib/Config/Model/models/LCDd/t6963.pod lib/Config/Model/models/LCDd/text.pl lib/Config/Model/models/LCDd/text.pod lib/Config/Model/models/LCDd/tyan.pl lib/Config/Model/models/LCDd/tyan.pod lib/Config/Model/models/LCDd/ula200.pl lib/Config/Model/models/LCDd/ula200.pod lib/Config/Model/models/LCDd/vlsys_m428.pl lib/Config/Model/models/LCDd/vlsys_m428.pod lib/Config/Model/models/LCDd/xosd.pl lib/Config/Model/models/LCDd/xosd.pod lib/Config/Model/models/LCDd/yard2LCD.pl lib/Config/Model/models/LCDd/yard2LCD.pod lib/Config/Model/system.d/lcdproc script/lcdconf2model.pl t/README.md t/model_tests.d/lcdd-examples/LDCd-0.5.5 t/model_tests.d/lcdd-examples/LDCd-0.5.6 t/model_tests.d/lcdd-examples/t0 t/model_tests.d/lcdd-examples/with-2-drivers t/model_tests.d/lcdd-test-conf.pl t/model_tests.t weaver.ini Config-Model-LcdProc-2.053/script/0000755000175000017500000000000014002556113015255 5ustar domidomiConfig-Model-LcdProc-2.053/script/lcdconf2model.pl0000755000175000017500000003446614002556113020345 0ustar domidomi#!/usr/bin/perl # # This file is part of Config-Model-LcdProc # # This software is Copyright (c) 2013-2021 by Dominique Dumont. # # This is free software, licensed under: # # The GNU Lesser General Public License, Version 2.1, February 1999 # use strict; use warnings; # This script uses all the information available in LCDd.conf to create a model # for LCDd configuration file # How does this work ? # The conventions used in LCDd.conf template file are written in a way # which makes it relatively easy to parse to get all required # information to build a model. # All drivers are listed, most parameters have default values and # legal values written in comments in a uniform way. Hence this file # (and comments) can be parsed to retrieve the information required to # create a consistent model for LcdProc configuration. Some useful # parameters are commented out in LCD.conf. So some processing is # required to be able to create a model with these commented # parameters. See below for this processing. # This script performs the following tasks: # 1/ check whether generating the model is necessary (or possible) # 2/ pre-process LCDd.conf template # 3/ parse the new LCDd.conf template # 4/ mine the information there and translate them in a format suitable to create # a model. Comments are used to provide default and legal values and also to provide # user documentation # 5/ Write the resulting LCDd model use Config::Model 2.141; use Config::Model::Itself 2.022; # to create the model use 5.010; use Path::Tiny; use Getopt::Long; my $verbose = 0; my $show_model = 0; my $force = 0; my $source = "lcdproc/LCDd.conf" ; my $result = GetOptions ( "verbose" => \$verbose, "model" => \$show_model, "force" => \$force, "file=s" => \$source, ); die "Unknown option. Expected -verbose, -force, -file or -model" unless $result ; ######################## # # Step 1: Check whether generating lcdproc model is necessary. my $target = "lib/Config/Model/models/LCDd.pl"; my $script = "script/lcdconf2model.pl"; if (-e $target and -M $target < -M $script and -M $target < -M $source) { say "LcdProc model is up to date"; exit unless $force; } say "Building lcdproc model from upstream LCDd.conf file $source" ; ########################### # # Step 2: pre-process LCDd.conf (INI file) # Here's the LCDd.conf pre-processing mentioned above # read LCDd.conf my @lines = path($source)->lines; # un-comment commented parameters and put value as default value foreach my $line (@lines) { $line =~ s/^#(\w+)=(.*)/# [default: $2]\n$1=$2/; } # write pre-processed files my $path = path('.'); my $tmp = $path->child('tmp'); $tmp->mkpath; $tmp->child('LCDd.conf')->spew(@lines); ########################### # # Step 3: parse LCDd.conf (INI file) # Problem: comments must also be retrieved and associated with INI # class and parameters # Fortunately, Config::Model::Backend::IniFile can already perform this # task. # On the other hand, Config::Model::Backend::IniFile must store its # values in a configuration tree. A model suitable for LCDd.conf that # accepts any INI class and any INI parameter must be created # Dump stack trace in case of error Config::Model::Exception::Any->Trace(1) ; # one model to rule them all my $model = Config::Model->new(); # The model for pre-precessed LCDd.conf must be made of 2 classes: # - the main config class that contains INI class names (named Dummy here) # - the child class that contains data from a elements of the INI # classes (named Dummy::Class) # For techinical reason, the lower class (Dummy::Class) must be # created first. # The class is used to store any parameter found in an INI class $model->create_config_class( name => 'Dummy::Class', accept => [ 'Hello|GoodBye|key' => { type => 'list', cargo => { qw/type leaf value_type uniline/} }, '.*' => { type => 'leaf', value_type => 'uniline' } ], ); # This class contains any INI class, and use Dummy::Class to hold parameters. $model->create_config_class( name => 'Dummy', accept => [ '.*' => { type => 'node', config_class_name => 'Dummy::Class' } ], rw_config => { backend => 'IniFile', config_dir => 'tmp', # created above file => 'LCDd.conf' } ); # Now the dummy configuration class is created. Let's create a # configuration tree to store the data from LCDd.conf my $dummy = $model->instance( instance_name => 'dummy', root_class_name => 'Dummy', )-> config_root; ############################################## # # Step 4: Mine the LCDd.conf information and create a model # # Create a meta tree that will contain LCDd model my $meta_root = $model->instance( root_class_name => 'Itself::Model', instance_name => 'meta_model', ) -> config_root; # Create LCDd configuration class and store the first comment from LCDd.conf as # class description $meta_root->grab("class:LCDd class_description")->store( $dummy->annotation ); # append my own text my $extra_description = "Model information was extracted from /etc/LCDd.conf"; $meta_root->load(qq!class:LCDd class_description.="\n\n$extra_description"!); # add legal stuff $meta_root->load( qq! class:LCDd copyright:0="2011-2017, Dominique Dumont" copyright:1="1999-2017, William Ferrell and others" license="GPL-2" ! ); # add INI backend (So LCDd model will be able to read INI files) $meta_root->load( qq! class:LCDd rw_config backend=ini_file config_dir="/etc" file="LCDd.conf" quote_value=shell_style ! ); # Note: all the load calls above could be done in one call. They are # split in several class to clarify what's going on. # Now, let's use the information retrieved by /etc/LCDd.conf # and stored in Dummy tree. # @ini_classes array contains all INI classes found in LCDd.conf, # make sure to put server in first, and sort the rest my @ini_classes = sort grep { $_ ne 'server'} $dummy->get_element_name; unshift @ini_classes, 'server' ; # Now before actually mining LCDd.conf information, we must prepare # subs to handle them. This is done using a dispatch table. my %dispatch; # first create the default case which will be used for most parameters # This subs is passed: the INI class name, the INI parameter name # the comment attached to the parameter, the INI value, and an optional # value type $dispatch{_default_} = sub { my ( $ini_class, $ini_param, $info_r, $ini_v, $value_type ) = @_; # prepare a string to create the ini_class model my $load = qq!class:"$ini_class" element:$ini_param type=leaf !; $value_type ||= 'uniline'; # get semantic information from comment (written between square brackets) my $square_model = ''; my $square_rexp = '\[(\s*\w+\s*:[^\]]*)\]'; if ($$info_r =~ /$square_rexp/s) { my $info = $1 ; say "class $ini_class element $ini_param info: '$info'" if $verbose; $$info_r =~ s/$square_rexp//gs; # remove all remaining square_rexp $square_model .= ' '. info_to_model($info,$value_type, $info_r) ; } unless ($square_model) { # or use the value found in INI file as default $ini_v =~ s/^"//g; $ini_v =~ s/"$//g; $square_model .= qq! value_type=$value_type!; $square_model .= qq! default="$ini_v"! if length($ini_v); } # get model information from comment (written between curly brackets) my $curly_model = ''; my $curly_rexp = '{%(\s*\w+.*?)%}' ; while ($$info_r =~ /$curly_rexp/s) { $curly_model = $1 ; say "class $ini_class element $ini_param model snippet: '$curly_model'" if $verbose; $$info_r =~ s/$curly_rexp//s; } # return a string containing model specifications # spec in curly model may override spec in square model return $load . $square_model . $curly_model ; }; # Now let's take care of the special cases. This one deals with "Driver" # parameter found in INI [server] class $dispatch{"LCDd::server"}{Driver} = sub { my ( $class, $elt, $info_r, $ini_v ) = @_; my $load = qq!class:"$class" element:$elt type=check_list !; my @drivers = split /\W+/, $$info_r; while ( @drivers and ( shift @drivers ) !~ /supported/ ) { } $load .= 'choice=' . join( ',', @drivers ) . ' '; #say $load; exit; return $load; }; # Ensure that DriverPath ends with a slash by adding a match clause $dispatch{"LCDd::server"}{DriverPath} = sub { return $dispatch{_default_}->( @_ ) . q! match="/$"! ; }; # like default but ensure that the parameter is integer $dispatch{"LCDd::server"}{WaitTime} = $dispatch{"LCDd::server"}{ReportLevel} = $dispatch{"LCDd::picolcd"}{LircFlushThreshold} = $dispatch{"LCDd::server"}{Port} = sub { my ( $class, $elt, $info_r, $ini_v ) = @_; return $dispatch{_default_}->( @_, 'integer' ); }; # special dispatch case my %override ; # Handle display content $override{"LCDd::server"}{GoodBye} = $override{"LCDd::server"}{Hello} = $override{"LCDd::linux_input"}{key} = sub { my ( $class, $elt ) = @_; my $ret = qq( class:"$class" element:$elt type=list ) ; $ret .= 'cargo type=leaf value_type=uniline'; return $ret ; }; # Now really mine LCDd.conf information using Dummy tree # loop over all INI classes foreach my $ini_class (@ini_classes) { say "Handling INI class $ini_class" if $verbose; my $ini_obj = $dummy->grab($ini_class); my $config_class = "LCDd::$ini_class"; # create config class in case there's no parameter in INI file $meta_root->load(qq!class:"LCDd::$ini_class" class_description="generated from LCDd.conf"!); # loop over all INI parameters and create LCDd::$ini_class elements foreach my $ini_param ( $ini_obj->get_element_name ) { my ($model_spec) ; # test for override if (my $sub = $override{$config_class}{$ini_param}) { # runs the override sub to get the model string $model_spec = $sub->($config_class, $ini_param) ; } else { # retrieve the correct sub from the orveride or dispatch table my $sub = $dispatch{$config_class}{$ini_param} || $dispatch{_default_}; # retrieve INI value my $ini_v = $ini_obj->grab_value($ini_param); # retrieve INI comment attached to $ini_param my $ini_comment = $ini_obj->grab($ini_param)->annotation; # runs the sub to get the model string $model_spec = $sub->($config_class, $ini_param, \$ini_comment, $ini_v) ; # escape embedded quotes $ini_comment =~ s/"/\\"/g; $ini_comment =~ s/\n*$//; $model_spec .= qq! description="$ini_comment"! if length($ini_comment); } # show the model without the doc (too verbose) say "load -> $model_spec" if $show_model ; # load class specification in model $meta_root->load($model_spec); } # Now create a an $ini_class element in LCDd class (to link LCDd # class and LCDd::$ini_class) my $driver_class_spec = qq! class:LCDd element:$ini_class ! ; if ( $ini_class eq 'server' or $ini_class eq 'menu' ) { $driver_class_spec .= qq! type=node config_class_name="LCDd::$ini_class" ! ; } else { # Arrange a driver class is shown only if the driver was selected # in the [server] class $driver_class_spec .= qq! type=warped_node config_class_name="LCDd::$ini_class" level=hidden warp follow:selected="- server Driver" rules:"\$selected.is_set('$ini_class')" level=normal !; } $meta_root->load($driver_class_spec); } ###################### # # Step 5: write the model # Itself constructor returns an object to read or write the data # structure containing the model to be edited. force_write is required # because writer object, being created *after* loading the model in the # instance, is not aware of these changes. my $rw_obj = Config::Model::Itself->new( model_object => $meta_root, cm_lib_dir => 'lib/Config/Model/', force_write => 1, ); say "Writing all models in file (please wait)"; $rw_obj->write_all; # mop up $tmp->remove_tree; say "Done"; # this function extracts info specified between square brackets and returns a model snippet sub info_to_model { my ($info,$value_type, $info_r) = @_ ; $info =~ s/\s+//g; my @model ; # legal needs to be parsed first to setup value_type first my %info = map { split /[:=]/,$_ ,2 ; } split /;/,$info ; # use this semantic information to better specify the parameter if (my $legal = delete $info{legal} || '') { if ( $legal =~ /^([\d.]*)-([\d.]*)$/ or $legal =~ /^>([\d.]+)$/ ) { my $bounds = ''; $bounds.= "min=$1 " if defined $1 and length($1); $bounds.= "max=$2 " if defined $2 and length($2); my $vt = "value_type="; $vt .= $bounds =~ m/\./ ? 'number ' : 'integer '; push @model, $vt.$bounds; } elsif ($legal =~ /^(on,off|off,on)$/ ) { push @model, "value_type=boolean write_as=off,on" } elsif ($legal =~ /^(yes,no|no,yes)$/ ) { push @model, "value_type=boolean write_as=no,yes" } elsif ($legal =~ /^([\w\,]+)$/ ) { push @model, "value_type=enum choice=$1" } else{ # push back $legal info if no model snippet could be extracted say "note: unhandled legal spec: '$legal'. Sending it back to doc"; push @model, "value_type=$value_type "; $$info_r .= "legal: $legal " } } else { push @model, "value_type=$value_type "; } ; foreach my $k (keys %info) { my $v = $info{$k} ; die "Undefined value. Something is wrong in info '$info'" unless defined $v ; $v = '"'.$v.'"' unless $v=~/^"/ ; if ($k =~ /default/ ) { # specify upstream default value if it was found in the comment push @model ,qq!upstream_default=$v! if length($v); } elsif ($k =~ /assert/ ) { push @model ,qq!warn_unless:0 code=$v -!; } else { push @model, "$k=$v" ; } } return join(' ',@model) ; } Config-Model-LcdProc-2.053/LICENSE0000644000175000017500000006013214002556113014760 0ustar domidomiThis software is Copyright (c) 2013-2021 by Dominique Dumont. This is free software, licensed under: The GNU Lesser General Public License, Version 2.1, February 1999 The GNU Lesser General Public License (LGPL) Version 2.1, February 1999 (The master copy of this license lives on the GNU website.) Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Config-Model-LcdProc-2.053/META.yml0000644000175000017500000000162214002556113015223 0ustar domidomi--- abstract: 'Edit and validate LcdProc configuration file' author: - 'Dominique Dumont' build_requires: Config::Model::Tester: '3.006' Module::Build: '0.34' configure_requires: Config::Model: '2.141' Config::Model::Itself: '2.022' Getopt::Long: '0' Module::Build: '0.34' Path::Tiny: '0' dynamic_config: 0 generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' license: lgpl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Config-Model-LcdProc requires: Config::Model: '2.022' perl: '5.010' resources: bugtracker: https://github.com/dod38fr/config-model-lcdproc/issues homepage: https://github.com/dod38fr/config-model/wiki repository: git://github.com/dod38fr/config-model-lcdproc.git version: '2.053' x_generated_by_perl: v5.32.0 x_serialization_backend: 'YAML::Tiny version 1.73' x_spdx_expression: LGPL-2.1