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