From 85b969a8a7fd45806c9ed5eafdcaebd64cafeb08 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Thu, 6 Jan 2005 16:54:54 +0000 Subject: [lcd4linux @ 2005-01-06 16:54:53 by reinelt] M50530 fixes --- lcd4linux.conf.sample | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lcd4linux.conf.sample') diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample index 09ea972..567cf92 100644 --- a/lcd4linux.conf.sample +++ b/lcd4linux.conf.sample @@ -126,7 +126,7 @@ Display HD44780-I2C { Display M50530-24x8 { Driver 'M50530' - Port '/dev/parports/0' + Port '/dev/parport0' # Port '0x378' Size '24x8' Wire.EX 'STROBE' @@ -301,7 +301,7 @@ Widget Disk { # expression (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2 # with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat # therefore you have to use another function called 'diskstats': - expression diskstats('.*', 'read_sectors', 500) + diskstats('.*', 'write_sectors', 500) + expression diskstats('hd.', 'read_sectors', 500) + diskstats('hd.', 'write_sectors', 500) prefix 'disk' postfix ' ' width 10 @@ -315,8 +315,8 @@ Widget DiskBar { #expression proc_stat::disk('.*', 'rblk', 500) #expression2 proc_stat::disk('.*', 'wblk', 500) # for kernel 2.6: - expression diskstats('.*', 'read_sectors', 500) - expression2 diskstats('.*', 'write_sectors', 500) + expression diskstats('hd.', 'read_sectors', 500) + expression2 diskstats('hd.', 'write_sectors', 500) length 14 direction 'E' update tack @@ -687,10 +687,10 @@ Layout testMySQL { #Display 'SC1602D' #Display 'LCM-162' #Display 'CF631' -Display 'CF632' +#Display 'CF632' #Display 'CF633' #Display 'Curses' -#Display 'M50530-24x8' +Display 'M50530-24x8' #Display 'CT20x4' #Display 'T6963-240x64' #Display 'XWindow' -- cgit v1.2.3