📄 pylcd.docbook
字号:
<sect1 id="pyramid-howto"><title>The pyramid Driver</title><para>This section talks about using LCDproc with programmable LC displayssold by <ulink url="http://www.pyramid.de/">Pyramid Ccomputer</ulink>.</para><para>Pyramid Computer builds these LC displays into its thriving server productsto show system data, and to allow the user to change important parameters orshut down the appliance in a controlled manner.The LCD module, accessible via USB, can be integrated by Pyramid's BTO serverand appliance manufacturing division at the customer's request or it can bemade available separately for self-integration, e.g. as a 5.25" module. </para><sect2 id="pyramid-features"><title>Features</title><para>The displays are 16 characters wide and 2 lines high. They have 4 programmablebuttons as well as 3 (or 9) LEDs which can also be software controlled.</para></sect2><sect2 id="pyramid-requirements"><title>Requirements</title><para>For Linux the driver depends on features of the <filename>ftdi_sio.ko</filename>that have only been added to quite recent version of the 2.6 kernel series.For older Linux kernels of the 2.6 series (or even the 2.4 series) that patchto <filename>ftdi_sio.c</filename> might help: <ulink url="http://www.pyramid.de/d/downloads/patch-4-linux-2.6.13-14.txt">http://www.pyramid.de/d/downloads/patch-4-linux-2.6.13-14.txt</ulink>.</para></sect2><sect2 id="pyramid-ledoutput"><title>LED output</title><para>I've added support for the LEDs on the Pyramid LC-Display to the"pyramid" driver of lcdproc. </para><para>Since it seems that LEDs on an LCD are not directly supported by thelcdproc API I've used the "output" command of the server to trigger theLEDs, similar to what the IOWarrior driver does.</para><para>The Pyramid LC-Display exists in two different versions, with 3 and with9 LEDs. 2 of these LEDs can not be controlled by software but areusually hard wired to power and HDD. The other 1 or 7 LEDs can now becontrolled by sending an "output" command to the server. The oneargument to the output command is a bitmask that controls the LEDs.</para><screen>bit 0: LED3bit 1: LED4bit 2: LED5bit 3: LED6bit 4: LED7bit 5: LED8bit 6: LED9</screen><para>There's no way of finding out whether 3 or 9 LEDs are available, so itis up to the software to do the right thing.</para><example><title>How to use the LED output from the client</title><programlisting>telnet localhost 13666hellooutput 67</programlisting>will light up LEDs 3, 4 and 9.<programlisting>output 0</programlisting>will clear all LEDs.</example><para>More information on the Pyramid LC-Display can be found here:<ulink url="http://www.pyramid.de/e/produkte/server/pyramid-lcd.php"></ulink></para></sect2>Author<author> <firstname>Stefan</firstname> <surname>Reinauer</surname></author>coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.Tel.: +49 761 7668825 · Fax: +49 761 7664613Email: info@coresystems.de · http://www.coresystems.de/<!-- ## Pyramid LCD driver ## --><sect2 id="pyramid-config"><title>Configuration in LCDd.conf</title><sect3 id="pyramid-config-section"><title>[pyramid]</title><variablelist><varlistentry> <term> <command>Device=</command> <arg choice="plain"><replaceable>DEVICE</replaceable></arg> </term> <listitem><para> Device to connect to. Default: <filename>/dev/lcd</filename> </para></listitem></varlistentry></variablelist></sect3></sect2></sect1>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -