aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-15 15:46:09 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-15 15:46:09 -0400
commite8675d6300fc47f668196bcb24a86ee5d70e6357 (patch)
tree96eb7a001a5065915a3af6385be7bf7a84d4cb66
parent20e993fd14b7f94ab461f555f234a4108b934554 (diff)
downloadpfsense-packages-e8675d6300fc47f668196bcb24a86ee5d70e6357.tar.gz
pfsense-packages-e8675d6300fc47f668196bcb24a86ee5d70e6357.tar.bz2
pfsense-packages-e8675d6300fc47f668196bcb24a86ee5d70e6357.zip
Adding nexcom support.
Instructions from Jerry: ./configure --enable-drivers=nexcom make Then open the LCDd.conf and change Driver=nexcom driverpath =/usr/local/lib/lcdproc/ (<- the folder stored lcd driver) make install reboot run server = LCDd run client (dispaly) =lcdproc + parameter.
-rw-r--r--config/lcdproc/lcdproc.inc7
-rw-r--r--config/lcdproc/lcdproc.xml5
2 files changed, 6 insertions, 6 deletions
diff --git a/config/lcdproc/lcdproc.inc b/config/lcdproc/lcdproc.inc
index e5c2c4cd..3ae96f31 100644
--- a/config/lcdproc/lcdproc.inc
+++ b/config/lcdproc/lcdproc.inc
@@ -213,14 +213,9 @@
switch($lcdproc_config[driver]) {
case "nexcom":
$config_text .= "[{$lcdproc_config['driver']}]\n";
+ $config_text .= "driverpath =/usr/local/lib/lcdproc/\n";
$config_text .= "Device={$realport}\n";
$config_text .= "Size={$lcdproc_config['size']}\n";
- $config_text .= "Contrast=350\n";
- $config_text .= "Brightness=1000\n";
- $config_text .= "OffBrightness=50\n";
- $config_text .= "Speed=9600\n";
- $config_text .= "NewFirmware=no\n";
- $config_text .= "Reboot=no\n";
break;
case "bayrad":
$config_text .= "[{$lcdproc_config['driver']}]\n";
diff --git a/config/lcdproc/lcdproc.xml b/config/lcdproc/lcdproc.xml
index 89d20203..ec656678 100644
--- a/config/lcdproc/lcdproc.xml
+++ b/config/lcdproc/lcdproc.xml
@@ -37,6 +37,11 @@
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
</additional_files_needed>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/lcdproc/bin/nexcom.so</item>
+ <prefix>/usr/local/lib/lcdproc/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
<service>
<name>lcdproc</name>
<rcfile>lcdproc.sh</rcfile>