[packages_10.03.2] hd-idle: merge r26655, r28949, r28954, r29199
[10.03/packages.git] / utils / lcd4linux / files / lcd4linux.conf
1 #  $Id: lcd4linux.conf.sample 759 2007-02-04 05:55:58Z michael $
2 #  $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux.conf.sample $
3
4
5 Variables {
6    tick 500
7    tack 100
8    minute 60000
9 }
10
11 Display G15 {
12     Driver 'G-15'
13     Font   '6x8'
14     Contrast 10
15     Inverted 0
16     UInput '/dev/input/uinput'
17     SingleKeyPress 1
18 }
19
20
21 Display SerDispLib {
22     Driver 'serdisplib'
23     Port 'PAR:/dev/parports/0'
24     #Port '/dev/tts/0'  
25     Model 'OPTREX323'
26     Options ''
27 }
28
29
30 Display Trefon {
31     Driver 'TREFON'
32     Size '16x2'
33     Backlight 1
34     Icons 1
35 }
36
37
38 Display LCD-Linux {
39     Driver 'LCD-Linux'
40     Size '20x2'
41     UseBusy 0
42 }
43
44 Display LCD2USB {
45     Driver 'LCD2USB'
46     Size '20x2'
47     Backlight 1
48     Icons 1
49 }
50
51
52 Display LCD2041 {
53     Driver 'MatrixOrbital'
54     Model 'LCD2041'
55     Port '/dev/tts/0'
56     Speed 19200
57     Contrast 160
58 }
59
60 Display LK202 {
61     Driver 'MatrixOrbital'
62     Model 'LK202-24-USB'
63     Port '/dev/tts/USB0'
64     Speed 19200
65     Contrast 256/2
66 }
67
68 Display LK204 {
69     Driver 'MatrixOrbital'
70     Model 'LK204-24-USB'
71     Port '/dev/usb/tts/0'
72 #   Port '/dev/tts/0'
73     Speed 19200
74     Contrast 256/2
75 }
76
77
78 Display MI240 {
79     Driver 'MilfordInstruments'
80     Model 'MI240'
81     Port '/dev/tts/0'
82     Speed 19200
83 }
84
85
86 Display CW12232 {
87     Driver 'Cwlinux'
88     Model 'CW12232'
89     Port '/dev/usb/tts/0'
90     Speed 19200
91     Brightness 2
92     Icons 1
93 }
94
95
96 Display CF631 {
97     Driver 'Crystalfontz'
98     Model '631'
99     Port '/dev/tts/USB0'
100     Speed 115200
101     Contrast 95
102     Backlight 50
103     Icons 1
104 }
105
106 Display CF632 {
107     Driver 'Crystalfontz'
108     Model '632'
109     Port '/dev/tts/0'
110     Speed 19200
111     Icons 1
112 }
113
114 Display CF633 {
115     Icons 1
116     Driver 'Crystalfontz'
117     Model '633'
118     Port '/dev/tts/0'
119     Speed 19200
120     Contrast 16
121     Backlight 50
122 }
123
124 Display CF635 {
125     Icons 1
126     Driver 'Crystalfontz'
127     Model '635'
128     Port '/dev/ttyUSB0'
129     Speed 115200
130     Contrast 100
131     Backlight 128
132 }
133
134 Display Curses {
135     Driver 'Curses'
136     Size '20x6'
137 }
138
139 # generic HD44780 display (LCD4Linux wiring)
140 Display HD44780-generic {
141     Driver 'HD44780'
142     Model 'generic'
143     Port '/dev/parports/0'      
144     Size '8x2'
145     asc255bug 0
146     GPOs 8
147     Wire {
148         RW      'GND'
149         RS      'AUTOFD'
150         ENABLE  'STROBE'
151         ENABLE2 'GND'
152         GPO     'INIT'
153         POWER   'GND'
154     }
155 }
156
157 # generic HD44780 display (WinAmp wiring)
158 Display HD44780-winamp {
159     Driver 'HD44780'
160     Model 'generic'
161     UseBusy 1
162     Port '/dev/parports/0'      
163     Size '20x4'
164     asc255bug 1
165     Wire {
166         RW      'AUTOFD'
167         RS      'INIT'
168         ENABLE  'STROBE'
169         ENABLE2 'GND'
170         GPO     'GND'
171         POWER   'GND'
172     }
173     Timing {
174         # fuzz timings by value (100 = no change)
175         fuzz 100
176         # low-level communication [ns]
177         CY 1000  # Enable cycle time
178         PW  450  # Enable pulse width
179         AS  140  # Address setup time
180         AH   20  # Address hold time
181         # HD44780 execution timings [us]
182         INIT1 4100  # first init sequence: 4.1 msec
183         INIT2  100  # second init sequence: 100 usec
184         EXEC    80  # normal execution time
185         WRCG   120  # CG RAM Write
186         CLEAR 2250  # Clear Display
187         HOME  2250  # Return Cursor Home
188         ONOFF 2250  # Display On/Off Control
189         # GPO timing [ns]
190         GPO_ST  20  # 74HCT573 set-up time
191         GPO_PW 230  # 74HCT573 enable pulse width
192         # Power supply timing [ms]
193         POWER  500  # power-on delay
194     }
195 }
196
197 # HD44780 display 4-Bit mode
198 Display HD44780-4bit {
199     Driver 'HD44780'
200     Model 'generic'
201     Port '/dev/parports/0'      
202     Size '16x1'
203     Bits 4
204     UseBusy 0
205     asc255bug 0
206     Wire {
207         RW     'GND'
208         RS     'DB4'
209         ENABLE 'DB6'
210         GPO    'GND'
211     }
212 }
213
214 # Dual-HD44780 display from Pollin
215 Display WDC2704M {
216     Driver 'HD44780'
217     Model 'generic'
218     Controllers 2
219     UseBusy 1
220     Port '/dev/parports/0'      
221     Size '27x4'
222     Wire {
223         RW      'AUTOFD'
224         RS      'INIT'
225         ENABLE  'STROBE'
226         ENABLE2 'SLCTIN'
227         GPO     'GND'
228         POWER   'GND'
229     }
230 }
231
232 # HD44780 display from www.kernelconcepts.de
233 Display HD44780-kernelconcepts {
234     Driver 'HD44780'
235     Model 'HD66712'
236     UseBusy 1
237     Port '/dev/parports/0'      
238     Size '20x4'
239     Wire {
240         RW      'AUTOFD'
241         RS      'INIT'
242         ENABLE  'STROBE'
243         ENABLE2 'GND'
244         GPO     'GND'
245         POWER   'GND'
246     }
247 }
248
249 Display picoLCD {
250     Driver 'picoLCD'
251     Size     '20x2'
252     Contrast  0
253     Backlight 1
254     Icons     1
255 }
256
257 Display SC1602D {
258     Driver 'HD44780'
259     Port '/dev/parports/0'      
260     Bits '8'
261     Size '16x2'
262     asc255bug 0
263     Icons 1
264     Wire {
265         RW     'GND'
266         RS     'AUTOFD'
267         ENABLE 'STROBE'
268         GPO    'INIT'
269         POWER  'GND'
270     }
271 }
272
273
274 Display LCM-162 {
275     Driver 'HD44780'
276     Model 'LCM-162'
277 #   Bus 'parport'
278     Port '/dev/parports/0'      
279     Size '16x2'
280     UseBusy 1
281     asc255bug 0
282     Icons 1
283 }
284
285
286 Display HD44780-I2C {
287     Driver 'HD44780'
288     Model 'generic'
289     Bus 'i2c'
290     Port '/dev/i2c-0'
291     Device '70'
292     Bits '4'
293     Size '20x4'
294     asc255bug 0
295     Icons 1
296     Wire {
297         RW     'DB5'
298         RS     'DB4'
299         ENABLE 'DB6'
300         GPO    'GND'
301     }
302 }
303
304
305 Display LCDTerm {
306     Driver 'LCDTerm
307     Port '/dev/tts/0'
308     Speed 19200
309     Size '20x4'
310     Icons 1
311 }
312
313 Display SimpleLCD {
314     Driver 'SimpleLCD'
315     Port '/dev/tts/0'
316     Speed 1200
317     Options 0
318     Size '20x2'
319 }
320
321 Display BA63 {
322     Driver   'WincorNixdorf'
323     Model    'BA63'
324     Port     '/dev/tts/0'
325 #   Port     '/dev/tts/USB0'
326     Speed     9600
327     BarChar   219
328     SelfTest  0
329 }
330
331 Display M50530-24x8 {
332     Driver 'M50530'
333     Port '/dev/parports/0'      
334 #   Port '0x378'
335     Size '24x8'
336     Font '5x7'
337     Duty 2
338     Wire.RW   'INIT'
339     Wire.EX   'STROBE'
340     Wire.IOC1 'SLCTIN'
341     Wire.IOC2 'AUTOFD'
342     Wire.GPO  'GND'
343     UseBusy    1
344     Timing.fuzz 100
345 }
346
347
348 Display CT20x4 {
349     Driver 'Beckmann+Egle'
350     Model 'CT20x4'
351     Port '/dev/tts/0'
352 #    Size '16x2'
353 #    Contrast 7
354 #    Backlight 1
355     Icons 1
356 }
357
358
359 Display USBLCD {
360     Driver 'USBLCD'
361 #   Port '/dev/lcd0'
362     Port 'libusb'
363     Size '20x4'
364     asc255bug 1
365     Icons 1
366 }
367
368
369 Display BWCT {
370     Driver 'BWCT'
371     Size '20x4'
372     Contrast 220
373     asc255bug 1
374     Icons 1
375 }
376
377
378 Display T6963-240x64 {
379     Driver 'T6963'
380     Port '/dev/parports/0'
381     Size '240x64'
382     DualScan 0
383     Cell 6
384     Wire.CE 'STROBE'
385     Wire.CD 'SLCTIN'
386     Wire.RD 'AUTOFD'
387     Wire.WR 'INIT'
388     Timing.fuzz 120
389     Font '6x8'
390 }
391
392 Display T6963-240x128 {
393     Driver 'T6963'
394     Port '/dev/parports/0'
395     Size '240x128'
396     DualScan 0
397     Cell 6
398     Wire.CE 'STROBE'
399     Wire.CD 'SLCTIN'
400     Wire.RD 'AUTOFD'
401     Wire.WR 'INIT'
402     Timing.fuzz 120
403     Font '6x8'
404 }
405
406 Display T6963-240x128D {
407     Driver 'T6963'
408     Port '/dev/parports/0'
409     Size '240x128'
410     DualScan 1
411     Cell 6
412     Wire.CE 'STROBE'
413     Wire.CD 'SLCTIN'
414     Wire.RD 'AUTOFD'
415     Wire.WR 'INIT'
416     Timing.fuzz 120
417     Font '6x8'
418 }
419
420
421 Display LPH7508 {
422     Driver 'LPH7508'
423     Port   '/dev/parports/0'
424     Font   '6x8'
425     Contrast 15
426     Inverted 0
427 }
428
429 Display LPH7508-serdisplib {
430     Driver 'serdisplib'
431     Port 'PAR:/dev/parports/0'
432     Model 'LPH7508'
433 }
434
435 Display ctinclud {
436    Driver  'serdisplib'
437    Port    'USB:7c0/1501'
438    Model   'CTINCLUD'
439    Options ''
440    Inverted 0
441 }
442
443 Display XWindow {
444     Driver 'X11'
445     Size   '120x32'
446     Font   '5x8'
447     Pixel  '4+1'
448     Gap    '-1x-1'
449     Border 20
450 #   Foreground '#000000'
451 #   Background '#80d000'
452 #   Halfground '#70c000'
453     Foreground '000000cc'
454     Background '00000022'
455     Basecolor  '80d000'
456 }
457
458 Display Image {
459     Driver 'Image'
460 #   Format 'PPM'
461     Format 'PNG'
462     Size   '120x32'
463     Font   '6x8'
464     Pixel  '4+1'
465     Gap    '-1x-1'
466     Border 20
467 #   Foreground '#000000'
468 #   Background '#80d000'
469 #   Halfground '#70c000'
470     Foreground '000000cc'
471     Background '00000022'
472     Basecolor  '80d000'
473 }
474
475 #Plugin KVV {
476 #    StationID '12_701'
477 #    Refresh 30
478 #    Proxy 'igate'
479 #    Port 8080;
480 #}
481
482 Plugin Seti {
483     Directory '/root/setiathome-3.08.i686-pc-linux-gnu'
484 }
485
486
487 Plugin MySQL {
488     server 'gsmlandia.com'      # if none, localhost assumed
489     port 3306                   # if none, MySQL default assumed
490     user 'lcd4linux'            # if none, lcd4linux unix owner assumed
491     password 'lcd4linux'        # if none, empty password assumed
492     database 'lcd4linux'        # MUST be specified
493 }
494
495 Plugin Pop3 {
496    server1 'localhost'
497    port1 110
498    user1 'michael'
499    password1 'secret'
500 }
501
502
503 Widget OS {
504     class 'Text'
505     expression '*** '.uname('sysname').' '.uname('release').' ***'
506     width 20
507     align 'M'
508     style 'bold'
509     speed 50    
510     update tick
511 }
512
513 Widget CPU {
514     class  'Text'
515     expression  uname('machine')
516     prefix 'CPU '
517     width  9
518     align  'L'
519     style test::onoff(7)>0?'bold':'norm'
520     update tick
521 }
522
523
524 Widget CPUinfo {
525     class  'Text'
526     expression  cpuinfo('model name')
527     prefix ''
528     width  20
529     align  'M'
530     speed 100   
531     update tick
532 }
533
534
535 Widget RAM {
536     class  'Text'
537     expression meminfo('MemTotal')/1024
538     postfix ' MB RAM'   
539     width  11
540     precision 0
541     align  'R'
542     update tick
543 }
544
545 Widget Busy {
546     class 'Text'
547     expression proc_stat::cpu('busy', 500)
548     prefix 'Busy'       
549     postfix '%' 
550     width 9     
551     precision 1
552     align 'R'   
553     update tick 
554 }       
555
556 Widget BusyBar {
557     class 'Bar'
558     expression  proc_stat::cpu('busy',   500)
559     expression2 proc_stat::cpu('system', 500)
560     length 10   
561     direction 'E'
562     update tack
563 }
564
565 Widget Load {
566     class 'Text'
567     expression loadavg(1)
568     prefix 'Load'
569     postfix loadavg(1)>1.0?'!':' '
570     width 10
571     precision 1
572     align 'R'
573     update tick
574 }
575
576 Widget LoadBar {
577     class 'Bar'
578     expression  loadavg(1)
579     max 2.0
580     length 10   
581     direction 'E'
582     update tack
583 }
584
585
586 Widget Disk {
587     class 'Text'
588     # disk.[rw]blk return blocks, we assume a blocksize of 512
589     # to get the number in kB/s we would do blk*512/1024, which is blk/2 
590     # expression (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2
591     # with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat
592     # therefore you have to use another function called 'diskstats':
593     expression diskstats('hd.', 'read_sectors', 500) + diskstats('hd.', 'write_sectors', 500)
594     prefix 'disk'
595     postfix ' '
596     width 10    
597     precision 0
598     align 'R'   
599     update tick 
600 }       
601
602 Widget DiskBar {
603     class 'Bar'
604     #expression  proc_stat::disk('.*', 'rblk', 500)
605     #expression2 proc_stat::disk('.*', 'wblk', 500)
606     # for kernel 2.6:
607     expression  diskstats('hd.', 'read_sectors',  500)
608     expression2 diskstats('hd.', 'write_sectors', 500)
609     length 14   
610     direction 'E'
611     update tack
612 }
613
614 Widget Eth0 {
615     class 'Text'
616     expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024
617     prefix 'eth0'
618     postfix ' '
619     width 10    
620     precision 0
621     align 'R'   
622     update tick 
623 }       
624
625 Widget Eth0Bar {
626     class 'Bar'
627     expression  netdev('eth0', 'Rx_bytes', 500)
628     expression2 netdev('eth0', 'Tx_bytes', 500)
629     length 14   
630     direction 'E'
631     update tack
632 }
633
634 Widget PPP {
635     class 'Text'
636     expression (ppp('Rx:0', 500)+ppp('Tx:0', 500))
637     prefix 'PPP'
638     width 9
639     precision 0
640     align 'R'
641     update tick
642 }
643
644 Widget Temp {
645     class 'Text'
646     expression i2c_sensors('temp_input3')*1.0324-67
647     prefix 'Temp'
648     width 9
649     precision 1
650     align 'R'
651     update tick
652 }
653
654 Widget TempBar {
655     class 'Bar'
656     expression  i2c_sensors('temp_input3')*1.0324-67
657     min 40
658     max 80
659     length 10
660     direction 'E'
661     update tack
662 }
663
664 Widget MySQLtest1 {
665     class 'Text'
666     expression MySQL::query('SELECT id FROM table1')
667     width 20
668     align 'R'
669     prefix 'MySQL test:'
670     update minute
671 }
672
673 Widget MySQLtest2 {
674     class 'Text'
675     expression MySQL::status()
676     width 20
677     align 'M'
678     prefix 'Status: '
679     update minute
680 }
681
682 Widget Uptime {
683     class 'Text'
684     expression uptime('%d days %H:%M:%S')
685     width 20
686     align 'R'
687     prefix 'Up '
688     update 1000
689 }
690
691
692 # debugging widgets 
693
694 Widget BarTest {
695     class 'Bar'
696     # test::bar(barno,maxval,startval,delta) - move a test value between 0 and max.
697     # delta= step to change value by each time it's read.
698     # barno - ten different test bar values can be set up, with barno=0..9
699     # if delta=0, just returns the value of bar n instead of changing it.
700     expression test::bar(0,30,25,1)
701     expression2 test::bar(1,30,0,1)
702     length 8
703     # max 50
704     direction 'E'
705     update 10
706 }
707
708 Widget BarTestVal {
709     class 'Text'
710     expression test::bar(0,100,50,0)
711     prefix 'Test '
712     width 9
713     update 200
714 }
715
716 Widget LightningTest {
717     class 'icon'
718     speed 500
719     visible test::onoff(0)
720     bitmap {
721         row1 '...***'
722         row2 '..***.'
723         row3 '.***..'
724         row4 '.****.'
725         row5 '..**..'
726         row6 '.**...'
727         row7 '**....'
728         row8 '*.....'
729     }
730 }
731
732
733 # Icons
734
735 Widget Heartbeat {
736     class 'Icon'
737     speed 800
738     Bitmap {
739         Row1 '.....|.....'
740         Row2 '.*.*.|.*.*.'
741         Row3 '*****|*.*.*'
742         Row4 '*****|*...*'
743         Row5 '.***.|.*.*.'
744         Row6 '.***.|.*.*.'
745         Row7 '..*..|..*..'
746         Row8 '.....|.....'
747     }
748 }
749
750 Widget EKG {
751     class 'Icon'
752     speed 50
753     Bitmap {
754         Row1 '.....|.....|.....|.....|.....|.....|.....|.....'
755         Row2 '.....|....*|...*.|..*..|.*...|*....|.....|.....'
756         Row3 '.....|....*|...*.|..*..|.*...|*....|.....|.....'
757         Row4 '.....|....*|...**|..**.|.**..|**...|*....|.....'
758         Row5 '.....|....*|...**|..**.|.**..|**...|*....|.....'
759         Row6 '.....|....*|...*.|..*.*|.*.*.|*.*..|.*...|*....'
760         Row7 '*****|*****|****.|***..|**..*|*..**|..***|.****'
761         Row8 '.....|.....|.....|.....|.....|.....|.....|.....'
762     }
763 }
764 Widget Karo {
765     class 'Icon'
766     speed 200
767     Bitmap {
768         Row1 '.....|.....|.....|.....|..*..|.....|.....|.....'
769         Row2 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....'
770         Row3 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....'
771         Row4 '.....|..*..|.*.*.|*...*|.....|*...*|.*.*.|..*..'
772         Row5 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....'
773         Row6 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....'
774         Row7 '.....|.....|.....|.....|..*..|.....|.....|.....'
775         Row8 '.....|.....|.....|.....|.....|.....|.....|.....'
776     }
777 }
778 Widget Heart {
779     class 'Icon'
780     speed 250
781     Bitmap {
782         Row1 '.....|.....|.....|.....|.....|.....'
783         Row2 '.*.*.|.....|.*.*.|.....|.....|.....'
784         Row3 '*****|.*.*.|*****|.*.*.|.*.*.|.*.*.'
785         Row4 '*****|.***.|*****|.***.|.***.|.***.'
786         Row5 '.***.|.***.|.***.|.***.|.***.|.***.'
787         Row6 '.***.|..*..|.***.|..*..|..*..|..*..'
788         Row7 '..*..|.....|..*..|.....|.....|.....'
789         Row8 '.....|.....|.....|.....|.....|.....'
790     }
791 }
792 Widget Blob {
793     class 'Icon'
794     speed 250
795     Bitmap {
796         Row1 '.....|.....|.....'
797         Row2 '.....|.....|.***.'
798         Row3 '.....|.***.|*...*'
799         Row4 '..*..|.*.*.|*...*'
800         Row5 '.....|.***.|*...*'
801         Row6 '.....|.....|.***.'
802         Row7 '.....|.....|.....'
803         Row8 '.....|.....|.....'
804     }
805 }
806 Widget Wave {
807     class 'Icon'
808     speed 100
809     Bitmap {
810         Row1 '..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**'
811         Row2 '.*..*|*..*.|..*..|.*...|*....|.....|.....|....*|...*.|..*..'
812         Row3 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
813         Row4 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
814         Row5 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
815         Row6 '.....|.....|....*|...*.|..*..|.*..*|*..*.|..*..|.*...|*....'
816         Row7 '.....|.....|.....|....*|...**|..**.|.**..|**...|*....|.....'
817         Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....'
818     }
819 }
820 Widget Squirrel {
821     class 'Icon'
822     speed 100
823     Bitmap {
824         Row1 '.....|.....|.....|.....|.....|.....'
825         Row2 '.....|.....|.....|.....|.....|.....'
826         Row3 '.....|.....|.....|.....|.....|.....'
827         Row4 '**...|.**..|..**.|...**|....*|.....'
828         Row5 '*****|*****|*****|*****|*****|*****'
829         Row6 '...**|..**.|.**..|**...|*....|.....'
830         Row7 '.....|.....|.....|.....|.....|.....'
831         Row8 '.....|.....|.....|.....|.....|.....'
832     }
833 }
834
835 Widget Lightning {
836     class 'icon'
837     speed 100
838     visible cpu('busy', 500)-50
839     bitmap {
840         row1 '...***'
841         row2 '..***.'
842         row3 '.***..'
843         row4 '.****.'
844         row5 '..**..'
845         row6 '.**...'
846         row7 '**....'
847         row8 '*.....'
848     }
849 }
850
851 Widget Rain {
852     class 'icon'
853     speed 200
854     bitmap {
855         row1 '...*.|.....|.....|.*...|....*|..*..|.....|*....'
856         row2 '*....|...*.|.....|.....|.*...|....*|..*..|.....'
857         row3 '.....|*....|...*.|.....|.....|.*...|....*|..*..'
858         row4 '..*..|.....|*....|...*.|.....|.....|.*...|....*'
859         row5 '....*|..*..|.....|*....|...*.|.....|.....|.*...'
860         row6 '.*...|....*|..*..|.....|*....|...*.|.....|.....'
861         row7 '.....|.*...|....*|..*..|.....|*....|...*.|.....'
862         row8 '.....|.....|.*...|....*|..*..|.....|*....|...*.'
863     }
864 }
865
866 Widget Timer {
867     class 'Icon'
868     speed 50
869     Bitmap {
870         Row1 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
871         Row2 '.***.|.*+*.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|'
872         Row3 '*****|**+**|**++*|**+++|**++.|**++.|**+++|**+++|**+++|**+++|**+++|+++++|+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|'
873         Row4 '*****|**+**|**+**|**+**|**+++|**+++|**+++|**+++|**+++|**+++|+++++|+++++|+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|'
874         Row5 '*****|*****|*****|*****|*****|***++|***++|**+++|*++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|'
875         Row6 '.***.|.***.|.***.|.***.|.***.|.***.|.**+.|.*++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|'
876         Row7 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
877         Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
878
879
880     }
881 }
882
883 Widget Test {
884     class 'Text'
885     expression '1234567890123456789012345678901234567890'
886     width 40
887     foreground 'ff0000ff'
888 }
889
890 Widget Test1 {
891     class 'Text'
892     expression 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
893     width 40
894     align 'M'
895     speed 100
896 }
897
898 Widget Test2 {
899     class 'Text'
900     expression '1234567890abcdefghijklmnopqrstuvwxyz'
901     width 40
902     align 'M'
903     speed 150
904 }
905
906 Widget GPO_Val1 {
907     class 'Text'
908     expression LCD::GPO(1)
909     prefix 'GPO#1'
910     width 10
911     precision 0
912     align 'R'
913     update tick
914 }
915
916 Widget GPI_Val1 {
917     class 'Text'
918     expression LCD::GPI(1)
919     prefix 'GPI#1'
920     width 10
921     precision 0
922     align 'R'
923     update tick
924 }
925
926 Widget GPO_Val4 {
927     class 'Text'
928     expression LCD::GPO(4)
929     prefix 'GPO#4'
930     width 10
931     precision 0
932     align 'R'
933     update tick
934 }
935
936 Widget GPO_Test1 {
937     class 'GPO'
938     expression 255*test::onoff(1)
939     update 300
940 }
941
942 Widget GPO_Test255 {
943     class 'GPO'
944     expression test::bar(0,255, 0, 1)
945     update 100
946 }
947
948 Widget ImageTest {
949     class 'Image'
950     file 'tux.png'
951     update 1000
952     visible 1
953     inverted 0
954 }
955
956 Widget KVV {
957     class 'Text'
958     expression kvv::line(0).' '.kvv::station(0)
959     width 11
960
961     align 'L'
962     update tick
963     Foreground 'ffff00'
964     style 'bold'
965 }
966
967 Widget KVV_TIME {
968     class 'Text'
969     expression kvv::time_str(0)
970     width 2
971
972     align 'R'
973     update tick
974     foreground kvv::time(0) < 2 ? 'FF0000' : ( kvv::time(0) < 5 ? 'FFFF00' : '00FF00' )
975     style 'bold'
976 }
977
978 Layout Default {
979     Row1 {
980         Col1  'OS'
981     }
982     Row2 {
983         Col1  'CPU'
984         Col10 'RAM'
985     }
986     Row3 {
987         Col1  'Busy'
988         Col10 'Rain'
989         Col11 'BusyBar'
990     }
991     Row4 {
992         Col1 'Load'
993         Col11 'LoadBar'
994     }
995     Row5 {
996         Col1  'Disk'
997         Col11 'DiskBar'
998     }
999     Row6 {
1000         Col1  'Eth0'
1001         Col11 'Eth0Bar'
1002     }
1003 }
1004
1005 Layout TestLayer {
1006     Row1 {
1007         Col1  'OS'
1008     }
1009     Row2 {
1010         Col1  'CPU'
1011         Col10 'RAM'
1012     }
1013     Row3 {
1014         Col1  'Busy'
1015         Col10 'Rain'
1016         Col11 'BusyBar'
1017     }
1018     Row4 {
1019         Col1 'Load'
1020         Col11 'LoadBar'
1021     }
1022     Row5 {
1023         Col1  'Disk'
1024         Col11 'DiskBar'
1025     }
1026     Row6 {
1027         Col1  'Eth0'
1028         Col11 'Eth0Bar'
1029     }
1030     Layer 2 {
1031         X1.Y1 'ImageTest'
1032     }
1033 }
1034
1035 Layout TestImage {
1036     Layer 2 {
1037         X1.Y1 'ImageTest'
1038     }
1039 }
1040
1041 Layout L24x8 {
1042     Row1 {
1043         Col1  'Load'
1044         Col11 'BusyBar'
1045     }
1046     Row2 {
1047     }
1048 }
1049
1050 Layout L8x2 {
1051     Row1 {
1052         Col1  'Busy'
1053     }
1054     Row2 {
1055         Col1 'BarTest'
1056     }
1057 }
1058
1059 Layout L16x1 {
1060     Row1 {
1061         Col1  'Busy'
1062         Col11 'BusyBar'
1063     }
1064 }
1065
1066 Layout L16x2 {
1067     Row1 {
1068         Col1  'Busy'
1069         Col11 'BusyBar'
1070     }
1071     Row2 {
1072         Col1  'Disk'
1073         #Col11 'DiskBar'
1074         Col11 'BarTest'
1075     }
1076 }
1077
1078 Layout L20x2 {
1079     Row1 {
1080         Col1  'CPUinfo'
1081     }
1082     Row2 {
1083         Col1  'Busy'
1084         Col11 'BusyBar'
1085     }
1086 }
1087
1088 Layout L40x2 {
1089     Row1 {
1090         Col1  'OS'
1091         Col21  'Busy'
1092         Col31 'BusyBar'
1093     }
1094     Row2 {
1095         Col1  'CPU'
1096         Col10 'RAM'
1097         Col21 'Load'
1098         Col31 'LoadBar'
1099     }
1100 }
1101
1102 Layout Test {
1103     Row01.Col1 'Test1'
1104     Row02.Col1 'Test1'
1105     Row03.Col1 'Test1'
1106     Row04.Col1 'Test1'
1107     Row05.Col1 'Test1'
1108     Row06.Col1 'Test1'
1109     Row07.Col1 'Test1'
1110     Row08.Col1 'Test1'
1111     Row09.Col1 'Test1'
1112     Row10.Col1 'Test1'
1113     Row11.Col1 'Test1'
1114     Row12.Col1 'Test1'
1115     Row13.Col1 'Test1'
1116     Row14.Col1 'Test1'
1117     Row15.Col1 'Test1'
1118     Row16.Col1 'Test1'
1119     Row17.Col1 'Test1'
1120     Row18.Col1 'Test1'
1121     Row19.Col1 'Test1'
1122     Row20.Col1 'Test1'
1123     Row21.Col1 'Test1'
1124     Row22.Col1 'Test1'
1125     Row23.Col1 'Test1'
1126     Row24.Col1 'Test1'
1127 }
1128
1129 Layout Test2 {
1130     Row01.Col1 'Test1'
1131     #Row02.Col1 'Rain'
1132     Row02.Col1 'Test2'
1133     Row03.Col1 'Test1'
1134     Row04.Col1 'Test2'
1135     Row05.Col1 'Test1'
1136     Row06.Col1 'Test2'
1137     Row07.Col1 'Test1'
1138     Row08.Col1 'Test2'
1139 }
1140
1141 Layout TestGPO {
1142     Row1.Col1  'GPO_Val1'
1143     Row1.Col10 'GPI_Val1'
1144     Row2.Col1  'GPO_Val4'
1145     GPO1       'GPO_Test255'
1146     GPO4       'GPO_Test1'
1147 }
1148
1149 Layout TestIcons {
1150     Row1.Col1 'Timer'
1151     Row1.Col2 'Rain'
1152     Row1.Col3 'Squirrel'
1153     Row1.Col4 'Wave'
1154     Row1.Col5 'Blob'
1155     Row1.Col6 'Heart'
1156     Row1.Col7 'Karo'
1157     Row1.Col8 'EKG'
1158 }
1159
1160 Layout testMySQL {
1161         Row1 {
1162                 Col1 'MySQLtest1'
1163         }
1164         Row2 {
1165                 Col1 'MySQLtest2'
1166         }
1167 }
1168
1169 Layout Debug {
1170     #Row09.Col1 'Test'
1171     Row09.Col1 'Heartbeat'
1172 }
1173
1174
1175
1176 #Display 'SerDispLib'
1177 #Display 'LCD-Linux'
1178 #Display 'LCD2041'
1179 #Display 'LK202'
1180 #Display 'LK204'
1181 #Display 'MI240'
1182 #Display 'CW12232'
1183 #Display 'HD44780-generic'
1184 #Display 'HD44780-WinAmp'
1185 #Display 'HD44780-4bit'
1186 #Display 'WDC2704M'
1187 #Display 'SC1602D'
1188 #Display 'LCM-162'
1189 #Display 'CF631'
1190 #Display 'CF632'
1191 #Display 'CF633'
1192 #Display 'Curses'
1193 #Display 'M50530-24x8'
1194 #Display 'LCDTerm'
1195 #Display 'SimpleLCD'
1196 #Display 'BA63'
1197 #Display 'CT20x4'
1198 #Display 'T6963-240x64'
1199 #Display 'T6963-240x128'
1200 #Display 'T6963-240x128D'
1201 #Display 'XWindow'
1202 #Display 'USBLCD'
1203 #Display 'BWCT'
1204 #Display 'Image'
1205 #Display 'Trefon'
1206 #Display 'LCD2USB'
1207 #Display 'LPH7508-serdisplib'
1208 #Display 'LPH7508'
1209 #Display 'ctinclud'
1210 Display 'picoLCD'
1211
1212 #Layout 'Default'
1213 #Layout 'TestLayer'
1214 #Layout 'TestImage'
1215 #Layout 'L8x2'
1216 #Layout 'L16x1'
1217 #Layout 'L16x2'
1218 Layout 'L20x2'
1219 #Layout 'L40x2'
1220 #Layout 'Test'
1221 #Layout 'Test2'
1222 #Layout 'TestGPO'
1223 #Layout 'Debug'
1224 #Layout 'TestIcons'