graphlcd-base/graphlcd.conf
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 # graphlcd.conf.sample
       
     2 #
       
     3 # This file contains a sample configuration for the graphlcd driver
       
     4 # library.
       
     5 # 
       
     6 # The format is ini-file-like. It is divided into sections that start
       
     7 # at markers that look like [section]. Comments are all line-based
       
     8 # comments, and are lines that start with '#'.
       
     9 #
       
    10 # The file starts with general settings, that are used by several
       
    11 # drivers, followed by the sections. Each section represents a single
       
    12 # display with a driver definition and specific settings which define
       
    13 # how the driver acts. Some of these parameters like device, port and
       
    14 # size are already parsed by the library but the drivers can also read
       
    15 # their own options from the config file. The library passes them to
       
    16 # the drivers.
       
    17 
       
    18 # WaitMethod
       
    19 #  Select the method that is used for sleeping.
       
    20 #  Possible values:
       
    21 #   0 - usleep
       
    22 #   1 - nanosleep
       
    23 #   2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems
       
    24 #   3 - gettimeofday - This is recommended on kernel 2.6 systems
       
    25 #  Defaukt value: 3
       
    26 WaitMethod=3
       
    27 
       
    28 # WaitPriority
       
    29 #  Select the process priority that is used when sleeping.
       
    30 #  Possible values: -20 <= x <= 19
       
    31 #  Default value: 0
       
    32 WaitPriority=0
       
    33 
       
    34 # General driver settings
       
    35 #  This section lists the display settings that are parsed and
       
    36 #  recognized by the driver library.
       
    37 #
       
    38 # Driver
       
    39 #  Sets the display's driver.
       
    40 #  Currently available are: framebuffer, gu140x32f, gu256x64-372,
       
    41 #                           gu256x64C-3xx0, hd61830, image, ks0108,
       
    42 #                           sed1520, sed1330, simlcd, t6963c,
       
    43 #                           gu126x64D-K610A4
       
    44 #
       
    45 # Device
       
    46 #  Instead of using the direct output via port address (see Port), you
       
    47 #  can use the parport device (/dev/parportX). The advantage over the
       
    48 #  direct output via port address is that this works for non-root users
       
    49 #  also. But it's a little bit slower. The modules ppdev.o, parport.o
       
    50 #  and parport_pc.o must be loaded or compiled into the kernel.
       
    51 #
       
    52 # Port
       
    53 #  Sets the port address of the parallel port. If this parameter is not
       
    54 #  given, 0x378 is used. To use this direct output, the program that
       
    55 #  uses the driver library has to be started with user 'root'.
       
    56 #
       
    57 # Width
       
    58 #  Sets the horizontal size of the display. If this parameter is not
       
    59 #  given, a default one specific to the driver is used.
       
    60 #
       
    61 # Height
       
    62 #  Sets the vertical size of the display. If this parameter is not
       
    63 #  given, a default one specific to the driver is used.
       
    64 #
       
    65 # UpsideDown
       
    66 #  Rotates the display output by 180 degrees. This might be useful, if
       
    67 #  the LCD is mounted upside-down.
       
    68 #  Possible values: 'yes', 'no'
       
    69 #  Default value: 'no'
       
    70 #
       
    71 # Invert
       
    72 #  Inverts the display.
       
    73 #  Possible values: 'yes', 'no'
       
    74 #  Default value: 'no'
       
    75 #
       
    76 # Brightness
       
    77 #  Sets the brightness of your display's backlight if supported by its
       
    78 #  driver.
       
    79 #  Supported by: gu140x32f, gu256x64-372, gu256x64-3900, gu126x64D-K610A4
       
    80 #  Possible values: 0 <= x <= 100)
       
    81 #  Default value: 100
       
    82 #
       
    83 # Contrast
       
    84 #  Sets the contrast of your display if supported by its driver.
       
    85 #  Supported by: serdisplib
       
    86 #  Possible values: 0 <= x <= 10
       
    87 #  Default value: 5
       
    88 #
       
    89 # Backlight
       
    90 #  Switches the backlight of your display on and off if supported by
       
    91 #  its driver.
       
    92 #  Supported by: serdisplib
       
    93 #  Possible values: 'yes', 'no'
       
    94 #  Default value: 'yes'
       
    95 #
       
    96 # AdjustTiming
       
    97 #  To get a timing that is as accurate as possible, the drivers measure
       
    98 #  the time for port commands (see: benchmark in syslog). You might
       
    99 #  decrease or increase the time to wait after port commands with this
       
   100 #  parameter. Normally, there is no need to change this parameter.
       
   101 #  (used by gu140x32f, gu256x64-372, gu256x64-3900, hd61830, ks0108,
       
   102 #   sed1330, sed1520, gu126x64D-K610A4)
       
   103 #  Possible values: -50 <= x <= 50
       
   104 #  Default value: 0
       
   105 #
       
   106 # RefreshDisplay
       
   107 #  Normally, most of the drivers do not update the whole display, but
       
   108 #  only the areas that have changed since last update. So it might be,
       
   109 #  that some faulty pixels would stay a longer time. To avoid this, the
       
   110 #  plugin makes a complete refresh from time to time. This parameter
       
   111 #  defines how often a complete refresh will be done.
       
   112 #  e.g.: A value of 5 means, that the plugin will make a complete
       
   113 #        refresh on every 5th update.
       
   114 #  A value of 0 completely disables complete refreshs. 
       
   115 #  Possible values: 0 <= x <= 50
       
   116 #  Default value: 5
       
   117 
       
   118 ########################################################################
       
   119 
       
   120 [framebuffer]
       
   121 # framebuffer driver
       
   122 #  Output goes to a framebuffer device
       
   123 #  Default size: 320 x 240
       
   124 Driver=framebuffer
       
   125 
       
   126 #Width=320
       
   127 #Height=240
       
   128 #UpsideDown=no
       
   129 #Invert=no
       
   130 
       
   131 # Zoom
       
   132 #  Determines if pixels should be drawn double sized.
       
   133 #  Possible values: 0, 1
       
   134 Zoom=1
       
   135 
       
   136 ########################################################################
       
   137 
       
   138 [gu140x32f]
       
   139 # gu140x32f driver
       
   140 #  This is an 8-bit driver module for Noritake GU140x32-F7806 VFD
       
   141 #  displays. The VFD is operating in it's 8 bit-mode connected to a
       
   142 #  single PC parallel port.
       
   143 #  Default size: 140 x 32
       
   144 Driver=gu140x32f
       
   145 
       
   146 Port=0x378
       
   147 #Device=/dev/parport0
       
   148 #Width=140
       
   149 #Height=32
       
   150 #UpsideDown=no
       
   151 #Invert=no
       
   152 #Brightness=100
       
   153 #AdjustTiming=0
       
   154 #RefreshDisplay=1
       
   155 
       
   156 # Wiring
       
   157 #  Select the type of wiring your display is connected with.
       
   158 #  Possible values: 'Standard', 'Windows'
       
   159 #  Default value: 'Standard'
       
   160 Wiring=Standard
       
   161 
       
   162 ########################################################################
       
   163 
       
   164 [gu256x64-372]
       
   165 # gu256x64-372 driver
       
   166 #  This is an 8-bit driver module for Noritake GU256x64-372 VFD
       
   167 #  displays. The VFD is operating in it's 8 bit-mode connected to a
       
   168 #  single PC parallel port.
       
   169 #  Default size: 256 x 64
       
   170 Driver=gu256x64-372
       
   171 
       
   172 Port=0x378
       
   173 #Device=/dev/parport0
       
   174 #Width=256
       
   175 #Height=64
       
   176 #UpsideDown=no
       
   177 #Invert=no
       
   178 #Brightness=100
       
   179 #AdjustTiming=0
       
   180 #RefreshDisplay=1
       
   181 
       
   182 ########################################################################
       
   183 
       
   184 [gu256x64-3900]
       
   185 # gu256x64-3900 driver
       
   186 #  This is a driver module for Noritake GU256X64x-3900 VFD displays. The
       
   187 #  VFD is either operating in 8 bit-mode connected to a single PC
       
   188 #  parallel port or in serial mode connected to a single PC serial port.
       
   189 #  Default size: 256 x 64
       
   190 Driver=gu256x64-3900
       
   191 
       
   192 Port=0x378
       
   193 #Device=/dev/parport0
       
   194 #Width=256
       
   195 #Height=64
       
   196 #UpsideDown=no
       
   197 #Invert=no
       
   198 #Brightness=100
       
   199 #AdjustTiming=0
       
   200 #RefreshDisplay=1
       
   201 
       
   202 # Wiring
       
   203 #  Select the type of wiring your display is connected with.
       
   204 #  Possible values: 'Standard', 'Satyr'
       
   205 #  Default value: 'Standard'
       
   206 Wiring=Standard
       
   207 
       
   208 # Interface
       
   209 #  Select the interface your display is connnected to.
       
   210 #  Possible values: 'Parallel', 'Serial'
       
   211 #  Default value: 'Parallel'
       
   212 Interface=Parallel
       
   213 
       
   214 # DMA
       
   215 #  Enables/disables the usage of the controller's DMA mode which
       
   216 #  increases writing speed. This only works in parallel interface mode.
       
   217 #  Possible values: 'yes', 'no'
       
   218 #  Default value: 'yes'
       
   219 DMA=yes
       
   220 
       
   221 ########################################################################
       
   222 
       
   223 [gu126x64D-K610A4]
       
   224 # GU126x64D-K610A4 driver
       
   225 #  This is a driver module for Noritake GU126x64D-K610A4 VFD displays. 
       
   226 #  The VFD is operating in 8 bit-mode connected to a single PC
       
   227 #  parallel port.
       
   228 #  Default size: 126 x 64
       
   229 Driver=gu126x64D-K610A4
       
   230 
       
   231 Port=0x378
       
   232 # Device=/dev/parport0
       
   233 
       
   234 #Width=126
       
   235 #Height=64
       
   236 #UpsideDown=no
       
   237 #Invert=no
       
   238 #Brightness=100
       
   239 #RefreshDisplay=1
       
   240 #AdjustTiming=30
       
   241 
       
   242 #  Debug some methods of the driver
       
   243 #  (add the values of interest)
       
   244 #
       
   245 #   1: show a log at the start of a refresh
       
   246 #   2: show a log at the end of a refresh with timing information
       
   247 #   4: show the rows (8 pixel) refreshed
       
   248 #   8: show every commands/bytes sent to the display
       
   249 #  16: log every unsuccessful waiting for display acknowledge
       
   250 #
       
   251 #Debug=0
       
   252 
       
   253 ########################################################################
       
   254 
       
   255 [hd61830]
       
   256 # hd61830 driver
       
   257 #  This is a driver module for the Hitachi HD61830 LCD controller.
       
   258 #  Default size: 240 x 128
       
   259 Driver=hd61830
       
   260 Port=0x378
       
   261 #Device=/dev/parport0
       
   262 #Width=240
       
   263 #Height=128
       
   264 #UpsideDown=no
       
   265 #Invert=no
       
   266 #AdjustTiming=0
       
   267 #RefreshDisplay=1
       
   268 
       
   269 ########################################################################
       
   270 
       
   271 [image]
       
   272 # image driver
       
   273 #  This is a driver module for writing image sequences in PBM (Portable
       
   274 #  Bit Map) format that show the plugin's output.
       
   275 #  Default size: 240 x 128
       
   276 Driver=image
       
   277 #Width=240
       
   278 #Height=128
       
   279 #UpsideDown=no
       
   280 #Invert=no
       
   281 
       
   282 ########################################################################
       
   283 
       
   284 [ks0108]
       
   285 # ks0108 driver
       
   286 #  This is a driver module for the Samsung KS0108 LCD controller.
       
   287 #  Default size: 128 x 64
       
   288 Driver=ks0108
       
   289 Port=0x378
       
   290 #Device=/dev/parport0
       
   291 #Width=128
       
   292 #Height=64
       
   293 #UpsideDown=no
       
   294 #Invert=no
       
   295 #AdjustTiming=0
       
   296 #RefreshDisplay=1
       
   297 
       
   298 # Control
       
   299 #  Select the variant of triggering the display's control lines.
       
   300 #  Possible values: '0', '1'
       
   301 #  Default value: '1'
       
   302 Control=1
       
   303 
       
   304 ########################################################################
       
   305 
       
   306 [sed1330]
       
   307 # sed1330 driver
       
   308 #  This is a driver module for the Epson SED1330/1335 LCD controller.
       
   309 #  Default size: 320 x 240
       
   310 Driver=sed1330
       
   311 Port=0x378
       
   312 #Device=/dev/parport0
       
   313 #Width=320
       
   314 #Height=240
       
   315 #UpsideDown=no
       
   316 #Invert=no
       
   317 #AdjustTiming=0
       
   318 #refreshDisplay=1
       
   319 
       
   320 # Wiring
       
   321 #  Select the type of wiring your display is connected with.
       
   322 #  Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
       
   323 #                   'YASEDW'
       
   324 #  Default value: 'Original'
       
   325 Wiring=Original
       
   326 
       
   327 # OscillatorFrequency
       
   328 #  Select the frequency the oscillator on your LCD board uses in kHz.
       
   329 #  Possible values: 1000 <= x <= 15000)
       
   330 #  Default value: 9600
       
   331 OscillatorFrequency=9600
       
   332 
       
   333 # Interface
       
   334 #  Select the interface mode your display is connected with.
       
   335 #  Possible values: '6800', '8080'
       
   336 #  Default value: '6800'
       
   337 Interface=6800
       
   338 
       
   339 ########################################################################
       
   340 
       
   341 [sed1520]
       
   342 # sed1520 driver
       
   343 #  This is a driver module for the Epson SED1520 LCD controller.
       
   344 #  Default size: 120 x 32
       
   345 Driver=sed1520
       
   346 Port=0x378
       
   347 #Device=/dev/parport0
       
   348 #Width=120
       
   349 #Height=32
       
   350 #UpsideDown=no
       
   351 #Invert=no
       
   352 #AdjustTiming=0
       
   353 #RefreshDisplay=1
       
   354 
       
   355 ########################################################################
       
   356 
       
   357 [simlcd]
       
   358 # simlcd driver
       
   359 #  This is the SimLCD driver module. Output goes to a file instead of
       
   360 #  LCD. Use SimLCD tool to view this file.
       
   361 #  Default size: 240 x 128
       
   362 Driver=simlcd
       
   363 #Width=240
       
   364 #Height=128
       
   365 #UpsideDown=no
       
   366 #Invert=no
       
   367 
       
   368 ########################################################################
       
   369 
       
   370 [t6963c]
       
   371 # t6963c driver
       
   372 #  This is a driver module for the Toshiba T6963C LCD controller.
       
   373 #  Default size: 240 x 128
       
   374 Driver=t6963c
       
   375 Port=0x378
       
   376 #Device=/dev/parport0
       
   377 #Width=240
       
   378 #Height=128
       
   379 #UpsideDown=no
       
   380 #Invert=no
       
   381 #RefreshDisplay=1
       
   382 
       
   383 # Wiring
       
   384 #  Select the type of wiring your display is connected with.
       
   385 #  Possible values: 'Standard', 'Windows', 'Serial'
       
   386 #  Default value: 'Standard'
       
   387 Wiring=Standard
       
   388 
       
   389 # FontSelect
       
   390 #  Select the font width your display uses for text mode. In most cases
       
   391 #  this is selectable through one of the pins of your LCD board
       
   392 #  Possible values: '6', '8'
       
   393 #  Default value: '6'
       
   394 FontSelect=6
       
   395 
       
   396 # AutoMode
       
   397 #  Enables or disables the usage of T6963C's auto mode which doubles
       
   398 #  writing speed when enabled.
       
   399 #  Possible values: 'yes', 'no'
       
   400 #  Default value: 'yes'
       
   401 AutoMode=yes
       
   402 
       
   403 # StatusCheck
       
   404 #  Enables or disables the usage of T6963C's status check. When using a
       
   405 #  shielded cable for connecting your display, the disabling may be
       
   406 #  possible. This results in doubling the speed of writing data to the
       
   407 #  LCD.
       
   408 #  Possible values: 'yes', 'no'
       
   409 #  Default value: 'yes'
       
   410 StatusCheck=yes
       
   411 
       
   412 ########################################################################
       
   413 
       
   414 [serdisp]
       
   415 Driver=serdisp
       
   416 # Controller
       
   417 #  Select the serdisplib name of your display.
       
   418 #  Possible values: See README in serdisplib package or http://serdisplib.sourceforge.net
       
   419 #Controller=nokia7110
       
   420 #Controller=sed1335
       
   421 Controller=optrex323
       
   422 
       
   423 # Options
       
   424 #  Pass display specific options
       
   425 #  Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
       
   426 #
       
   427 #  IMPORTANT: when using generic controllers like sed1330,sed1335,t6963c, width and height
       
   428 #             need to be set here (if different from default settings)!
       
   429 #             (serdisplib needs to be extended to be able to use 'Width' and 'Height'
       
   430 #              settings directly - this will be added later)
       
   431 #
       
   432 #Options=MODE=8080
       
   433 #Options=DELAY=2000;FONTWIDTH=8;CHECK=1
       
   434 #Options=WIDTH=128;HEIGHT=64
       
   435 #Options=WIDTH=128;HEIGHT=64;DELAY=2000;FONTWIDTH=8;CHECK=1
       
   436 
       
   437 # Wiring
       
   438 #  Select Wiring
       
   439 #  Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
       
   440 #Wiring=1
       
   441 #Wiring=PowerLCD
       
   442 #Wiring=DATA8,CS:nAUTO,A0:INIT,WR:nSTRB,RD:nSELIN
       
   443 
       
   444 # FGColour
       
   445 #  Drawing colour for non-monochrome displays
       
   446 #  Possible values: 0xRRGGBB (eg.: 0xFF0000)
       
   447 #  Defaults to black (0x000000) if not set
       
   448 #FGColour=0x000000
       
   449 
       
   450 # BGColour
       
   451 #  Background colour for non-monochrome displays
       
   452 #  Possible values: 0xRRGGBB (eg.: 0x00FFFF)
       
   453 #  Defaults to white (0xFFFFFF) if not set
       
   454 #BGColour=0xFFFFFF
       
   455 
       
   456 Port=0x378
       
   457 #Device=/dev/parport0
       
   458 #UpsideDown=no
       
   459 #Invert=no
       
   460 Contrast=5
       
   461 Backlight=yes
       
   462 
       
   463 # Settings 'Width' and 'Height' are ignored at the moment. For generic controllers # (sed1330/1335, t6963) width and height need to be set using setting 'Options' (look above)
       
   464 ##Width=240
       
   465 ##Height=128
       
   466 
       
   467 ########################################################################
       
   468 
       
   469 [noritake800]
       
   470 # noritake800 driver
       
   471 #  This is an 8-bit driver module for Noritake Noritake 800(A) series VFD
       
   472 #  displays. The VFD is operating in it's 8 bit-mode connected to a
       
   473 #  single PC parallel port.
       
   474 #  Default size: 128 x 64
       
   475 Driver=noritake800
       
   476 Port=0x378
       
   477 #Device=/dev/parport0
       
   478 Width=128
       
   479 Height=64
       
   480 #UpsideDown=no
       
   481 #Invert=no
       
   482 Brightness=50
       
   483 #AdjustTiming=0		# not used
       
   484 #RefreshDisplay=0	# not used
       
   485 
       
   486 # Wiring
       
   487 #  Select the type of wiring your display is connected with.
       
   488 #  Possible values: 'LiquidMp3', 'MZ'
       
   489 #  Default value: 'LiquidMp3'
       
   490 Wiring=LiquidMp3
       
   491 
       
   492 ########################################################################
       
   493 
       
   494 [avrctl]
       
   495 # avrctl driver
       
   496 #  This is an driver module for my AVR controlled LCD display connected via
       
   497 #  USB port. It uses some simple commands to update the display content.
       
   498 #  Default size: 256 x 128
       
   499 Driver=avrctl
       
   500 Device=/dev/ttyUSB0
       
   501 Width=256
       
   502 Height=128
       
   503 #UpsideDown=no
       
   504 #Invert=no
       
   505 Brightness=50
       
   506 RefreshDisplay=1
       
   507 
       
   508 ########################################################################
       
   509 
       
   510 [g15daemon]
       
   511 # pseudo device for the g15daemon meta driver
       
   512 # Output goes to the g15daemon which then displays it
       
   513 Driver=g15daemon
       
   514 Width=160
       
   515 Height=43
       
   516 
       
   517 ########################################################################
       
   518 
       
   519 [network]
       
   520 # network driver
       
   521 #  Default size: 240 x 128
       
   522 Driver=network
       
   523 Width=256
       
   524 Height=128
       
   525 UpsideDown=no
       
   526 Invert=no
       
   527 Brightness=10
       
   528 RefreshDisplay=1