aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal Luçi <ermal.luci@gmail.com>2012-01-04 13:42:05 -0800
committerErmal Luçi <ermal.luci@gmail.com>2012-01-04 13:42:05 -0800
commit92fcd206fd5e5167b19468ddd75a170f3131a20d (patch)
tree3cc5703f0721f233fc5d7d755acb0ef9f21b525a /config
parent3c911328027c098420f63235477e2701dcc5d851 (diff)
parentcf24c3a3ee334f903be88cde1c771e7c3012d77b (diff)
downloadpfsense-packages-92fcd206fd5e5167b19468ddd75a170f3131a20d.tar.gz
pfsense-packages-92fcd206fd5e5167b19468ddd75a170f3131a20d.tar.bz2
pfsense-packages-92fcd206fd5e5167b19468ddd75a170f3131a20d.zip
Merge pull request #175 from mdima/master
Added a new configuration for a driver and some check
Diffstat (limited to 'config')
-rw-r--r--config/lcdproc-dev/lcdproc.inc15
-rw-r--r--config/lcdproc-dev/lcdproc.xml8
-rw-r--r--config/lcdproc-dev/lcdproc_screens.xml2
3 files changed, 22 insertions, 3 deletions
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc
index 1346b357..5733b7aa 100644
--- a/config/lcdproc-dev/lcdproc.inc
+++ b/config/lcdproc-dev/lcdproc.inc
@@ -299,6 +299,21 @@
$config_text .= "DelayBus=true\n";
$config_text .= "Size={$lcdproc_config['size']}\n";
break;
+ case "hd44780 fast":
+ $config_text .= "[{$lcdproc_config['driver']}]\n";
+ $config_text .= "ConnectionType=lcd2usb\n";
+ $config_text .= "Speed=19200\n";
+ $config_text .= "Charmap=hd44780_default\n";
+ $config_text .= "Keypad=yes\n";
+ $config_text .= "Contrast=850\n";
+ $config_text .= "Brightness=800\n";
+ $config_text .= "OffBrightness=0\n";
+ $config_text .= "Backlight=yes\n";
+ $config_text .= "OutputPort=no\n";
+ $config_text .= "DelayMult=1\n";
+ $config_text .= "DelayBus=no\n";
+ $config_text .= "Size={$lcdproc_config['size']}\n";
+ break;
case "icp_a106":
$config_text .= "[{$lcdproc_config['driver']}]\n";
$config_text .= "Device={$realport}\n";
diff --git a/config/lcdproc-dev/lcdproc.xml b/config/lcdproc-dev/lcdproc.xml
index 85e4ca23..826ee86f 100644
--- a/config/lcdproc-dev/lcdproc.xml
+++ b/config/lcdproc-dev/lcdproc.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
- <title>Services: LCDproc 0.5.4 pkg v. 0.3</title>
+ <title>Services: LCDproc 0.5.4 pkg v. 0.4</title>
<name>lcdproc</name>
- <version>0.5.4 pkg v. 0.3</version>
+ <version>0.5.4 pkg v. 0.4</version>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/lcdproc.inc</include_file>
<tabs>
@@ -187,6 +187,10 @@
<name>hd44780</name>
</option>
<option>
+ <value>hd44780 fast</value>
+ <name>hd44780 fast</name>
+ </option>
+ <option>
<value>icp_a106</value>
<name>icp_a106</name>
</option>
diff --git a/config/lcdproc-dev/lcdproc_screens.xml b/config/lcdproc-dev/lcdproc_screens.xml
index acde02ca..7dee9a9f 100644
--- a/config/lcdproc-dev/lcdproc_screens.xml
+++ b/config/lcdproc-dev/lcdproc_screens.xml
@@ -2,7 +2,7 @@
<packagegui>
<title>Services: LCDproc: Screens</title>
<name>lcdproc_screens</name>
- <version>0.5.4 pkg v. 0.3</version>
+ <version>0.5.4 pkg v. 0.4</version>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/lcdproc.inc</include_file>
<tabs>