1
# $Id: lcd4linux.conf.sample 1133 2010-11-19 09:02:34Z harbaum $
2
# $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux.conf.sample $
16
UInput '/dev/input/uinput'
23
Port 'PAR:/dev/parports/0'
71
Driver 'MatrixOrbital'
79
Driver 'MatrixOrbital'
87
Driver 'MatrixOrbital'
97
Driver 'MilfordInstruments'
107
Port '/dev/usb/tts/0'
115
Driver 'Crystalfontz'
125
Driver 'Crystalfontz'
134
Driver 'Crystalfontz'
144
Driver 'Crystalfontz'
157
# generic HD44780 display (LCD4Linux wiring)
158
Display HD44780-generic {
161
Port '/dev/parports/0'
175
# generic HD44780 display (WinAmp wiring)
176
Display HD44780-winamp {
180
Port '/dev/parports/0'
192
# fuzz timings by value (100 = no change)
194
# low-level communication [ns]
195
CY 1000 # Enable cycle time
196
PW 450 # Enable pulse width
197
AS 140 # Address setup time
198
AH 20 # Address hold time
199
# HD44780 execution timings [us]
200
INIT1 4100 # first init sequence: 4.1 msec
201
INIT2 100 # second init sequence: 100 usec
202
EXEC 80 # normal execution time
203
WRCG 120 # CG RAM Write
204
CLEAR 2250 # Clear Display
205
HOME 2250 # Return Cursor Home
206
ONOFF 2250 # Display On/Off Control
208
GPO_ST 20 # 74HCT573 set-up time
209
GPO_PW 230 # 74HCT573 enable pulse width
210
# Power supply timing [ms]
211
POWER 500 # power-on delay
215
# HD44780 display 4-Bit mode
216
Display HD44780-4bit {
219
Port '/dev/parports/0'
232
# Dual-HD44780 display from Pollin
238
Port '/dev/parports/0'
250
# HD44780 display from www.kernelconcepts.de
251
Display HD44780-kernelconcepts {
255
Port '/dev/parports/0'
275
Display picoLCDGraphic {
276
Driver 'picoLCDGraphic'
284
Port '/dev/parports/0'
303
Port '/dev/parports/0'
311
Display HD44780-I2C {
352
Bootscreen '123456789012345678901234ABCDEFGHIJKLMNOPQRSTUVWX'
356
Driver 'WincorNixdorf'
359
# Port '/dev/tts/USB0'
365
Display M50530-24x8 {
367
Port '/dev/parports/0'
383
Driver 'Beckmann+Egle'
419
Display T6963-240x64 {
421
Port '/dev/parports/0'
433
Display T6963-240x128 {
435
Port '/dev/parports/0'
447
Display T6963-240x128D {
449
Port '/dev/parports/0'
464
Port '/dev/parports/0'
470
Display LPH7508-serdisplib {
472
Port 'PAR:/dev/parports/0'
498
Foreground '000000cc'
499
Background '00000022'
513
# Foreground '#000000'
514
# Background '#80d000'
515
# Halfground '#70c000'
516
Foreground '000000cc'
517
Background '00000022'
535
# Password 'password'
537
# HttpDir '/path/to/classfiles'
549
Directory '/root/setiathome-3.08.i686-pc-linux-gnu'
554
server 'gsmlandia.com' # if none, localhost assumed
555
port 3306 # if none, MySQL default assumed
556
user 'lcd4linux' # if none, lcd4linux unix owner assumed
557
password 'lcd4linux' # if none, empty password assumed
558
database 'lcd4linux' # MUST be specified
570
# signal 0 is displayed IM msg
572
signal0sender 'im.pidgin.purple.PurpleService' # should be in the form com.domain.app.service,
573
# the :1.23 form given by dbus-monitor will NOT work,
575
signal0path '/im/pidgin/purple/PurpleObject' # find using dbus-monitor
576
signal0interface 'im.pidgin.purple.PurpleInterface' # find using dbus-monitor
577
signal0member 'DisplayedImMsg' # find using dbus-monitor
578
signal0eventname 'got_im' # make something up, all Text widgets with an
579
# event option matching this will be updated
583
#this example prints the second argument of signal# 0
584
#(in this case it prints the message displayed)
587
expression dbus::argument(0, 1) . ': ' . dbus::argument(0, 2))
596
expression '*** '.uname('sysname').' '.uname('release').' ***'
606
expression uname('machine')
610
style test::onoff(7)>0?'bold':'norm'
617
expression cpuinfo('model name')
628
expression meminfo('MemTotal')/1024
638
expression proc_stat::cpu('busy', 500)
649
expression proc_stat::cpu('busy', 500)
650
expression2 proc_stat::cpu('system', 500)
658
expression loadavg(1)
660
postfix loadavg(1)>1.0?'!':' '
669
expression loadavg(1)
679
# disk.[rw]blk return blocks, we assume a blocksize of 512
680
# to get the number in kB/s we would do blk*512/1024, which is blk/2
681
# expression (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2
682
# with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat
683
# therefore you have to use another function called 'diskstats':
684
expression diskstats('hd.', 'read_sectors', 500) + diskstats('hd.', 'write_sectors', 500)
695
#expression proc_stat::disk('.*', 'rblk', 500)
696
#expression2 proc_stat::disk('.*', 'wblk', 500)
698
expression diskstats('hd.', 'read_sectors', 500)
699
expression2 diskstats('hd.', 'write_sectors', 500)
707
expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024
718
expression netdev('eth0', 'Rx_bytes', 500)
719
expression2 netdev('eth0', 'Tx_bytes', 500)
727
expression (ppp('Rx:0', 500)+ppp('Tx:0', 500))
737
expression i2c_sensors('temp_input3')*1.0324-67
747
expression i2c_sensors('temp_input3')*1.0324-67
757
expression MySQL::query('SELECT id FROM table1')
766
expression MySQL::status()
775
expression uptime('%d days %H:%M:%S')
782
Widget mpris_TrackPosition_bar {
784
expression mpris_dbus::method_PositionGet('org.kde.amarok')
797
# test::bar(barno,maxval,startval,delta) - move a test value between 0 and max.
798
# delta= step to change value by each time it's read.
799
# barno - ten different test bar values can be set up, with barno=0..9
800
# if delta=0, just returns the value of bar n instead of changing it.
801
expression test::bar(0,30,25,1)
802
expression2 test::bar(1,30,0,1)
811
expression test::bar(0,100,50,0)
817
Widget LightningTest {
820
visible test::onoff(0)
855
Row1 '.....|.....|.....|.....|.....|.....|.....|.....'
856
Row2 '.....|....*|...*.|..*..|.*...|*....|.....|.....'
857
Row3 '.....|....*|...*.|..*..|.*...|*....|.....|.....'
858
Row4 '.....|....*|...**|..**.|.**..|**...|*....|.....'
859
Row5 '.....|....*|...**|..**.|.**..|**...|*....|.....'
860
Row6 '.....|....*|...*.|..*.*|.*.*.|*.*..|.*...|*....'
861
Row7 '*****|*****|****.|***..|**..*|*..**|..***|.****'
862
Row8 '.....|.....|.....|.....|.....|.....|.....|.....'
869
Row1 '.....|.....|.....|.....|..*..|.....|.....|.....'
870
Row2 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....'
871
Row3 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....'
872
Row4 '.....|..*..|.*.*.|*...*|.....|*...*|.*.*.|..*..'
873
Row5 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....'
874
Row6 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....'
875
Row7 '.....|.....|.....|.....|..*..|.....|.....|.....'
876
Row8 '.....|.....|.....|.....|.....|.....|.....|.....'
883
Row1 '.....|.....|.....|.....|.....|.....'
884
Row2 '.*.*.|.....|.*.*.|.....|.....|.....'
885
Row3 '*****|.*.*.|*****|.*.*.|.*.*.|.*.*.'
886
Row4 '*****|.***.|*****|.***.|.***.|.***.'
887
Row5 '.***.|.***.|.***.|.***.|.***.|.***.'
888
Row6 '.***.|..*..|.***.|..*..|..*..|..*..'
889
Row7 '..*..|.....|..*..|.....|.....|.....'
890
Row8 '.....|.....|.....|.....|.....|.....'
897
Row1 '.....|.....|.....'
898
Row2 '.....|.....|.***.'
899
Row3 '.....|.***.|*...*'
900
Row4 '..*..|.*.*.|*...*'
901
Row5 '.....|.***.|*...*'
902
Row6 '.....|.....|.***.'
903
Row7 '.....|.....|.....'
904
Row8 '.....|.....|.....'
911
Row1 '..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**'
912
Row2 '.*..*|*..*.|..*..|.*...|*....|.....|.....|....*|...*.|..*..'
913
Row3 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
914
Row4 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
915
Row5 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...'
916
Row6 '.....|.....|....*|...*.|..*..|.*..*|*..*.|..*..|.*...|*....'
917
Row7 '.....|.....|.....|....*|...**|..**.|.**..|**...|*....|.....'
918
Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....'
925
Row1 '.....|.....|.....|.....|.....|.....'
926
Row2 '.....|.....|.....|.....|.....|.....'
927
Row3 '.....|.....|.....|.....|.....|.....'
928
Row4 '**...|.**..|..**.|...**|....*|.....'
929
Row5 '*****|*****|*****|*****|*****|*****'
930
Row6 '...**|..**.|.**..|**...|*....|.....'
931
Row7 '.....|.....|.....|.....|.....|.....'
932
Row8 '.....|.....|.....|.....|.....|.....'
939
visible cpu('busy', 500)-50
956
row1 '...*.|.....|.....|.*...|....*|..*..|.....|*....'
957
row2 '*....|...*.|.....|.....|.*...|....*|..*..|.....'
958
row3 '.....|*....|...*.|.....|.....|.*...|....*|..*..'
959
row4 '..*..|.....|*....|...*.|.....|.....|.*...|....*'
960
row5 '....*|..*..|.....|*....|...*.|.....|.....|.*...'
961
row6 '.*...|....*|..*..|.....|*....|...*.|.....|.....'
962
row7 '.....|.*...|....*|..*..|.....|*....|...*.|.....'
963
row8 '.....|.....|.*...|....*|..*..|.....|*....|...*.'
971
Row1 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
972
Row2 '.***.|.*+*.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|'
973
Row3 '*****|**+**|**++*|**+++|**++.|**++.|**+++|**+++|**+++|**+++|**+++|+++++|+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|'
974
Row4 '*****|**+**|**+**|**+**|**+++|**+++|**+++|**+++|**+++|**+++|+++++|+++++|+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|'
975
Row5 '*****|*****|*****|*****|*****|***++|***++|**+++|*++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|'
976
Row6 '.***.|.***.|.***.|.***.|.***.|.***.|.**+.|.*++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|'
977
Row7 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
978
Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|'
986
expression '1234567890123456789012345678901234567890'
988
foreground 'ff0000ff'
993
expression 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
1001
expression '1234567890abcdefghijklmnopqrstuvwxyz'
1009
expression LCD::GPO(1)
1019
expression LCD::GPI(1)
1029
expression LCD::GPO(4)
1039
expression 255*test::onoff(1)
1043
Widget GPO_Test255 {
1045
expression test::bar(0,255, 0, 1)
1059
expression kvv::line(0).' '.kvv::station(0)
1070
expression kvv::time_str(0)
1075
foreground kvv::time(0) < 2 ? 'FF0000' : ( kvv::time(0) < 5 ? 'FFFF00' : '00FF00' )
1243
Row1.Col1 'GPO_Val1'
1244
Row1.Col10 'GPI_Val1'
1245
Row2.Col1 'GPO_Val4'
1253
Row1.Col3 'Squirrel'
1272
Row09.Col1 'Heartbeat'
1277
#Display 'SerDispLib'
1278
#Display 'LCD-Linux'
1284
#Display 'HD44780-generic'
1285
#Display 'HD44780-WinAmp'
1286
#Display 'HD44780-4bit'
1294
#Display 'M50530-24x8'
1296
#Display 'SimpleLCD'
1299
#Display 'T6963-240x64'
1300
#Display 'T6963-240x128'
1301
#Display 'T6963-240x128D'
1309
#Display 'LPH7508-serdisplib'