aboutsummaryrefslogtreecommitdiffstats
path: root/packages/lcdproc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-02-08 08:16:43 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-02-08 08:16:43 +0000
commit8a2c77972456860f1fc0d8556f1c89f1a1b5922d (patch)
tree11437a1f655e9e80390e9a888dbb99c62ef39849 /packages/lcdproc
parent38fc82775b8c0dbfebdae5ff49465a0ebf4f17e1 (diff)
downloadpfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.tar.gz
pfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.tar.bz2
pfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.zip
Add lpt port for hd44780 displays
Diffstat (limited to 'packages/lcdproc')
-rw-r--r--packages/lcdproc/lcdproc.inc6
-rw-r--r--packages/lcdproc/lcdproc.xml6
2 files changed, 11 insertions, 1 deletions
diff --git a/packages/lcdproc/lcdproc.inc b/packages/lcdproc/lcdproc.inc
index d95dce84..e1a7b963 100644
--- a/packages/lcdproc/lcdproc.inc
+++ b/packages/lcdproc/lcdproc.inc
@@ -103,6 +103,9 @@
case "ucom2":
continue;
break;
+ case "lpt1":
+ continue;
+ break;
default:
$input_errors[] = "The chosen com port is not valid";
break;
@@ -138,6 +141,9 @@
case "ucom2":
$realport = "/dev/cuaU1";
break;
+ case "lpt1":
+ $realport = "/dev/lpt0";
+ break;
default:
lcdproc_warn("The selected com port is not valid!");
return;
diff --git a/packages/lcdproc/lcdproc.xml b/packages/lcdproc/lcdproc.xml
index 26bdf6dc..feca8034 100644
--- a/packages/lcdproc/lcdproc.xml
+++ b/packages/lcdproc/lcdproc.xml
@@ -2,7 +2,7 @@
<packagegui>
<title>Services: LCDproc</title>
<name>lcdproc</name>
- <version>0.5.2_1-p3</version>
+ <version>0.5.2_1-p4</version>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/lcdproc.inc</include_file>
<tabs>
@@ -70,6 +70,10 @@
<value>ucom2</value>
<name>USB Com port 2 (/dev/cuaU1)</name>
</option>
+ <option>
+ <value>lpt1</value>
+ <name>Parallel port 1 (/dev/lpt0)</name>
+ </option>
</options>
<default_value>0</default_value>
</field>