graphlcd-base/docs/DRIVER.gu126x64D-K610A4
author root@rika
Wed, 06 Feb 2008 17:32:55 +0000
changeset 4 df6a40031aa5
permissions -rw-r--r--
added graphlcd-base
     1 ---------------------------------------------------------------------
     2 GraphLCD driver library
     3 
     4 The GU126X64-K610A4 driver
     5 ---------------------------------------------------------------------
     6 
     7 Description
     8 -----------
     9 The GU126X64-K610A4 driver supports Noritake GU126X64D-K610A4 VFD 
    10 display.
    11 
    12 The VFD is connected to a single PC parallel port.
    13 
    14 Wirings
    15 -------
    16 The GU126X64-K610A4 driver supports the following connections on a
    17 parallel port:
    18 
    19 
    20   printerport   LCD                 other
    21   -----------   ----------------    -------
    22                 5V     (Con1.1)     VCC        (Power supply 5V)
    23   ACK    (10)   MB     (Con1.9)                (Module Busy)
    24                 0V     (Con1.5)     GND        (Ground)
    25 
    26   GND    (18)   0V     (Con2.1)                (Ground)
    27   INIT   (16)   ENABLE (Con2.2)                (ENABLE)
    28   D0     (02)   PA0    (Con2.3)                (DataBit 0)
    29   D1     (03)   PA1    (Con2.4)                (DataBit 1)
    30   D2     (04)   PA2    (Con2.5)                (DataBit 2)
    31   D3     (05)   PA3    (Con2.6)                (DataBit 3)
    32   D4     (06)   PA4    (Con2.7)                (DataBit 4)
    33   D5     (07)   PA5    (Con2.8)                (DataBit 5)
    34   D6     (08)   PA6    (Con2.9)                (DataBit 6)
    35   D7     (09)   PA7    (Con2.10)               (DataBit 7)
    36 
    37 The Display is configured to parallel port mode with "Clock Input"
    38 to "Falling Edge".
    39 
    40 ================================================================
    41    
    42 Configuration Parameters
    43 ------------------------
    44 The GU126X64-K610A4 driver supports the following parameters in 
    45 config file:
    46 
    47 Device
    48  Instead of using the direct output via port address (see Port), you
    49  can use the parport device (/dev/parportX). The advantage over the
    50  direct output via port address is that this works for non-root users
    51  also. But it's a little bit slower. The modules ppdev.o, parport.o
    52  and parport_pc.o must be loaded or compiled into the kernel.
    53 
    54 Port
    55  Sets the port address of the parallel port. If this parameter is not
    56  given, 0x378 is used. To use this direct output, the program that
    57  uses the driver library has to be started with user 'root'.
    58 
    59 Width
    60  Sets the horizontal size of the display. If this parameter is not
    61  given, a default value of 256 pixels is used.
    62 
    63 Height
    64  Sets the vertical size of the display. If this parameter is not
    65  given, a default value of 64 pixels is used.
    66 
    67 UpsideDown
    68  Rotates the display output by 180 degrees. This might be useful, if
    69  the LCD is mounted upside-down.
    70  Possible values: 'yes', 'no'
    71  Default value: 'no'
    72 
    73 Invert
    74  Inverts the display.
    75  Possible values: 'yes', 'no'
    76  Default value: 'no'
    77 
    78 Brightness
    79  Sets the brightness of your display's backlight.
    80  Possible values: 0 <= x <= 100)
    81  Default value: 100
    82 
    83 AdjustTiming
    84  To get a timing that is as accurate as possible, the drivers measure
    85  the time for port commands (see: benchmark in syslog). You might
    86  decrease or increase the time to wait after port commands with this
    87  parameter. Normally, there is no need to change this parameter.
    88  Possible values: -50 <= x <= 50
    89  Default value: 0
    90 
    91 RefreshDisplay
    92  Normally, most of the drivers do not update the whole display, but
    93  only the areas that have changed since last update. So it might be,
    94  that some faulty pixels would stay a longer time. To avoid this, the
    95  plugin makes a complete refresh from time to time. This parameter
    96  defines how often a complete refresh will be done.
    97  e.g.: A value of 5 means, that the plugin will make a complete
    98        refresh on every 5th update.
    99  A value of 0 completely disables complete refreshs. 
   100  Possible values: 0 <= x <= 50
   101  Default value: 0
   102 
   103 Debug
   104  Prints debugging information of some methods of the driver.
   105  (add the values of interest)
   106 
   107   1: show a log at the start of a refresh
   108   2: show a log at the end of a refresh with timing information
   109   4: show the rows (8 pixel) refreshed
   110   8: show every commands/bytes sent to the display
   111  16: log every unsuccessful waiting for display acknowledge