From 6ea95e80e0b336cd2b3b75d7dffdc3bcb46bb663 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sun, 19 Jun 2005 17:57:06 +0000 Subject: [lcd4linux @ 2005-06-19 17:57:06 by reinelt] cosmetics... --- drv_generic_parport.c | 33 ++++++++++++++++++--------------- lcd4linux.conf.sample | 11 ++++++----- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/drv_generic_parport.c b/drv_generic_parport.c index 9d5c07a..6d65a23 100644 --- a/drv_generic_parport.c +++ b/drv_generic_parport.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_parport.c,v 1.18 2005/06/13 03:43:46 reinelt Exp $ +/* $Id: drv_generic_parport.c,v 1.19 2005/06/19 17:57:06 reinelt Exp $ * * generic driver helper for serial and parport access * @@ -23,6 +23,9 @@ * * * $Log: drv_generic_parport.c,v $ + * Revision 1.19 2005/06/19 17:57:06 reinelt + * cosmetics... + * * Revision 1.18 2005/06/13 03:43:46 reinelt * undo PPEXCL activation... * @@ -284,23 +287,23 @@ static unsigned char drv_generic_parport_signal_ctrl(const char *name, const cha if (strcasecmp(signal, "STROBE") == 0) { wire = PARPORT_CONTROL_STROBE; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:STROBE (Pin 1)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:STROBE (Pin 1)", Driver, name); } else if (strcasecmp(signal, "AUTOFD") == 0) { wire = PARPORT_CONTROL_AUTOFD; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:AUTOFD (Pin 14)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:AUTOFD (Pin 14)", Driver, name); } else if (strcasecmp(signal, "INIT") == 0) { wire = PARPORT_CONTROL_INIT; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:INIT (Pin 16)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:INIT (Pin 16)", Driver, name); } else if (strcasecmp(signal, "SLCTIN") == 0) { wire = PARPORT_CONTROL_SELECT; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:SLCTIN (Pin 17)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:SLCTIN (Pin 17)", Driver, name); } else if (strcasecmp(signal, "SELECT") == 0) { wire = PARPORT_CONTROL_SELECT; error("%s: SELECT is deprecated. Please use SLCTIN instead!", Driver); - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:SLCTIN (Pin 17)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:SLCTIN (Pin 17)", Driver, name); } else if (strcasecmp(signal, "GND") == 0) { wire = 0; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:GND]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:GND", Driver, name); } else { error("%s: unknown signal <%s> for control line <%s>", Driver, signal, name); error("%s: should be STROBE, AUTOFD, INIT, SLCTIN or GND", Driver); @@ -355,22 +358,22 @@ static unsigned char drv_generic_parport_signal_status(const char *name, const c if (strcasecmp(signal, "ERROR") == 0) { wire = PARPORT_STATUS_ERROR; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:ERROR (Pin 15)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:ERROR (Pin 15)", Driver, name); } else if (strcasecmp(signal, "SELECT") == 0) { wire = PARPORT_STATUS_SELECT; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:SELECT (Pin 13)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:SELECT (Pin 13)", Driver, name); } else if (strcasecmp(signal, "PAPEROUT") == 0) { wire = PARPORT_STATUS_PAPEROUT; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:PAPEROUT (Pin 12)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:PAPEROUT (Pin 12)", Driver, name); } else if (strcasecmp(signal, "ACK") == 0) { wire = PARPORT_STATUS_ACK; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:ACK (Pin 10)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:ACK (Pin 10)", Driver, name); } else if (strcasecmp(signal, "BUSY") == 0) { wire = PARPORT_STATUS_BUSY; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:BUSY (Pin 11)]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:BUSY (Pin 11)", Driver, name); } else if (strcasecmp(signal, "GND") == 0) { wire = 0; - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:GND]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:GND", Driver, name); } else { error("%s: unknown signal <%s> for status line <%s>", Driver, signal, name); error("%s: should be ERROR, SELECT, PAPEROUT, ACK, BUSY or GND", Driver); @@ -417,9 +420,9 @@ unsigned char drv_generic_parport_wire_data(const char *name, const char *deflt) } free(s); if (w == 0) { - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:GND]", Driver, name); + info("%s: wiring: DISPLAY:%-9s - PARPORT:GND", Driver, name); } else { - info("%s: wiring: [DISPLAY:%s]<==>[PARPORT:DB%d (Pin %d)]", Driver, name, w, w + 2); + info("%s: wiring: DISPLAY:%-9s - PARPORT:DB%d (Pin %2d)", Driver, name, w, w + 2); } w = 1 << w; diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample index 5ff5144..7b39972 100644 --- a/lcd4linux.conf.sample +++ b/lcd4linux.conf.sample @@ -103,7 +103,7 @@ Display HD44780-winamp { Driver 'HD44780' Model 'generic' UseBusy 1 - Port '/dev/parport0' + Port '/dev/parports/0' Size '20x4' Wire { RW 'AUTOFD' @@ -119,7 +119,7 @@ Display HD44780-kernelconcepts { Driver 'HD44780' Model 'HD66712' UseBusy 1 - Port '/dev/parport0' + Port '/dev/parports/0' Size '20x4' Wire { RW 'AUTOFD' @@ -132,7 +132,7 @@ Display HD44780-kernelconcepts { Display SC1602D { Driver 'HD44780' - Port '/dev/parport0' + Port '/dev/parports/0' Bits '8' Size '16x2' asc255bug 0 @@ -150,7 +150,7 @@ Display LCM-162 { Driver 'HD44780' Model 'LCM-162' # Bus 'parport' - Port '/dev/parport0' + Port '/dev/parports/0' Size '16x2' UseBusy 1 asc255bug 0 @@ -757,13 +757,14 @@ Layout testMySQL { #Display 'MI240' #Display 'CW12232' #Display 'HD44780-generic' +Display 'HD44780-WinAmp' #Display 'SC1602D' #Display 'LCM-162' #Display 'CF631' #Display 'CF632' #Display 'CF633' #Display 'Curses' -Display 'M50530-24x8' +#Display 'M50530-24x8' #Display 'LCDTerm' #Display 'CT20x4' #Display 'T6963-240x64' -- cgit v1.2.3 nsertions'>+387 2007-09-15GPS plugin V0.3 by michumichael1-40/+143 2007-09-15GPS plugin V0.2 by michumichael1-69/+267 2007-09-09email address changedmichael107-109/+109 2007-07-27Fix compilation with kernel 2.6.22 by Guillaume LECERFmichael1-1/+4 2007-07-27MPD plugin patch from michumichael1-1/+22 2007-07-27GPS plugin update by michumichael1-131/+248 2007-07-27indentationmichael2-106/+108 2007-06-21default for Brightness is 255volker1-1/+1 2007-06-20LCD::brightness in drv_X11 correctedvolker1-2/+10 2007-06-20global variable for backlight colorvolker1-0/+1 2007-06-20keypad support completed; new property brightness implementedvolker1-40/+175 2007-06-20maximum value for brightness is 8volker1-2/+2 2007-06-17buttons for X11 driver (thanks to Volker Gering)michael1-8/+49 2007-06-17Apple has no utsbuf.domainname (thanks to Volker Gering)michael1-1/+1 2007-06-17strndup() replacementmichael1-0/+24 2007-06-17better usage output by Volker Geringmichael1-4/+20 2007-06-08Image driver libgd dependancy fixmichael5-6/+31 2007-06-04big MPD patch from Robert Buchholzmichael1-79/+86 2007-05-19gps plugin, code by michu / www.neophob.commichael7-0/+580 2007-05-17compile error on m68k fixed (debian bug 405898)michael3-10/+170 2007-05-04typo in LUIse driver fixedmichael1-1/+1 2007-05-02some compiler warnings fixedmichael6-8/+14 2007-04-30LCD4Linux-0.10.1-RC2michael1-1/+1 2007-04-30ChangeLog updatedmichael1-1782/+3099 2007-04-30svn2cl moved and optimizedmichael1-6/+0