[libconfig-model-lcdproc-perl] 02/03: tweak also imonlcd driver, find correct value for Protocol

dod at debian.org dod at debian.org
Sat Jul 19 17:27:13 UTC 2014


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 db369e5b6d5d3655d952a8f12ab84bbe268ea72a
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Jul 19 19:02:55 2014 +0200

    tweak also imonlcd driver, find correct value for Protocol
---
 debian/patches/tweak-lcdd-conf | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 30decd5..2493fcf 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -82,3 +82,39 @@ Author: dod
  Device=/dev/lcd0
  
  # display dimensions
+@@ -680,6 +710,13 @@
+ # [legal: 0, 1; default: 0]
+ # Choose 0 for 15c2:ffdc device,
+ # Choose 1 for 15c2:0038 device
++#{%
++#   default~
++#   compute
++#     formula=" `lsusb -d 15c2:` =~ /:0038/ ;"
++#     use_eval=1
++#     allow_override=1 -
++# %}
+ Protocol=0
+ 
+ # Set the exit behavior [legal: 0-2; default: 1]
+@@ -689,6 +726,21 @@
+ #OnExit=2
+ 
+ # Select the output device to use [default: /dev/lcd0]
++# {%
++#   default~
++#   compute
++#     formula="my $l = '/dev/lcd-imon'; -e $l ? $l : '/dev/lcd0';"
++#     use_eval=1
++#     allow_override=1 -
++#   warn_unless:use_lcd_imon
++#     code="my $l = '/dev/lcd-imon'; not -e $l or $_ eq $l ;"
++#     msg="imon device does not use /dev/lcd-imon link."
++#     fix="$_ = undef;" -
++#   warn_unless:found_device_file
++#     code="defined $_ ? -e : 1"
++#     msg="missing imon device file"
++#     fix="$_ = undef;" -
++# %}
+ Device=/dev/lcd0
+ 
+ # Select the displays contrast [default: 200; legal: 0-1000]

-- 
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