[libconfig-model-lcdproc-perl] 01/01: add more explanation to tweak-lcdd-conf patch
dod at debian.org
dod at debian.org
Sun Mar 26 17:20:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.
commit 73324f1a7fe51e8fb34a9e7c2ed20911491f5f98
Author: Dominique Dumont <dod at debian.org>
Date: Sun Mar 26 19:19:37 2017 +0200
add more explanation to tweak-lcdd-conf patch
---
debian/patches/tweak-lcdd-conf | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 5e38ec0..a90c449 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -4,9 +4,9 @@ Description: Tweak defaults values for Debian
from upstream.
.
Debian specific model snippets
- are added in commemts between {% and %}. This
+ are added in comments between {% and %}. This
model snippet is applied after the model generated
- from LCDd.conf. Hence it can override upstream
+ from LCDd.conf. Hence these snippets can override upstream
default value. For instance:
.
# {% upstream_default~ default=yes %}
@@ -16,12 +16,18 @@ Description: Tweak defaults values for Debian
is canceled by ' upstream_default~ ' and the default
value is set to yes.
.
- DriverPath is more complex. The model snippets
- adds a way to test and fix this system dependent value. The fix deletes the DriverPath value and
- the compute instructions provide the actual path.
+ DriverPath is more complex. The model snippets adds a way to test and
+ fix this system dependent value. The fix deletes the DriverPath value
+ and the compute instructions provide the actual path.
.
- The compute instruction also provides a correct
- default value.
+ Device is qute tricky. On Debian, lcdproc package is delivered with a
+ udev rules that creates a symlink from a rather unpredictable device
+ file (can be /dev/lcd0 or lcd1 or ...) to /dev/lcd-imon. The model
+ snippet added to Device ensure that the above symlink is used (if
+ found) or use /dev/lcd0 as a fallback (which may be wrong though)
+ .
+ Protocol value is choosen by running lsusb. If the device is
+ 15c2:0038, then Protocol default value is 1.
Forwarded: NA
Author: dod
--- a/lcdproc/LCDd.conf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git
More information about the Pkg-perl-cvs-commits
mailing list