From 8a2c77972456860f1fc0d8556f1c89f1a1b5922d Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Fri, 8 Feb 2008 08:16:43 +0000 Subject: Add lpt port for hd44780 displays --- packages/lcdproc/lcdproc.inc | 6 ++++++ packages/lcdproc/lcdproc.xml | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'packages/lcdproc') 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 @@ Services: LCDproc lcdproc - 0.5.2_1-p3 + 0.5.2_1-p4 Save /usr/local/pkg/lcdproc.inc @@ -70,6 +70,10 @@ ucom2 USB Com port 2 (/dev/cuaU1) + 0 -- cgit v1.2.3