Config-Model-LcdProc-2.041 000755 001750 001750 0 12270523755 14362 5 ustar 00domi domi 000000 000000 Changes 100644 001750 001750 2363 12270523755 15742 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 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
LICENSE 100644 001750 001750 60117 12270523755 15475 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 This software is Copyright (c) 2013 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 St, Suite 500, Boston, MA 02110-1335 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
Build.PL 100644 001750 001750 3636 12270523755 15747 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 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 FATAL => qw(all);
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;
# below requires Config::Model 2.026
system ($^X, qw!-S cme gen-class-pod!) ;
$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' => {
'File::Copy::Recursive' => '0',
'File::Slurp' => '0',
'Module::Build' => '0.34',
'Path::Class' => '0',
'Test::Differences' => '0',
'Test::Exception' => '0',
'Test::File::Contents' => '0',
'Test::Memory::Cycle' => '0',
'Test::More' => '0',
'Test::Warn' => '0.11'
},
'configure_requires' => {
'Module::Build' => '0.34'
},
'requires' => {
'Config::Model' => '2.043',
'Exception::Class' => '0',
'Log::Log4perl' => '1.11',
'Mouse' => '0',
'MouseX::NativeTraits' => '0',
'perl' => 'v5.10.1'
},
add_to_cleanup => [ qw/wr_root/ ],
);
$build->add_build_element('pl');
$build->add_build_element('appli');
$build->create_build_script;
META.yml 100644 001750 001750 1662 12270523755 15721 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 ---
abstract: 'Edit and validate LcdProc configuration file'
author:
- 'Dominique Dumont'
build_requires:
File::Copy::Recursive: 0
File::Slurp: 0
Module::Build: 0.34
Path::Class: 0
Test::Differences: 0
Test::Exception: 0
Test::File::Contents: 0
Test::Memory::Cycle: 0
Test::More: 0
Test::Warn: 0.11
configure_requires:
Module::Build: 0.34
dynamic_config: 0
generated_by: 'Dist::Zilla version 5.008, CPAN::Meta::Converter version 2.133380'
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.043
Exception::Class: 0
Log::Log4perl: 1.11
Mouse: 0
MouseX::NativeTraits: 0
perl: v5.10.1
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Config-Model-LcdProc
homepage: https://github.com/dod38fr/config-model/wiki
repository: git://github.com/dod38fr/config-model-lcdproc.git
version: 2.041
MANIFEST 100644 001750 001750 11013 12270523755 15610 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.008.
Build.PL
Changes
LICENSE
MANIFEST
MANIFEST.SKIP
META.json
META.yml
README.pod
examples/lcdproc/LCDd.conf
examples/lcdproc/lcdconf2model.pl
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/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/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/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/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/system.d/lcdproc
script/gen_LCDd_model.pl
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-test-conf.pl
t/model_tests.t
t/release-pod-syntax.t
META.json 100644 001750 001750 3474 12270523755 16074 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 {
"abstract" : "Edit and validate LcdProc configuration file",
"author" : [
"Dominique Dumont"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 5.008, CPAN::Meta::Converter version 2.133380",
"license" : [
"lgpl_2_1"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Config-Model-LcdProc",
"prereqs" : {
"build" : {
"requires" : {
"File::Copy::Recursive" : "0",
"File::Slurp" : "0",
"Module::Build" : "0.34",
"Path::Class" : "0",
"Test::Differences" : "0",
"Test::Exception" : "0",
"Test::File::Contents" : "0",
"Test::Memory::Cycle" : "0",
"Test::More" : "0",
"Test::Warn" : "0.11"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0.34"
}
},
"develop" : {
"requires" : {
"Test::Pod" : "1.41"
}
},
"runtime" : {
"requires" : {
"Config::Model" : "2.043",
"Exception::Class" : "0",
"Log::Log4perl" : "1.11",
"Mouse" : "0",
"MouseX::NativeTraits" : "0",
"perl" : "v5.10.1"
}
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"mailto" : "bug-project@rt.cpan.org",
"web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Config-Model-LcdProc"
},
"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.041"
}
README.pod 100644 001750 001750 1136 12270523755 16105 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 =head1 Config::Model::LcdProc - Editor for LcdProc configuration
This module provides a graphical configuration editor for
L configuration file
(C).
=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
MANIFEST.SKIP 100644 001750 001750 165 12270523755 16323 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 ^debian/
~$
\.ptkdb$
\.old$
dist.ini
libconfig
_build
\.orig$
^MYMETA.yml$
blib
wr_root
\.rej$
README.build-from-git
t 000755 001750 001750 0 12270523755 14546 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 model_tests.t 100644 001750 001750 343 12270523755 17375 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t # -*- cperl -*-
use warnings;
use strict;
use AnyEvent;
use Config::Model::Tester ;
use ExtUtils::testlib;
my $arg = shift || '';
my $test_only_model = shift || '';
my $do = shift ;
run_tests($arg, $test_only_model, $do) ;
release-pod-syntax.t 100644 001750 001750 1130 12270523755 20612 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t #!perl
#
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
BEGIN {
unless ($ENV{RELEASE_TESTING}) {
require Test::More;
Test::More::plan(skip_all => 'these tests are for release candidate testing');
}
}
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
eval "use Test::Pod 1.41";
plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
all_pod_files_ok();
script 000755 001750 001750 0 12270523755 15607 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041 gen_LCDd_model.pl 100755 001750 001750 3245 12270523755 21072 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/script #!/usr/bin/perl
#
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
# Copyright (c) 2011 Dominique Dumont.
#
# This file is part of Config-Model.
#
# Config-Model is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# Config-Model is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser Public License for more details.
#
# You should have received a copy of the GNU Lesser Public License
# along with Config-Model; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
use warnings FATAL => qw(all);
use lib qw/lib/ ;
use strict;
my $target = "lib/Config/Model/models/LCDd.pl";
my $script = "examples/lcdproc/lcdconf2model.pl";
my $source = "examples/lcdproc/LCDd.conf" ;
exit if -e $target and -M $target < -M $script and -M $target < -M $source ;
eval { require Config::Model::Itself ;} ;
if ( $@ ) {
print "Config::Model::Itself is not available, skipping LCDd model generation\n";
exit ;
}
unless (my $return = do $script) {
warn "couldn't parse $script: $@" if $@;
warn "couldn't do $script: $!" unless defined $return;
warn "couldn't run $script" unless $return;
}
lcdproc 000755 001750 001750 0 12270523755 17547 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/examples LCDd.conf 100644 001750 001750 106014 12270523755 21366 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/examples/lcdproc # 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; [ default: 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 [ default: no; legal: yes, no].
#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/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
Model 000755 001750 001750 0 12270523755 17316 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config LcdProc.pm 100644 001750 001750 2534 12270523755 21346 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 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.041';
}
1;
=pod
=head1 NAME
Config::Model::LcdProc - Edit and validate LcdProc configuration file
=head1 VERSION
version 2.041
=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.
=head1 AUTHOR
Dominique Dumont, (dod at debian dot org)
=head1 SEE ALSO
=over
=item *
http://lcdproc.omnipotent.net/
=item *
L
=item *
L
=item *
http://github.com/dod38fr/config-model/wiki/Using-config-model
=back
models 000755 001750 001750 0 12270523755 20601 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model LCDd.pl 100644 001750 001750 44500 12270523755 22067 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => '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.
Model information extracted from template /etc/LCDd.conf
'.'=head1 BUGS
This model does not support to load several drivers. Loading several drivers is probably a marginal case. Please complain to the author if this assumption is false',
'copyright' => [
'2011-2013, Dominique Dumont',
'1999-2013, William Ferrell and others'
],
'element' => [
'server',
{
'config_class_name' => 'LCDd::server',
'type' => 'node'
},
'CFontz',
{
'config_class_name' => 'LCDd::CFontz',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'CFontz\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'CFontzPacket',
{
'config_class_name' => 'LCDd::CFontzPacket',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'CFontzPacket\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'CwLnx',
{
'config_class_name' => 'LCDd::CwLnx',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'CwLnx\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'EyeboxOne',
{
'config_class_name' => 'LCDd::EyeboxOne',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'EyeboxOne\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'IOWarrior',
{
'config_class_name' => 'LCDd::IOWarrior',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'IOWarrior\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'IrMan',
{
'config_class_name' => 'LCDd::IrMan',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'IrMan\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'MD8800',
{
'config_class_name' => 'LCDd::MD8800',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'MD8800\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'MtxOrb',
{
'config_class_name' => 'LCDd::MtxOrb',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'MtxOrb\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'NoritakeVFD',
{
'config_class_name' => 'LCDd::NoritakeVFD',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'NoritakeVFD\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'SureElec',
{
'config_class_name' => 'LCDd::SureElec',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'SureElec\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'bayrad',
{
'config_class_name' => 'LCDd::bayrad',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'bayrad\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'curses',
{
'config_class_name' => 'LCDd::curses',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'curses\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'ea65',
{
'config_class_name' => 'LCDd::ea65',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'ea65\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'g15',
{
'config_class_name' => 'LCDd::g15',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'g15\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'glcd',
{
'config_class_name' => 'LCDd::glcd',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'glcd\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'glcdlib',
{
'config_class_name' => 'LCDd::glcdlib',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'glcdlib\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'glk',
{
'config_class_name' => 'LCDd::glk',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'glk\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'hd44780',
{
'config_class_name' => 'LCDd::hd44780',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'hd44780\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'icp_a106',
{
'config_class_name' => 'LCDd::icp_a106',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'icp_a106\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'imon',
{
'config_class_name' => 'LCDd::imon',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'imon\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'imonlcd',
{
'config_class_name' => 'LCDd::imonlcd',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'imonlcd\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'irtrans',
{
'config_class_name' => 'LCDd::irtrans',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'irtrans\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'joy',
{
'config_class_name' => 'LCDd::joy',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'joy\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'lb216',
{
'config_class_name' => 'LCDd::lb216',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'lb216\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'lcdm001',
{
'config_class_name' => 'LCDd::lcdm001',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'lcdm001\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'lcterm',
{
'config_class_name' => 'LCDd::lcterm',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'lcterm\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'lirc',
{
'config_class_name' => 'LCDd::lirc',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'lirc\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'lis',
{
'config_class_name' => 'LCDd::lis',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'lis\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'mdm166a',
{
'config_class_name' => 'LCDd::mdm166a',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'mdm166a\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'menu',
{
'config_class_name' => 'LCDd::menu',
'type' => 'node'
},
'ms6931',
{
'config_class_name' => 'LCDd::ms6931',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'ms6931\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'mtc_s16209x',
{
'config_class_name' => 'LCDd::mtc_s16209x',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'mtc_s16209x\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'mx5000',
{
'config_class_name' => 'LCDd::mx5000',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'mx5000\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'picolcd',
{
'config_class_name' => 'LCDd::picolcd',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'picolcd\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'pyramid',
{
'config_class_name' => 'LCDd::pyramid',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'pyramid\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'sdeclcd',
{
'config_class_name' => 'LCDd::sdeclcd',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'sdeclcd\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'sed1330',
{
'config_class_name' => 'LCDd::sed1330',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'sed1330\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'sed1520',
{
'config_class_name' => 'LCDd::sed1520',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'sed1520\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'serialPOS',
{
'config_class_name' => 'LCDd::serialPOS',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'serialPOS\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'serialVFD',
{
'config_class_name' => 'LCDd::serialVFD',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'serialVFD\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'shuttleVFD',
{
'config_class_name' => 'LCDd::shuttleVFD',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'shuttleVFD\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'sli',
{
'config_class_name' => 'LCDd::sli',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'sli\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'stv5730',
{
'config_class_name' => 'LCDd::stv5730',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'stv5730\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'svga',
{
'config_class_name' => 'LCDd::svga',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'svga\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
't6963',
{
'config_class_name' => 'LCDd::t6963',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'t6963\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'text',
{
'config_class_name' => 'LCDd::text',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'text\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'tyan',
{
'config_class_name' => 'LCDd::tyan',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'tyan\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'ula200',
{
'config_class_name' => 'LCDd::ula200',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'ula200\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'vlsys_m428',
{
'config_class_name' => 'LCDd::vlsys_m428',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'vlsys_m428\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
},
'xosd',
{
'config_class_name' => 'LCDd::xosd',
'follow' => {
'selected' => '- server Driver'
},
'level' => 'hidden',
'rules' => [
'$selected eq \'xosd\'',
{
'level' => 'normal'
}
],
'type' => 'warped_node'
}
],
'license' => 'GPL-2',
'name' => 'LCDd',
'read_config' => [
{
'backend' => 'ini_file',
'config_dir' => '/etc',
'file' => 'LCDd.conf'
}
]
}
]
;
LCDd.pod 100644 001750 001750 23523 12270523755 22240 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models # PODNAME: Config::Model::models::LCDd
# ABSTRACT: Configuration class LCDd
=head1 NAME
Config::Model::models::LCDd - Configuration class LCDd
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
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.
Model information extracted from template /etc/LCDd.conf
=head1 BUGS
This model does not support to load several drivers. Loading several drivers is probably a marginal case. Please complain to the author if this assumption is false
=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 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 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 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 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 . >>
=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
=back
=head1 COPYRIGHT
=over
=item 2011-2013, Dominique Dumont
=item 1999-2013, William Ferrell and others
=back
=head1 LICENSE
=over
=item GPL-2
=back
=cut
lcdd-examples 000755 001750 001750 0 12270523755 22034 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t/model_tests.d t0 100644 001750 001750 665 12270523755 22431 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t/model_tests.d/lcdd-examples ## 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
lcdconf2model.pl 100644 001750 001750 31307 12270523755 23003 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/examples/lcdproc #!/usr/bin/perl
#
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 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.
# This script performs 3 tasks:
# 1/ parse LCDd.conf template
# 2/ 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
# 3/ Write the resulting LCDd model
use Config::Model;
use Config::Model::Itself ; # to create the model
use Config::Model::Backend::IniFile;
use 5.010;
use IO::File;
use IO::String;
use Getopt::Long;
# initialise logs for Config;:Model
use Log::Log4perl qw(:easy);
my $log4perl_user_conf_file = $ENV{HOME} . '/.log4config-model';
Log::Log4perl::init($log4perl_user_conf_file);
my $verbose = 0;
my $show_model = 0;
my $result = GetOptions ("verbose" => \$verbose,
"model" => \$show_model);
die "Unknown option. Expected -verbose or -show_model" unless $result ;
# Dump stack trace in case of error
Config::Model::Exception::Any->Trace(1) ;
# one model to rule them all
my $model = Config::Model->new();
###########################
#
# Step 1: 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. But Config::Model::Backend::IniFile must store its values in a
# configuration tree.
# So let's create a model suitable for LCDd.conf that accepts any
# INI class and any INI parameter
# The class is used to store any parameter found in an INI class
$model->create_config_class(
name => 'Dummy::Class',
accept => [
'Hello|GoodBye' => { type => 'list',
cargo => { qw/type leaf value_type uniline/}
},
'.*' => {qw/type leaf value_type uniline/},
],
);
# Store any INI class, and use Dummy::Class to hold parameters.
# Note that a INI backend could be created here. But, 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.
$model->create_config_class(
name => 'Dummy',
accept => [ '.*' => {qw/type node config_class_name Dummy::Class/}, ],
);
# 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;
# read LCDd.conf
my $lcd_file = IO::File->new('examples/lcdproc/LCDd.conf');
my @lines = $lcd_file->getlines;
# Here's the LCDd.conf pre-processing mentioned above
# un-comment commented parameters and put value as default value
foreach (@lines) { s/^#(\w+)=(.*)/# [default: $2]\n$1=$2/ }
# pre-processing is done.
# store the munged LCDd.conf in a IO::Handle usable by INI backend
my $ioh = IO::String->new( join( '', @lines ) );
# Create the INI backend
my $ini_backend = Config::Model::Backend::IniFile->new( node => $dummy );
# feed the munged LCDd.conf content into INI backend
$ini_backend->read( io_handle => $ioh );
##############################################
#
# Step 2: 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 extracted from template /etc/LCDd.conf"
. "\n\n=head1 BUGS\n\nThis model does not support to load several drivers. Loading "
. "several drivers is probably a marginal case. Please complain to the author if this "
. "assumption is false";
$meta_root->load(qq!class:LCDd class_description.="\n\n$extra_description"!);
# add legal stuff
$meta_root->load( qq!
class:LCDd
copyright:0="2011-2013, Dominique Dumont"
copyright:1="1999-2013, 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
read_config:0
backend=ini_file
config_dir="/etc"
file="LCDd.conf"
!
);
# Note: all the load calls above could be done as one call. But I choose
# to split them for better clarity
# This 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/ ) {
my $info = $1 ;
say "class $ini_class element $ini_param info: '$info'" if $verbose;
$$info_r =~ s/$square_rexp//g; # remove all remaining square_rexp
$square_model .= ' '. info_to_model($info,$value_type) ;
}
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 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/) {
my $model_snippet = $1 ;
say "class $ini_class element $ini_param model snippet: '$model_snippet'"
if $verbose;
$$info_r =~ s/$curly_rexp//;
$load .= ' '. $model_snippet ;
}
# return a string containing model specifications
return $load.$square_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=leaf value_type=enum !;
my @drivers = split /\W+/, $$info_r;
while ( @drivers and ( shift @drivers ) !~ /supported/ ) { }
$load .= 'choice=' . join( ',', @drivers ) . ' ';
#say $load; exit;
return $load;
};
# Ensure that DriverPath will end with a slash
$dispatch{"LCDd::server"}{DriverPath} = sub {
return $dispatch{_default_}->( @_ ) . q! match="/$"! ;
};
# like default but ensure that 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} = 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
# 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
follow:selected="- server Driver"
rules:"\$selected eq '$ini_class'"
level=normal
!;
}
$meta_root->load($driver_class_spec);
}
######################
#
# Step3: 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,
model_dir => 'lib/Config/Model/models/',
force_write => 1,
);
say "Writing all models in file (please wait)";
$rw_obj->write_all;
say "Done";
# this function extracts info specified between square brackets and returns a model snippet
sub info_to_model {
my ($info,$value_type) = @_ ;
$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
my $legal = delete $info{legal} || '';
push @model,
$legal =~ /^(\d+)-(\d+)$/ ? "value_type=integer min=$1 max=$2"
: $legal =~ /^(on,off|off,on)$/ ? "value_type=boolean write_as=off,on"
: $legal =~ /^(yes,no|no,yes)$/ ? "value_type=boolean write_as=no,yes"
: $legal =~ /^([\w\,]+)$/ ? "value_type=enum choice=$1"
: "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) ;
}
system.d 000755 001750 001750 0 12270523755 21064 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model lcdproc 100644 001750 001750 15 12270523755 22531 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/system.d model = LCDd
model_tests.d 000755 001750 001750 0 12270523755 17312 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t lcdd-test-conf.pl 100644 001750 001750 2220 12270523755 22611 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t/model_tests.d #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
$conf_file_name = "LCDd.conf" ;
$conf_dir = "etc" ;
$model_to_test = "LCDd" ;
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/' ;
@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' ,
],
},
{ #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'
},
);
1;
LCDd 000755 001750 001750 0 12270523755 21347 5 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models lis.pl 100644 001750 001750 3067 12270523755 22641 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
glk.pl 100644 001750 001750 2033 12270523755 22617 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
g15.pl 100644 001750 001750 1015 12270523755 22435 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'element' => [
'size',
{
'default' => '20x5',
'description' => 'Display size (currently unused)',
'type' => 'leaf',
'value_type' => 'uniline'
}
],
'name' => 'LCDd::g15'
}
]
;
joy.pl 100644 001750 001750 2570 12270523755 22651 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
sli.pl 100644 001750 001750 1571 12270523755 22637 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
text.pl 100644 001750 001750 1015 12270523755 23025 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'element' => [
'Size',
{
'description' => 'Set the display size ',
'type' => 'leaf',
'upstream_default' => '20x4',
'value_type' => 'uniline'
}
],
'name' => 'LCDd::text'
}
]
;
xosd.pl 100644 001750 001750 1712 12270523755 23022 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
tyan.pl 100644 001750 001750 1711 12270523755 23017 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
sli.pod 100644 001750 001750 1201 12270523755 22774 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::sli
# ABSTRACT: Configuration class LCDd::sli
=head1 NAME
Config::Model::models::LCDd::sli - Configuration class LCDd::sli
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/lcd'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '38400', '57600', '115200'. upstream_default: '19200'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
menu.pl 100644 001750 001750 2655 12270523755 23020 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
},
'RightKey',
{
'type' => 'leaf',
'upstream_default' => 'Right',
'value_type' => 'uniline'
},
'UpKey',
{
'default' => 'Up',
'type' => 'leaf',
'value_type' => 'uniline'
}
],
'name' => 'LCDd::menu'
}
]
;
svga.pl 100644 001750 001750 3100 12270523755 22776 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
imon.pl 100644 001750 001750 2270 12270523755 23007 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
joy.pod 100644 001750 001750 1655 12270523755 23023 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::joy
# ABSTRACT: Configuration class LCDd::joy
=head1 NAME
Config::Model::models::LCDd::joy - Configuration class LCDd::joy
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/js0'. >>
=head2 Map_Axis1neg
set the axis map. I<< Optional. Type uniline. default: 'Left'. >>
=head2 Map_Axis1pos
I<< Optional. Type uniline. default: 'Right'. >>
=head2 Map_Axis2neg
I<< Optional. Type uniline. default: 'Up'. >>
=head2 Map_Axis2pos
I<< Optional. Type uniline. default: 'Down'. >>
=head2 Map_Button1
set the button map. I<< Optional. Type uniline. default: 'Enter'. >>
=head2 Map_Button2
I<< Optional. Type uniline. default: 'Escape'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
ea65.pl 100644 001750 001750 1773 12270523755 22614 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
glcd.pl 100644 001750 001750 14205 12270523755 22777 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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: Parallel port to use ',
'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. ',
'type' => 'leaf',
'upstream_default' => '128x64',
'value_type' => 'uniline'
},
'bidirectional',
{
'description' => 't6963: 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' => 't6963: 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'
},
'serdisp_device',
{
'default' => '/dev/ppi0',
'description' => 'serdisplib: 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: Name of the underlying serdisplib driver, e.g. ctinclud. See
serdisplib documentation for details.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'serdisp_options',
{
'description' => '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!',
'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'
]
}
],
'name' => 'LCDd::glcd'
}
]
;
lirc.pl 100644 001750 001750 1362 12270523755 22777 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
glk.pod 100644 001750 001750 1307 12270523755 22771 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::glk
# ABSTRACT: Configuration class LCDd::glk
=head1 NAME
Config::Model::models::LCDd::glk - Configuration class LCDd::glk
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Contrast
set the initial contrast value I<< Optional. Type integer. upstream_default: '560'. >>
=head2 Device
select the serial device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head2 Speed
set the serial port speed I<< Optional. Type enum. choice: '9600', '19200', '38400'. upstream_default: '19200'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
g15.pod 100644 001750 001750 710 12270523755 22565 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::g15
# ABSTRACT: Configuration class LCDd::g15
=head1 NAME
Config::Model::models::LCDd::g15 - Configuration class LCDd::g15
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 size
Display size (currently unused)I<< Optional. Type uniline. default: '20x5'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lis.pod 100644 001750 001750 2054 12270523755 23003 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::lis
# ABSTRACT: Configuration class LCDd::lis
=head1 NAME
Config::Model::models::LCDd::lis - Configuration class LCDd::lis
=head1 VERSION
version 2.041
=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. upstream_default: '1000'. >>
=head2 Lastline
Specifies if the last line is pixel addressable (yes) or it only controls an
underline effect (no). I<< Optional. Type boolean. upstream_default: 'yes'. >>
=head2 ProductID
USB Product ID
Change only if testing a compatible device.I<< Optional. Type uniline. upstream_default: '0x6001'. >>
=head2 Size
Columns by lines I<< Optional. Type uniline. upstream_default: '20x2'. >>
=head2 VendorID
USB Vendor ID
Change only if testing a compatible device.I<< Optional. Type uniline. upstream_default: '0x0403'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lirc.pod 100644 001750 001750 1135 12270523755 23144 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::lirc
# ABSTRACT: Configuration class LCDd::lirc
=head1 NAME
Config::Model::models::LCDd::lirc - Configuration class LCDd::lirc
=head1 VERSION
version 2.041
=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. upstream_default: '~/.lircrc'. >>
=head2 prog
Must be the same as in your lircrc. I<< Optional. Type uniline. upstream_default: 'lcdd'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
t6963.pl 100644 001750 001750 3056 12270523755 22643 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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 ',
'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'
}
]
;
tyan.pod 100644 001750 001750 1261 12270523755 23166 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::tyan
# ABSTRACT: Configuration class LCDd::tyan
=head1 NAME
Config::Model::models::LCDd::tyan - Configuration class LCDd::tyan
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/lcd'. >>
=head2 Size
set display size I<< Optional. Type uniline. upstream_default: '16x2'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '4800', '9600'. upstream_default: '9600'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
ea65.pod 100644 001750 001750 1545 12270523755 22760 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::ea65
# ABSTRACT: Configuration class LCDd::ea65
=head1 NAME
Config::Model::models::LCDd::ea65 - Configuration class LCDd::ea65
=head1 VERSION
version 2.041
=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. default: '500'. >>
=head2 OffBrightness
OffBrightness is the the value used for the 'backlight off' state. I<< Optional. Type uniline. default: '0'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
glcd.pod 100644 001750 001750 7763 12270523755 23141 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::glcd
# ABSTRACT: Configuration class LCDd::glcd
=head1 NAME
Config::Model::models::LCDd::glcd - Configuration class LCDd::glcd
=head1 VERSION
version 2.041
=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. upstream_default: '800'. >>
=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. upstream_default: '12x16'. >>
=head2 ConnectionType
Select what type of connection. See documentation for types.I<< Optional. Type uniline. default: 't6963'. >>
=head2 Contrast
Set the initial contrast if supported by connection type.I<< Optional. Type integer. upstream_default: '600'. >>
=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. default: 'Up'. >>
=head2 KeyMap_B
I<< Optional. Type uniline. default: 'Down'. >>
=head2 KeyMap_C
I<< Optional. Type uniline. default: 'Enter'. >>
=head2 KeyMap_D
I<< Optional. Type uniline. default: 'Escape'. >>
=head2 KeyRepeatDelay
Time (ms) from first key report to first repeat. Set to 0 to disable repeated
key reports. I<< Optional. Type integer. upstream_default: '500'. >>
=head2 KeyRepeatInterval
Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled
(set to zero). I<< Optional. Type integer. upstream_default: '300'. >>
=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. upstream_default: '100'. >>
=head2 Port
t6963: Parallel port to use I<< Optional. Type uniline. upstream_default: '0x378'. >>
=head2 Size
Width and height of the display in pixel. The supported sizes may depend on
the ConnectionType. I<< Optional. Type uniline. upstream_default: '128x64'. >>
=head2 bidirectional
t6963: Use LPT port in bi-directional mode. This should work on most LPT port
and is required for proper timing! I<< Optional. Type boolean. upstream_default: 'yes'. >>
=head2 delayBus
t6963: Insert additional delays into reads / writes. I<< Optional. Type boolean. upstream_default: 'no'. >>
=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. upstream_default: 'yes'. >>
=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. upstream_default: '/usr/local/lib/X11/fonts/TTF/andalemo.ttf'. >>
=head2 serdisp_device
serdisplib: The display device to use, e.g. serraw:/dev/ttyS0,
parport:/dev/parport0 or USB:07c0/1501.I<< Optional. Type uniline. default: '/dev/ppi0'. >>
=head2 serdisp_name
serdisplib: Name of the underlying serdisplib driver, e.g. ctinclud. See
serdisplib documentation for details.I<< Optional. Type uniline. default: 't6963'. >>
=head2 serdisp_options
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!I<< Optional. Type uniline. upstream_default: 'INVERT=1'. >>
=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. upstream_default: 'yes'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lb216.pl 100644 001750 001750 2405 12270523755 22673 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
xosd.pod 100644 001750 001750 1336 12270523755 23173 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::xosd
# ABSTRACT: Configuration class LCDd::xosd
=head1 NAME
Config::Model::models::LCDd::xosd - Configuration class LCDd::xosd
=head1 VERSION
version 2.041
=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. default: '-*-terminus-*-r-*-*-*-320-*-*-*-*-*'. >>
=head2 Offset
Offset in pixels from the top-left corner of the monitor I<< Optional. Type uniline. upstream_default: '0x0'. >>
=head2 Size
set display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
imon.pod 100644 001750 001750 1574 12270523755 23164 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::imon
# ABSTRACT: Configuration class LCDd::imon
=head1 NAME
Config::Model::models::LCDd::imon - Configuration class LCDd::imon
=head1 VERSION
version 2.041
=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'. upstream_default: 'none'. >>
=head2 Device
select the device to use. I<< Optional. Type uniline. default: '/dev/lcd0'. >>
=head2 Size
display dimensions. I<< Optional. Type uniline. default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
menu.pod 100644 001750 001750 2123 12270523755 23155 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::menu
# ABSTRACT: Configuration class LCDd::menu
=head1 NAME
Config::Model::models::LCDd::menu - Configuration class LCDd::menu
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 DownKey
I<< Optional. Type uniline. default: 'Down'. >>
=head2 EnterKey
I<< Optional. Type uniline. default: 'Enter'. >>
=head2 LeftKey
I<< Optional. Type uniline. upstream_default: 'Left'. >>
=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. default: 'Escape'. >>
=head2 RightKey
I<< Optional. Type uniline. upstream_default: 'Right'. >>
=head2 UpKey
I<< Optional. Type uniline. default: 'Up'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
svga.pod 100644 001750 001750 2043 12270523755 23152 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::svga
# ABSTRACT: Configuration class LCDd::svga
=head1 NAME
Config::Model::models::LCDd::svga - Configuration class LCDd::svga
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Contrast
Set the initial contrast
Can be set but does not change anything internally. I<< Optional. Type integer. upstream_default: '500'. >>
=head2 Mode
svgalib mode to use
legal values are supported svgalib modes. I<< Optional. Type uniline. upstream_default: 'G320x240x256'. >>
=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. upstream_default: '500'. >>
=head2 Size
set display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
text.pod 100644 001750 001750 713 12270523755 23160 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::text
# ABSTRACT: Configuration class LCDd::text
=head1 NAME
Config::Model::models::LCDd::text - Configuration class LCDd::text
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Size
Set the display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
CwLnx.pl 100644 001750 001750 4762 12270523755 23110 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
IrMan.pl 100644 001750 001750 1454 12270523755 23056 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
ula200.pl 100644 001750 001750 1016 12270523755 23045 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'element' => [
'Size',
{
'description' => 'Select the LCD size ',
'type' => 'leaf',
'upstream_default' => '20x4',
'value_type' => 'uniline'
}
],
'name' => 'LCDd::ula200'
}
]
;
server.pl 100644 001750 001750 16706 12270523755 23404 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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',
{
'default' => '127.0.0.1',
'description' => 'Tells the driver to bind to the given interface',
'type' => 'leaf',
'value_type' => 'uniline'
},
'Driver',
{
'choice' => [
'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'
],
'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, 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',
'type' => 'leaf',
'value_type' => 'enum'
},
'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 true .',
'type' => 'leaf',
'upstream_default' => 'no',
'value_type' => 'boolean',
'write_as' => [
'no',
'yes'
]
},
'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',
{
'default' => '13666',
'description' => 'Listen on this specified port; defaults to 13666.',
'type' => 'leaf',
'value_type' => 'integer'
},
'PrevScreenKey',
{
'default' => 'Left',
'type' => 'leaf',
'value_type' => 'uniline'
},
'ReportLevel',
{
'description' => 'Sets the reporting level; (warnings and errors only).',
'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',
{
'default' => 'nobody',
'description' => 'User to run as. LCDd will drop its root privileges, if any,
and run as this user instead.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'WaitTime',
{
'default' => '5',
'description' => 'Sets the default time in seconds to displays a screen.',
'type' => 'leaf',
'value_type' => 'integer'
}
],
'name' => 'LCDd::server'
}
]
;
t6963.pod 100644 001750 001750 1722 12270523755 23010 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::t6963
# ABSTRACT: Configuration class LCDd::t6963
=head1 NAME
Config::Model::models::LCDd::t6963 - Configuration class LCDd::t6963
=head1 VERSION
version 2.041
=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. upstream_default: 'no'. >>
=head2 Port
port to use I<< Optional. Type uniline. upstream_default: '0x378'. >>
=head2 Size
set display size in pixels I<< Optional. Type uniline. upstream_default: '128x64'. >>
=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. upstream_default: 'yes'. >>
=head2 delayBus
Insert additional delays into reads / writes. I<< Optional. Type boolean. upstream_default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
MtxOrb.pl 100644 001750 001750 7644 12270523755 23272 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
MD8800.pl 100644 001750 001750 2361 12270523755 22666 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
lb216.pod 100644 001750 001750 1451 12270523755 23042 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::lb216
# ABSTRACT: Configuration class LCDd::lb216
=head1 NAME
Config::Model::models::LCDd::lb216 - Configuration class LCDd::lb216
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '255'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head2 Reboot
Reinitialize the LCD's BIOS I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '2400', '9600'. upstream_default: '9600'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
mx5000.pl 100644 001750 001750 1410 12270523755 22771 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
IrMan.pod 100644 001750 001750 1234 12270523755 23221 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::IrMan
# ABSTRACT: Configuration class LCDd::IrMan
=head1 NAME
Config::Model::models::LCDd::IrMan - Configuration class LCDd::IrMan
=head1 VERSION
version 2.041
=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. upstream_default: '/etc/irman.cfg'. >>
=head2 Device
in case of trouble with IrMan, try the Lirc emulator for IrMan
Select the input device to use. I<< Optional. Type uniline. upstream_default: '/dev/irman'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
curses.pl 100644 001750 001750 3652 12270523755 23356 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
CwLnx.pod 100644 001750 001750 3420 12270523755 23245 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::CwLnx
# ABSTRACT: Configuration class LCDd::CwLnx
=head1 NAME
Config::Model::models::LCDd::CwLnx - Configuration class LCDd::CwLnx
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/lcd'. >>
=head2 Keypad
If you have a keypad connected. Keypad layout is currently not
configureable from the config file.I<< Optional. Type uniline. default: 'yes'. >>
=head2 Model
Select the LCD model I<< Optional. Type enum. choice: '12232', '12832', '1602'. upstream_default: '12232'. >>
=head2 Reboot
Reinitialize the LCD's BIOS
normally you shouldn't need this. I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 Size
Select the LCD size. Default depends on model:
12232: 20x4
12832: 21x4
1602: 16x2. I<< Optional. Type uniline. default: '20x4'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '9600', '19200'. upstream_default: '19200'. >>
=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. upstream_default: 'yes'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lcterm.pl 100644 001750 001750 1124 12270523755 23330 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
CFontz.pl 100644 001750 001750 4530 12270523755 23251 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
bayrad.pl 100644 001750 001750 1501 12270523755 23303 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
ms6931.pl 100644 001750 001750 1273 12270523755 23011 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
bayrad.pod 100644 001750 001750 1160 12270523755 23453 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::bayrad
# ABSTRACT: Configuration class LCDd::bayrad
=head1 NAME
Config::Model::models::LCDd::bayrad - Configuration class LCDd::bayrad
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/lcd'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. upstream_default: '9600'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
picolcd.pl 100644 001750 001750 12452 12270523755 23505 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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 jiffies of synthesized gap that triggers flushing the IR data
to lirc
100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.',
'max' => '32767',
'type' => 'leaf',
'upstream_default' => '100',
'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'
},
'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'
}
]
;
MtxOrb.pod 100644 001750 001750 5065 12270523755 23434 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::MtxOrb
# ABSTRACT: Configuration class LCDd::MtxOrb
=head1 NAME
Config::Model::models::LCDd::MtxOrb - Configuration class LCDd::MtxOrb
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=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. upstream_default: '480'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=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. upstream_default: 'Left'. >>
=head2 KeyMap_B
I<< Optional. Type uniline. upstream_default: 'Right'. >>
=head2 KeyMap_C
I<< Optional. Type uniline. upstream_default: 'Up'. >>
=head2 KeyMap_D
I<< Optional. Type uniline. upstream_default: 'Down'. >>
=head2 KeyMap_E
I<< Optional. Type uniline. upstream_default: 'Enter'. >>
=head2 KeyMap_F
I<< Optional. Type uniline. upstream_default: 'Escape'. >>
=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. upstream_default: '0'. >>
=head2 Size
Set the display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. upstream_default: '19200'. >>
=head2 Type
Set the display type I<< Optional. Type enum. choice: 'lcd', 'lkd', 'vfd', 'vkd'. upstream_default: 'lcd'. >>
=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. upstream_default: 'yes'. >>
=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. default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
mx5000.pod 100644 001750 001750 1167 12270523755 23151 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::mx5000
# ABSTRACT: Configuration class LCDd::mx5000
=head1 NAME
Config::Model::models::LCDd::mx5000 - Configuration class LCDd::mx5000
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/hiddev0'. >>
=head2 WaitAfterRefresh
Time to wait in ms after the refresh screen has been sent I<< Optional. Type uniline. upstream_default: '1000'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
ula200.pod 100644 001750 001750 722 12270523755 23177 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::ula200
# ABSTRACT: Configuration class LCDd::ula200
=head1 NAME
Config::Model::models::LCDd::ula200 - Configuration class LCDd::ula200
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Size
Select the LCD size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lcterm.pod 100644 001750 001750 775 12270523755 23472 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::lcterm
# ABSTRACT: Configuration class LCDd::lcterm
=head1 NAME
Config::Model::models::LCDd::lcterm - Configuration class LCDd::lcterm
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Device
I<< Optional. Type uniline. default: '/dev/ttyS1'. >>
=head2 Size
I<< Optional. Type uniline. default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
irtrans.pl 100644 001750 001750 1716 12270523755 23533 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
mdm166a.pl 100644 001750 001750 2066 12270523755 23223 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
hd44780.pl 100644 001750 001750 15503 12270523755 23072 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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 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 interface ',
'type' => 'leaf',
'upstream_default' => '/dev/lcd',
'value_type' => 'uniline'
},
'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'
},
'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' => 'Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC',
'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'
}
]
;
sdeclcd.pl 100644 001750 001750 504 12270523755 23424 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'name' => 'LCDd::sdeclcd'
}
]
;
sed1520.pl 100644 001750 001750 3254 12270523755 23133 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
},
'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'
},
'Port',
{
'default' => '0x378',
'description' => 'Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC',
'type' => 'leaf',
'value_type' => 'uniline'
},
'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'
]
}
],
'name' => 'LCDd::sed1520'
}
]
;
glcdlib.pl 100644 001750 001750 7223 12270523755 23450 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
sed1330.pl 100644 001750 001750 2444 12270523755 23132 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'element' => [
'CellSize',
{
'description' => 'Width x Height of a character cell in pixels ',
'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'
}
]
;
MD8800.pod 100644 001750 001750 1532 12270523755 23034 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::MD8800
# ABSTRACT: Configuration class LCDd::MD8800
=head1 NAME
Config::Model::models::LCDd::MD8800 - Configuration class LCDd::MD8800
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Device
device to use I<< Optional. Type uniline. upstream_default: '/dev/ttyS1'. >>
=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. upstream_default: '0'. >>
=head2 Size
display size I<< Optional. Type uniline. upstream_default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lcdm001.pl 100644 001750 001750 2532 12270523755 23206 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
curses.pod 100644 001750 001750 2262 12270523755 23521 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::curses
# ABSTRACT: Configuration class LCDd::curses
=head1 NAME
Config::Model::models::LCDd::curses - Configuration class LCDd::curses
=head1 VERSION
version 2.041
=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. upstream_default: 'cyan'. >>
=head2 Backlight
background color when "backlight" is on I<< Optional. Type uniline. upstream_default: 'red'. >>
=head2 DrawBorder
draw Border I<< Optional. Type boolean. upstream_default: 'yes'. >>
=head2 Foreground
color settings
foreground color I<< Optional. Type uniline. upstream_default: 'blue'. >>
=head2 Size
display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head2 TopLeftX
What position (X,Y) to start the left top corner at...
Default: (7,7)I<< Optional. Type uniline. default: '7'. >>
=head2 TopLeftY
I<< Optional. Type uniline. default: '7'. >>
=head2 UseACS
use ASC symbols for icons & bars I<< Optional. Type boolean. upstream_default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
server.pod 100644 001750 001750 11653 12270523755 23547 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::server
# ABSTRACT: Configuration class LCDd::server
=head1 NAME
Config::Model::models::LCDd::server - Configuration class LCDd::server
=head1 VERSION
version 2.041
=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. upstream_default: 'on'. >>
=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'. upstream_default: 'open'. >>
=head2 Bind
Tells the driver to bind to the given interface. I<< Optional. Type uniline. default: '127.0.0.1'. >>
=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, 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. I<< Optional. Type enum. choice: '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'. >>
=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. default: 'server/drivers/'. >>
=head2 Foreground
The server will stay in the foreground if set to true .I<< Optional. Type boolean. upstream_default: 'no'. >>
=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'. upstream_default: 'open'. >>
=head2 Hello
I<< Optional. Type list of uniline. >>
=head2 NextScreenKey
I<< Optional. Type uniline. default: 'Right'. >>
=head2 Port
Listen on this specified port; defaults to 13666.I<< Optional. Type integer. default: '13666'. >>
=head2 PrevScreenKey
I<< Optional. Type uniline. default: 'Left'. >>
=head2 ReportLevel
Sets the reporting level; (warnings and errors only).I<< Optional. Type integer. upstream_default: '2'. >>
=head2 ReportToSyslog
Should we report to syslog instead of stderr ? I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 ScrollDownKey
I<< Optional. Type uniline. upstream_default: 'Down'. >>
=head2 ScrollUpKey
I<< Optional. Type uniline. upstream_default: 'Up'. >>
=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'. upstream_default: 'on'. >>
=head2 TitleSpeed
set title scrolling speed I<< Optional. Type integer. upstream_default: '10'. >>
=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. default: 'Enter'. >>
=head2 User
User to run as. LCDd will drop its root privileges, if any,
and run as this user instead.I<< Optional. Type uniline. default: 'nobody'. >>
=head2 WaitTime
Sets the default time in seconds to displays a screen.I<< Optional. Type integer. default: '5'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
CFontz.pod 100644 001750 001750 2556 12270523755 23426 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::CFontz
# ABSTRACT: Configuration class LCDd::CFontz
=head1 NAME
Config::Model::models::LCDd::CFontz - Configuration class LCDd::CFontz
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Contrast
Set the initial contrast I<< Optional. Type integer. upstream_default: '560'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head2 NewFirmware
Set the firmware version (New means >= 2.0) I<< Optional. Type boolean. upstream_default: 'no'. >>
=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. upstream_default: '0'. >>
=head2 Reboot
Reinitialize the LCD's BIOS
normally you shouldn't need this. I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 Size
Select the LCD size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '115200'. upstream_default: '9600'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
imonlcd.pl 100644 001750 001750 4201 12270523755 23466 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
ms6931.pod 100644 001750 001750 1052 12270523755 23153 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::ms6931
# ABSTRACT: Configuration class LCDd::ms6931
=head1 NAME
Config::Model::models::LCDd::ms6931 - Configuration class LCDd::ms6931
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Device
device to use I<< Optional. Type uniline. upstream_default: '/dev/ttyS1'. >>
=head2 Size
display size I<< Optional. Type uniline. upstream_default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
pyramid.pl 100644 001750 001750 1026 12270523755 23510 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
stv5730.pl 100644 001750 001750 1034 12270523755 23175 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
icp_a106.pl 100644 001750 001750 736 12270523755 23334 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'element' => [
'Device',
{
'default' => '/dev/ttyS1',
'type' => 'leaf',
'value_type' => 'uniline'
}
],
'name' => 'LCDd::icp_a106'
}
]
;
irtrans.pod 100644 001750 001750 1252 12270523755 23675 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::irtrans
# ABSTRACT: Configuration class LCDd::irtrans
=head1 NAME
Config::Model::models::LCDd::irtrans - Configuration class LCDd::irtrans
=head1 VERSION
version 2.041
=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. upstream_default: 'no'. >>
=head2 Hostname
IRTrans device to connect to I<< Optional. Type uniline. upstream_default: 'localhost'. >>
=head2 Size
display dimensions. I<< Optional. Type uniline. default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
sdeclcd.pod 100644 001750 001750 571 12270523755 23577 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::sdeclcd
# ABSTRACT: Configuration class LCDd::sdeclcd
=head1 NAME
Config::Model::models::LCDd::sdeclcd - Configuration class LCDd::sdeclcd
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head1 SEE ALSO
=over
=item *
L
=back
=cut
stv5730.pod 100644 001750 001750 743 12270523755 23332 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::stv5730
# ABSTRACT: Configuration class LCDd::stv5730
=head1 NAME
Config::Model::models::LCDd::stv5730 - Configuration class LCDd::stv5730
=head1 VERSION
version 2.041
=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. upstream_default: '0x378'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
imonlcd.pod 100644 001750 001750 2530 12270523755 23640 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::imonlcd
# ABSTRACT: Configuration class LCDd::imonlcd
=head1 NAME
Config::Model::models::LCDd::imonlcd - Configuration class LCDd::imonlcd
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Backlight
Set the backlight state I<< Optional. Type boolean. upstream_default: 'on'. >>
=head2 Contrast
Select the displays contrast I<< Optional. Type integer. upstream_default: '200'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd0'. >>
=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'. upstream_default: '0'. >>
=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. upstream_default: '1'. >>
=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'. upstream_default: '0'. >>
=head2 Size
Specify the size of the display in pixels I<< Optional. Type uniline. upstream_default: '96x16'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
pyramid.pod 100644 001750 001750 735 12270523755 23645 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::pyramid
# ABSTRACT: Configuration class LCDd::pyramid
=head1 NAME
Config::Model::models::LCDd::pyramid - Configuration class LCDd::pyramid
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Device
device to connect to I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
hd44780.pod 100644 001750 001750 11204 12270523755 23233 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::hd44780
# ABSTRACT: Configuration class LCDd::hd44780
=head1 NAME
Config::Model::models::LCDd::hd44780 - Configuration class LCDd::hd44780
=head1 VERSION
version 2.041
=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. default: 'no'. >>
=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. upstream_default: '800'. >>
=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'. upstream_default: 'hd44780_default'. >>
=head2 ConnectionType
Select what type of connection. See documentation for types.I<< Optional. Type uniline. default: '4bit'. >>
=head2 Contrast
Set the initial contrast (bwctusb, lcd2usb, and usb4all)I<< Optional. Type integer. upstream_default: '800'. >>
=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. default: 'true'. >>
=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. upstream_default: '2'. >>
=head2 Device
Device of the serial interface I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=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. upstream_default: 'yes'. >>
=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. upstream_default: '0'. >>
=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. default: 'Enter'. >>
=head2 KeyMatrix_4_2
I<< Optional. Type uniline. default: 'Up'. >>
=head2 KeyMatrix_4_3
I<< Optional. Type uniline. default: 'Down'. >>
=head2 KeyMatrix_4_4
I<< Optional. Type uniline. default: 'Escape'. >>
=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. default: 'no'. >>
=head2 Lastline
Specifies if the last line is pixel addressable (yes) or it controls an
underline effect (no). I<< Optional. Type boolean. upstream_default: 'yes'. >>
=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. upstream_default: '0x20'. >>
=head2 OffBrightness
OffBrightness is the brightness while the backlight is set to 'off'.I<< Optional. Type integer. upstream_default: '300'. >>
=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. default: 'no'. >>
=head2 Port
Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC. I<< Optional. Type uniline. default: '0x378'. >>
=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. upstream_default: '5'. >>
=head2 Size
Specifies the size of the LCD.
In case of multiple combined displays, this should be the total size.I<< Optional. Type uniline. default: '20x4'. >>
=head2 Speed
Bitrate of the serial port (0 for interface default)I<< Optional. Type uniline. default: '0'. >>
=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. upstream_default: '2,2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
picolcd.pod 100644 001750 001750 6555 12270523755 23643 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::picolcd
# ABSTRACT: Configuration class LCDd::picolcd
=head1 NAME
Config::Model::models::LCDd::picolcd - Configuration class LCDd::picolcd
=head1 VERSION
version 2.041
=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. upstream_default: 'on'. >>
=head2 Brightness
Set the initial brightness . Works only
with the 20x4 device. I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Contrast
Set the initial contrast I<< Optional. Type integer. upstream_default: '1000'. >>
=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. upstream_default: 'on'. >>
=head2 Key1Light
I<< Optional. Type uniline. default: 'on'. >>
=head2 Key2Light
I<< Optional. Type uniline. default: 'on'. >>
=head2 Key3Light
I<< Optional. Type uniline. default: 'on'. >>
=head2 Key4Light
I<< Optional. Type uniline. default: 'on'. >>
=head2 Key5Light
I<< Optional. Type uniline. default: 'on'. >>
=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. upstream_default: '300'. >>
=head2 KeyRepeatInterval
Key auto repeat interval (time in ms between repeat reports). Only used if
KeyRepeatDelay is not zero. I<< Optional. Type integer. upstream_default: '200'. >>
=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. upstream_default: '500'. >>
=head2 Keylights
Light the keys? I<< Optional. Type boolean. upstream_default: 'on'. >>
=head2 LinkLights
Link the key lights to the backlight? I<< Optional. Type boolean. upstream_default: 'on'. >>
=head2 LircFlushThreshold
Threshold in jiffies of synthesized gap that triggers flushing the IR data
to lirc
100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.I<< Optional. Type integer. upstream_default: '100'. >>
=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. upstream_default: '127.0.0.1'. >>
=head2 LircPort
UDP port on which LIRC is listening I<< Optional. Type integer. upstream_default: '8765'. >>
=head2 OffBrightness
Set the brightness while the backlight is 'off' .
Works only with the 20x4 device.I<< Optional. Type integer. upstream_default: '0'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
mdm166a.pod 100644 001750 001750 1435 12270523755 23371 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::mdm166a
# ABSTRACT: Configuration class LCDd::mdm166a
=head1 NAME
Config::Model::models::LCDd::mdm166a - Configuration class LCDd::mdm166a
=head1 VERSION
version 2.041
=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'. upstream_default: 'no'. >>
=head2 Dimming
Dim display, no dimming gives full brightness I<< Optional. Type uniline. upstream_default: 'no,legal:yes,no'. >>
=head2 OffDimming
Dim display in case LCDd is inactive I<< Optional. Type uniline. upstream_default: 'no,legal:yes,no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
glcdlib.pod 100644 001750 001750 4654 12270523755 23624 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::glcdlib
# ABSTRACT: Configuration class LCDd::glcdlib
=head1 NAME
Config::Model::models::LCDd::glcdlib - Configuration class LCDd::glcdlib
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Backlight
Backlight if applicable. I<< Optional. Type uniline. default: 'no'. >>
=head2 Brightness
Brightness (in %) if applicable. I<< Optional. Type uniline. default: '50'. >>
=head2 CharEncoding
character encoding to use. I<< Optional. Type uniline. default: 'iso8859-2'. >>
=head2 Contrast
Contrast (in %) if applicable. I<< Optional. Type uniline. default: '50'. >>
=head2 Driver
which graphical display supported by graphlcd-base to use
(see /etc/graphlcd.conf for possible drivers)I<< Optional. Type uniline. upstream_default: 'image'. >>
=head2 FontFile
path to font file to use. I<< Optional. Type uniline. default: '/usr/share/fonts/corefonts/courbd.ttf'. >>
=head2 Invert
invert light/dark pixels. I<< Optional. Type uniline. default: 'no'. >>
=head2 MinFontFaceSize
minimum size in pixels in which fonts should be rendered. I<< Optional. Type uniline. default: '7x12'. >>
=head2 PixelShiftX
I<< Optional. Type uniline. default: '0'. >>
=head2 PixelShiftY
I<< Optional. Type uniline. default: '2'. >>
=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. default: 'no'. >>
=head2 ShowDebugFrame
turns on/off 1 pixel thick debugging. I<< Optional. Type uniline. default: 'no'. >>
=head2 ShowThinBorder
border around the unused area. I<< Optional. Type uniline. default: 'yes'. >>
=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. upstream_default: '16x4'. >>
=head2 UpsideDown
flip image upside down. I<< Optional. Type uniline. default: 'no'. >>
=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. default: 'yes'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
sed1330.pod 100644 001750 001750 1702 12270523755 23275 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::sed1330
# ABSTRACT: Configuration class LCDd::sed1330
=head1 NAME
Config::Model::models::LCDd::sed1330 - Configuration class LCDd::sed1330
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 CellSize
Width x Height of a character cell in pixels I<< Optional. Type uniline. upstream_default: '6x10'. >>
=head2 ConnectionType
Select what type of connection I<< Optional. Type enum. choice: 'classic', 'bitshaker'. upstream_default: 'classic'. >>
=head2 Port
Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC. I<< Optional. Type uniline. default: '0x378'. >>
=head2 Type
Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002)
Note: Currently only tested with G321D & SP14Q002.I<< Optional. Type uniline. default: 'G321D'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
SureElec.pl 100644 001750 001750 3442 12270523755 23556 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
sed1520.pod 100644 001750 001750 2330 12270523755 23274 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::sed1520
# ABSTRACT: Configuration class LCDd::sed1520
=head1 NAME
Config::Model::models::LCDd::sed1520 - Configuration class LCDd::sed1520
=head1 VERSION
version 2.041
=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. upstream_default: '1'. >>
=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'. upstream_default: '80'. >>
=head2 Port
Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC. I<< Optional. Type uniline. default: '0x378'. >>
=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. upstream_default: 'yes'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
lcdm001.pod 100644 001750 001750 2103 12270523755 23347 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::lcdm001
# ABSTRACT: Configuration class LCDd::lcdm001
=head1 NAME
Config::Model::models::LCDd::lcdm001 - Configuration class LCDd::lcdm001
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 BackKey
I<< Optional. Type uniline. default: 'UpKey'. >>
=head2 Device
I<< Optional. Type uniline. default: '/dev/ttyS1'. >>
=head2 ForwardKey
I<< Optional. Type uniline. default: 'DownKey'. >>
=head2 MainMenuKey
I<< Optional. Type uniline. default: 'RightKey'. >>
=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. default: 'LeftKey'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
LDCd-0.5.6 100644 001750 001750 105776 12270523755 23411 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t/model_tests.d/lcdd-examples # 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
LDCd-0.5.5 100644 001750 001750 77125 12270523755 23364 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/t/model_tests.d/lcdd-examples # 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
IOWarrior.pl 100644 001750 001750 2600 12270523755 23717 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
EyeboxOne.pl 100644 001750 001750 4660 12270523755 23747 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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 ',
'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'
}
]
;
serialVFD.pl 100644 001750 001750 6311 12270523755 23664 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
serialPOS.pl 100644 001750 001750 2616 12270523755 23712 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
SureElec.pod 100644 001750 001750 2270 12270523755 23723 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::SureElec
# ABSTRACT: Configuration class LCDd::SureElec
=head1 NAME
Config::Model::models::LCDd::SureElec - Configuration class LCDd::SureElec
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '480'. >>
=head2 Contrast
Set the initial contrast I<< Optional. Type integer. upstream_default: '480'. >>
=head2 Device
Port the device is connected to (by default first USB serial port)I<< Optional. Type uniline. default: '/dev/ttyUSB0'. >>
=head2 Edition
Edition level of the device (can be 1, 2 or 3) I<< Optional. Type uniline. upstream_default: '2'. >>
=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. upstream_default: '100'. >>
=head2 Size
set display size
Note: The size can be obtained directly from device for edition 2 & 3.I<< Optional. Type uniline. upstream_default: '16x2'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
icp_a106.pod 100644 001750 001750 705 12270523755 23477 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::icp_a106
# ABSTRACT: Configuration class LCDd::icp_a106
=head1 NAME
Config::Model::models::LCDd::icp_a106 - Configuration class LCDd::icp_a106
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Device
I<< Optional. Type uniline. default: '/dev/ttyS1'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
vlsys_m428.pl 100644 001750 001750 1050 12270523755 23772 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
serialVFD.pod 100644 001750 001750 4204 12270523755 24032 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::serialVFD
# ABSTRACT: Configuration class LCDd::serialVFD
=head1 NAME
Config::Model::models::LCDd::serialVFD - Configuration class LCDd::serialVFD
=head1 VERSION
version 2.041
=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. upstream_default: '1000'. >>
=head2 Device
Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1. I<< Optional. Type uniline. default: '/dev/ttyS1'. >>
=head2 ISO_8859_1
enable ISO 8859 1 compatibility I<< Optional. Type boolean. upstream_default: 'yes'. >>
=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. upstream_default: '0'. >>
=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. default: '0x378'. >>
=head2 PortWait
Set parallel port timing delay (us). Used in parallel mode only.I<< Optional. Type integer. upstream_default: '2'. >>
=head2 Size
Specifies the size of the VFD.I<< Optional. Type uniline. default: '20x2'. >>
=head2 Speed
set the serial port speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200', '115200'. upstream_default: '9600'. >>
=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. upstream_default: '0'. >>
=head2 use_parallel
"no" if display connected serial, "yes" if connected parallel.
I.e. serial by default. I<< Optional. Type uniline. upstream_default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
serialPOS.pod 100644 001750 001750 1710 12270523755 24053 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::serialPOS
# ABSTRACT: Configuration class LCDd::serialPOS
=head1 NAME
Config::Model::models::LCDd::serialPOS - Configuration class LCDd::serialPOS
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/lcd'. >>
=head2 Size
Specifies the size of the display in characters. I<< Optional. Type uniline. upstream_default: '16x2'. >>
=head2 Speed
communication baud rate with the display I<< Optional. Type enum. choice: '1200', '2400', '19200', '115200'. upstream_default: '9600'. >>
=head2 Type
Set the communication protocol to use with the POS display.I<< Optional. Type enum. choice: 'IEE', 'Epson', 'Emax', 'IBM', 'LogicControls', 'Ultimate'. upstream_default: 'AEDEX'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
EyeboxOne.pod 100644 001750 001750 3137 12270523755 24114 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::EyeboxOne
# ABSTRACT: Configuration class LCDd::EyeboxOne
=head1 NAME
Config::Model::models::LCDd::EyeboxOne - Configuration class LCDd::EyeboxOne
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Backlight
Switch on the backlight? I<< Optional. Type uniline. upstream_default: 'yes'. >>
=head2 Cursor
Switch on the cursor? I<< Optional. Type uniline. upstream_default: 'no'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/ttyS1'. >>
=head2 DownKey
I<< Optional. Type uniline. default: 'B'. >>
=head2 EscapeKey
I<< Optional. Type uniline. default: 'P'. >>
=head2 LeftKey
Enter Key is a \r character, so it's hardcoded in the driver. I<< Optional. Type uniline. default: 'D'. >>
=head2 RightKey
I<< Optional. Type uniline. default: 'C'. >>
=head2 Size
Set the display size I<< Optional. Type uniline. upstream_default: '20x4'. >>
=head2 Speed
Set the communication speed I<< Optional. Type enum. choice: '1200', '2400', '9600', '19200'. upstream_default: '19200'. >>
=head2 UpKey
I<< Optional. Type uniline. default: 'A'. >>
=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. default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
shuttleVFD.pl 100644 001750 001750 507 12270523755 24056 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'name' => 'LCDd::shuttleVFD'
}
]
;
IOWarrior.pod 100644 001750 001750 2013 12270523755 24064 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::IOWarrior
# ABSTRACT: Configuration class LCDd::IOWarrior
=head1 NAME
Config::Model::models::LCDd::IOWarrior - Configuration class LCDd::IOWarrior
=head1 VERSION
version 2.041
=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. upstream_default: 'yes'. >>
=head2 Lastline
Specifies if the last line is pixel addressable (yes) or it controls an
underline effect (no). I<< Optional. Type boolean. upstream_default: 'yes'. >>
=head2 SerialNumber
serial number. Must be exactly as listed by usbview
(if not given, the 1st IOWarrior found gets used)I<< Optional. Type uniline. upstream_default: '00000674'. >>
=head2 Size
display dimensions. I<< Optional. Type uniline. default: '20x4'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
mtc_s16209x.pl 100644 001750 001750 2017 12270523755 23743 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
shuttleVFD.pod 100644 001750 001750 605 12270523755 24224 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::shuttleVFD
# ABSTRACT: Configuration class LCDd::shuttleVFD
=head1 NAME
Config::Model::models::LCDd::shuttleVFD - Configuration class LCDd::shuttleVFD
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head1 SEE ALSO
=over
=item *
L
=back
=cut
NoritakeVFD.pl 100644 001750 001750 4010 12270523755 24153 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
vlsys_m428.pod 100644 001750 001750 770 12270523755 24131 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::vlsys_m428
# ABSTRACT: Configuration class LCDd::vlsys_m428
=head1 NAME
Config::Model::models::LCDd::vlsys_m428 - Configuration class LCDd::vlsys_m428
=head1 VERSION
version 2.041
=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. upstream_default: '/dev/ttyUSB0'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
NoritakeVFD.pod 100644 001750 001750 2424 12270523755 24331 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::NoritakeVFD
# ABSTRACT: Configuration class LCDd::NoritakeVFD
=head1 NAME
Config::Model::models::LCDd::NoritakeVFD - Configuration class LCDd::NoritakeVFD
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Device
device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1. I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=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. upstream_default: '0'. >>
=head2 Parity
Set serial data parity
Meaning: 0(=none), 1(=odd), 2(=even)I<< Optional. Type integer. upstream_default: '0'. >>
=head2 Reboot
re-initialize the VFD I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 Size
Specifies the size of the LCD.I<< Optional. Type uniline. default: '20x4'. >>
=head2 Speed
set the serial port speed I<< Optional. Type uniline. upstream_default: '9600,legal:1200,2400,9600,19200,115200'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
mtc_s16209x.pod 100644 001750 001750 1306 12270523755 24112 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::mtc_s16209x
# ABSTRACT: Configuration class LCDd::mtc_s16209x
=head1 NAME
Config::Model::models::LCDd::mtc_s16209x - Configuration class LCDd::mtc_s16209x
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '255'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head2 Reboot
Reinitialize the LCD's BIOS I<< Optional. Type boolean. upstream_default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut
CFontzPacket.pl 100644 001750 001750 6140 12270523755 24400 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd #
# This file is part of Config-Model-LcdProc
#
# This software is Copyright (c) 2013 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'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'
}
]
;
CFontzPacket.pod 100644 001750 001750 3602 12270523755 24547 0 ustar 00domi domi 000000 000000 Config-Model-LcdProc-2.041/lib/Config/Model/models/LCDd # PODNAME: Config::Model::models::LCDd::CFontzPacket
# ABSTRACT: Configuration class LCDd::CFontzPacket
=head1 NAME
Config::Model::models::LCDd::CFontzPacket - Configuration class LCDd::CFontzPacket
=head1 VERSION
version 2.041
=head1 DESCRIPTION
Configuration classes used by L
generated from LCDd.conf
=head1 Elements
=head2 Brightness
Set the initial brightness I<< Optional. Type integer. upstream_default: '1000'. >>
=head2 Contrast
Set the initial contrast I<< Optional. Type integer. upstream_default: '560'. >>
=head2 Device
Select the output device to use I<< Optional. Type uniline. upstream_default: '/dev/lcd'. >>
=head2 Model
Select the LCD model I<< Optional. Type enum. choice: '533', '631', '633', '635'. upstream_default: '633'. >>
=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. upstream_default: '0'. >>
=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. upstream_default: 'no'. >>
=head2 Reboot
Reinitialize the LCD's BIOS on driver start. I<< Optional. Type boolean. upstream_default: 'no'. >>
=head2 Size
Override the LCD size known for the selected model. Usually setting this
value should not be necessary.I<< Optional. Type uniline. upstream_default: '20x4'. >>
=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. upstream_default: 'no'. >>
=head1 SEE ALSO
=over
=item *
L
=back
=cut