summaryrefslogtreecommitdiff
path: root/graphlcd.conf
blob: becdd542423309bf36360a1f51b3c7cbb1ad8aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
# graphlcd.conf.sample
#
# This file contains a sample configuration for the graphlcd driver
# library.
#
# The format is ini-file-like. It is divided into sections that start
# at markers that look like [section]. Comments are all line-based
# comments, and are lines that start with '#'.
#
# The file starts with general settings, that are used by several
# drivers, followed by the sections. Each section represents a single
# display with a driver definition and specific settings which define
# how the driver acts. Some of these parameters like device, port and
# size are already parsed by the library but the drivers can also read
# their own options from the config file. The library passes them to
# the drivers.

# WaitMethod
#  Select the method that is used for sleeping.
#  Possible values:
#   0 - usleep
#   1 - nanosleep
#   2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems
#   3 - gettimeofday - This is recommended on kernel 2.6 systems
#  Default value: 3
WaitMethod=3

# WaitPriority
#  Select the process priority that is used when sleeping.
#  Possible values: -20 <= x <= 19
#  Default value: 0
WaitPriority=0

# General driver settings
#  This section lists the display settings that are parsed and
#  recognized by the driver library.
#
# Driver
#  Sets the display's driver.
#  Currently available are: framebuffer, gu140x32f, gu256x64-372,
#                           gu256x64C-3xx0, hd61830, image, ks0108,
#                           sed1520, sed1330, simlcd, t6963c,
#                           gu126x64D-K610A4
#
# Device
#  Instead of using the direct output via port address (see Port), you
#  can use the parport device (/dev/parportX). The advantage over the
#  direct output via port address is that this works for non-root users
#  also. But it's a little bit slower. The modules ppdev.o, parport.o
#  and parport_pc.o must be loaded or compiled into the kernel.
#
# Port
#  Sets the port address of the parallel port. If this parameter is not
#  given, 0x378 is used. To use this direct output, the program that
#  uses the driver library has to be started with user 'root'.
#
# Width
#  Sets the horizontal size of the display. If this parameter is not
#  given, a default one specific to the driver is used.
#
# Height
#  Sets the vertical size of the display. If this parameter is not
#  given, a default one specific to the driver is used.
#
# UpsideDown
#  Rotates the display output by 180 degrees. This might be useful, if
#  the LCD is mounted upside-down.
#  Possible values: 'yes', 'no'
#  Default value: 'no'
#
# Invert
#  Inverts the display.
#  Possible values: 'yes', 'no'
#  Default value: 'no'
#
# Brightness
#  Sets the brightness of your display's backlight if supported by its
#  driver.
#  Supported by: gu140x32f, gu256x64-372, gu256x64-3900, gu126x64D-K610A4, ax206dpf
#  Possible values: 0 <= x <= 100)
#  Default value: 100
#
# Contrast
#  Sets the contrast of your display if supported by its driver.
#  Supported by: serdisplib
#  Possible values: 0 <= x <= 10
#  Default value: 5
#
# Backlight
#  Switches the backlight of your display on and off if supported by
#  its driver.
#  Supported by: serdisplib
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
#
# AdjustTiming
#  To get a timing that is as accurate as possible, the drivers measure
#  the time for port commands (see: benchmark in syslog). You might
#  decrease or increase the time to wait after port commands with this
#  parameter. Normally, there is no need to change this parameter.
#  (used by gu140x32f, gu256x64-372, gu256x64-3900, hd61830, ks0108,
#   sed1330, sed1520, gu126x64D-K610A4, noritake800)
#  Possible values: -50 <= x <= 50
#  Default value: 0
#
# RefreshDisplay
#  Normally, most of the drivers do not update the whole display, but
#  only the areas that have changed since last update. So it might be,
#  that some faulty pixels would stay a longer time. To avoid this, the
#  plugin makes a complete refresh from time to time. This parameter
#  defines how often a complete refresh will be done.
#  e.g.: A value of 5 means, that the plugin will make a complete
#        refresh on every 5th update.
#  A value of 0 completely disables complete refreshs.
#  Possible values: 0 <= x <= 50
#  Default value: 5

########################################################################

[framebuffer]
# framebuffer driver
#  Output goes to a framebuffer device
Driver=framebuffer

#UpsideDown=no
#Invert=no

# Device
#  Framebuffer device
#  Default value: /dev/fb0
#Device=/dev/fb0

# Damage | ReportDamage
#  Damage reporting for framebuffer devices with update problems
#  Possible values: none, auto, udlfb, ugly
#    none:  no damage reporting
#    auto:  automatic determination if damage reporting is needed
#    udlfb: damage reporting for udlfb-devices (displaylink)
#    ugly:  dirty damagereporting (a '\n' is written to the framebuffer file handle)
#  Default value: none
#Damage=none

# Zoom
#  Determines if pixels should be drawn double sized.
#  If zoom is set, the actual resolution will be halved (both width and height)
#  e.g.: framebuffer has resolution 800x600: this driver will report a drawing area of 400x300
#  Possible values: 0, 1
#  Default value: 1
Zoom=1

########################################################################

[gu140x32f]
# gu140x32f driver
#  This is an 8-bit driver module for Noritake GU140x32-F7806 VFD
#  displays. The VFD is operating in it's 8 bit-mode connected to a
#  single PC parallel port.
#  Default size: 140 x 32
Driver=gu140x32f

Device=/dev/parport0
#Port=0x378
#Width=140
#Height=32
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Standard', 'Windows'
#  Default value: 'Standard'
Wiring=Standard

########################################################################

[gu256x64-372]
# gu256x64-372 driver
#  This is an 8-bit driver module for Noritake GU256x64-372 VFD
#  displays. The VFD is operating in it's 8 bit-mode connected to a
#  single PC parallel port.
#  Default size: 256 x 64
Driver=gu256x64-372

Device=/dev/parport0
#Port=0x378
#Width=256
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Standard', 'Windows'
#  Default value: 'Standard'
Wiring=Standard

########################################################################

[gu256x64-3900]
# gu256x64-3900 driver
#  This is a driver module for Noritake GU256X64x-3900 VFD displays. The
#  VFD is either operating in 8 bit-mode connected to a single PC
#  parallel port or in serial mode connected to a single PC serial port.
#  Default size: 256 x 64
Driver=gu256x64-3900

Device=/dev/parport0
#Port=0x378
#Width=256
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Standard', 'Satyr'
#  Default value: 'Standard'
Wiring=Standard

# Interface
#  Select the interface your display is connnected to.
#  Possible values: 'Parallel', 'Serial'
#  Default value: 'Parallel'
Interface=Parallel

# DMA
#  Enables/disables the usage of the controller's DMA mode which
#  increases writing speed. This only works in parallel interface mode.
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
DMA=yes

########################################################################

[gu126x64D-K610A4]
# GU126x64D-K610A4 driver
#  This is a driver module for Noritake GU126x64D-K610A4 VFD displays.
#  The VFD is operating in 8 bit-mode connected to a single PC
#  parallel port.
#  Default size: 126 x 64
Driver=gu126x64D-K610A4

Device=/dev/parport0
#Port=0x378
#Width=126
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#RefreshDisplay=1
#AdjustTiming=30

#  Debug some methods of the driver
#  (add the values of interest)
#
#   1: show a log at the start of a refresh
#   2: show a log at the end of a refresh with timing information
#   4: show the rows (8 pixel) refreshed
#   8: show every commands/bytes sent to the display
#  16: log every unsuccessful waiting for display acknowledge
#
#Debug=0

########################################################################

[hd61830]
# hd61830 driver
#  This is a driver module for the Hitachi HD61830 LCD controller.
#  Default size: 240 x 128
Driver=hd61830

Device=/dev/parport0
#Port=0x378
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1

########################################################################

[image]
# image driver
#  This is a driver module for writing image sequences in PBM (Portable
#  Bit Map) format that show the plugin's output.
#  Default size: 240 x 128
Driver=image
#Width=240
#Height=128
#UpsideDown=no
#Invert=no

########################################################################

[ks0108]
# ks0108 driver
#  This is a driver module for the Samsung KS0108 LCD controller.
#  Default size: 128 x 64
Driver=ks0108

Device=/dev/parport0
#Port=0x378
Width=128
#Width=192
#Height=64
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1

# Control
#  Select the variant of triggering the display's control lines.
#  Possible values: '0', '1'
#  Default value: '1'
Control=1

########################################################################

[sed1330]
# sed1330 driver
#  This is a driver module for the Epson SED1330/1335 LCD controller.
#  Default size: 320 x 240
Driver=sed1330

Device=/dev/parport0
#Port=0x378
#Width=320
#Height=240
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#refreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
#                   'YASEDW'
#  Default value: 'Original'
Wiring=Original

# OscillatorFrequency
#  Select the frequency the oscillator on your LCD board uses in kHz.
#  Possible values: 1000 <= x <= 15000)
#  Default value: 9600
OscillatorFrequency=9600

# Interface
#  Select the interface mode your display is connected with.
#  Possible values: '6800', '8080'
#  Default value: '6800'
Interface=6800

########################################################################

[sed1520]
# sed1520 driver
#  This is a driver module for the Epson SED1520 LCD controller.
#  Default size: 120 x 32
Driver=sed1520

Device=/dev/parport0
#Port=0x378
#Width=120
#Height=32
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1

########################################################################

[simlcd]
# simlcd driver
#  This is the SimLCD driver module. Output goes to a file instead of
#  LCD. Use SimLCD tool to view this file.
#  Default size: 240 x 128
Driver=simlcd
#Width=240
#Height=128
#UpsideDown=no
#Invert=no

########################################################################

[t6963c]
# t6963c driver
#  This is a driver module for the Toshiba T6963C LCD controller.
#  Default size: 240 x 128
Driver=t6963c

Device=/dev/parport0
#Port=0x378
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
#RefreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Standard', 'Windows', 'Serial'
#  Default value: 'Standard'
Wiring=Standard

# FontSelect
#  Select the font width your display uses for text mode. In most cases
#  this is selectable through one of the pins of your LCD board
#  Possible values: '6', '8'
#  Default value: '6'
FontSelect=6

# AutoMode
#  Enables or disables the usage of T6963C's auto mode which doubles
#  writing speed when enabled.
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
AutoMode=yes

# StatusCheck
#  Enables or disables the usage of T6963C's status check. When using a
#  shielded cable for connecting your display, the disabling may be
#  possible. This results in doubling the speed of writing data to the
#  LCD.
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
StatusCheck=yes

########################################################################

[serdisp]
Driver=serdisp
# Controller
#  Select the serdisplib name of your display.
#  Possible values: See README in serdisplib package or http://serdisplib.sourceforge.net
#Controller=nokia7110
#Controller=sed1335
Controller=optrex323
#Controller=l4m132c
#Controller=l4m320t

# Options
#  Pass display specific options
#  Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
#
#  IMPORTANT: when using generic controllers like sed1330,sed1335,t6963c, width and height
#             need to be set here (if different from default settings)!
#             (serdisplib needs to be extended to be able to use 'Width' and 'Height'
#              settings directly - this will be added later)
#
#Options=MODE=8080
#Options=DELAY=2000;FONTWIDTH=8;CHECK=1
#Options=WIDTH=128;HEIGHT=64
#Options=WIDTH=128;HEIGHT=64;DELAY=2000;FONTWIDTH=8;CHECK=1

# Wiring
#  Select Wiring
#  Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
#Wiring=1
#Wiring=PowerLCD
#Wiring=DATA8,CS:nAUTO,A0:INIT,WR:nSTRB,RD:nSELIN

# FGColour
#  Drawing colour for non-monochrome displays
#  Possible values: 0xRRGGBB (eg.: 0xFF0000)
#  Defaults to black (0x000000) if not set
#FGColour=0x000000

# BGColour
#  Background colour for non-monochrome displays
#  Possible values: 0xRRGGBB (eg.: 0x00FFFF)
#  Defaults to white (0xFFFFFF) if not set
#BGColour=0xFFFFFF

Device=/dev/parport0
#Port=0x378
#Device=HID:/dev/usb/hiddev0
#Device=HID:/dev/hiddev0
#Device=USB:USB:4243/ee20 # Linux4Media 320T TouchLCD
#UpsideDown=no
#Invert=no
Contrast=5
Backlight=yes

# 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)
##Width=240
##Height=128

########################################################################

[noritake800]
# noritake800 driver
#  This is an 8-bit driver module for Noritake Noritake 800(A) series VFD
#  displays. The VFD is operating in it's 8 bit-mode connected to a
#  single PC parallel port.
#  Default size: 128 x 64
Driver=noritake800

Device=/dev/parport0
#Port=0x378
Width=128
Height=64
#UpsideDown=no
#Invert=no
Brightness=50
AdjustTiming=50
RefreshDisplay=50

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'LiquidMp3', 'MZ'
#  Default value: 'LiquidMp3'
Wiring=LiquidMp3

########################################################################

[avrctl]
# avrctl driver
#  This is an driver module for my AVR controlled LCD display connected via
#  USB port. It uses some simple commands to update the display content.
#  Default size: 256 x 128
Driver=avrctl
Device=/dev/ttyUSB0
Width=256
Height=128
#UpsideDown=no
#Invert=no
Brightness=50
RefreshDisplay=1

########################################################################

[g15daemon]
# pseudo device for the g15daemon meta driver
# Output goes to the g15daemon which then displays it
Driver=g15daemon
Width=160
Height=43

########################################################################

[network]
# network driver
#  Default size: 240 x 128
Driver=network
Width=256
Height=128
UpsideDown=no
Invert=no
Brightness=10
RefreshDisplay=1

########################################################################

[dm140gink]
#  dm140gink driver
#  This is an driver module for Futaba DM140-GINK VFD displays.
#  The VFD is built-in in some HTPC cases and connected to a
#  USB port.
#  Default size: 112 x 16
Driver=dm140gink
#Width=112
#Height=16
#UpsideDown=no

# Invertion is not supported
#Invert=no

# USB VendorID and ProductID
#Vendor=0x040b
#Product=0x7001
# USB ID activy 5xx:
#Vendor=0x1509
#Product=0x925d
########################################################################

[futabaMDM166A]
#  futabaMDM166A driver
#  This is an driver module for Futaba MDM166A VFD displays.
#  The VFD is built-in in Targa HTPC cases and connected to USB port.
#  Default size: 96 x 16
Driver=futabaMDM166A

#Width=96
#Height=16
#UpsideDown=no
#Invert=no
#Brightness=50
#RefreshDisplay=1000
########################################################################

[ax206dpf]
#  THIS IS AN EXPERIMENTAL DRIVER!
#  You have to uncomment the variable HAVE_DRIVER_AX206DPF
#  in Make.config to use this driver.
#  READ the READDME.ax206dpf before use!
#
# ax206dpf driver
#  This is a driver module for an AX 206 based hacked photoframe.
#
#  Default size: 320 x 240 or 240 x 320 (see "Portrait")
Driver=ax206dpf
#Width=320
#Height=240
#
# UpsideDown
#  Rotates the display output by 180 degrees. This might be useful, if
#  the LCD is mounted upside-down.
#  Possible values: 'yes', 'no'
#  Default value: 'no'
#UpsideDown=no
#
# Brightness
#  Sets the brightness of the display's backlight
#  Possible values: 0 <= x <= 100)
#  Default value: 100
#Brightness=100
#
# Device
#  Selects a specific display
#  'dpf0' = first detected display, 'dpf1' = second detected display, ...
#  Default value: 'dpf0'
#Device=dpf0
#
# Portrait
#  Select portrait or landscape mode
#  Rotate display output by 90 degrees if necessary
#  Possible values: 'yes' -> default size = 240 x 320
#                   'no' -> default size = 320 x 240
#  Default value: 'no'
#Portrait=no
#
# Zoom
#  Determines if pixels should be magnified.
#  Possible values: 1, 2, 3, 4
#  Default value: 1
#Zoom=1
#
# The following parameters are for multi-display setups only!
#
# Horizontal
#  Sets the number of displays in horizontal direction.
#  Possible values if Vertical=1: 1, 2, 3, 4
#                  if Vertical=2: 1, 2
#  Default value: 1
#Horizontal=1
#
# Vertical
#  Sets the number of displays in vertical direction.
#  Possible values if Horizontal=1: 1, 2, 3, 4
#                  if Horizontal=2: 1, 2
#  Default value: 1
#Vertical=1
#
# Flip
#  Rotates a single displays output by 180 degrees. This might be useful, if
#  some LCDs are mounted upside-down.
#  Possible values for every display : 'y', 'n'
#  Default value: 'nnnn'
#Flip=nnnn
#

########################################################################

[vncserver]
# vncserver driver
#  Output goes to a vncserver device
#  Default size: 320 x 240
Driver=vncserver
Width=320
Height=240
#
# HttpDir
#  Webclients directory of libvncserver installation (only needed for webclient access)
#HttpDir=/usr/share/webclients

########################################################################

[ssd1306]
# ssd1306 driver
#  This is a driver module for the SSD1306 OLED display controller.
#  Default size: 128 x 64
Driver=ssd1306
Device=0
Width=128
Height=64

[ili9341]
# ili9341 driver
#  This is a driver module for the ILI9341 TFT display controller.
#  Default size: 320x240
Driver=ili9341
Device=0
Width=320
Height=240

[alphacool]
# Driver setting for the Alphacool USB LCD (240x128 pixels)
# Requires serdisplib to be installed
Driver=serdisp
Controller=alphacool
Device=USB:060c/04eb
Backlight=yes

[sdcmegtron]
# Driver setting for the SDC Megtron USB LCD (240x128 pixels)
# Requires serdisplib to be installed
Driver=serdisp
Controller=sdcmegtron
Device=USB:152a/8380
Backlight=yes

[usbserlcd]
# This is the driver for displays based on the USBserLCD firmware:
# https://github.com/M-Reimer/usbserlcd
Driver=usbserlcd
Device=/dev/ttyUSB0
RefreshDisplay=0

[st7565r-reel]
# st7565r driver
#  This is a driver module for the ST7565R based Reelbox frontpanel LCD
#  Default size: 128 x 64
Driver=st7565r-reel
Device=/dev/ttyS0
Brightness=100
Contrast=80