From 1ba9c1837dbd0683bcb8ad4e482d1bb605189cf4 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 30 Jun 2007 13:40:40 +0000 Subject: [PATCH] Delete the matorb support script. The matorb driver was never ported to Linux 2.6, and has nothing to do with sensors anyway. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4526 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + doc/chips/SUMMARY | 3 --- doc/progs | 3 --- prog/matorb/displayit.pl | 32 -------------------------------- 4 files changed, 1 insertion(+), 38 deletions(-) delete mode 100755 prog/matorb/displayit.pl diff --git a/CHANGES b/CHANGES index c69e30a6..e54c9796 100644 --- a/CHANGES +++ b/CHANGES @@ -21,6 +21,7 @@ SVN HEAD Program i2cdump: Use the new I2C block read function Program isadump: Detect when address bit 7 is a busy flag Fix Super-I/O exit sequence for Winbond/Fintek chips + Program matorb/displayit: Delete, obsolete Program mkpatch: Delete Program fancontrol: Use let for arithmetic evaluation No longer need awk and grep diff --git a/doc/chips/SUMMARY b/doc/chips/SUMMARY index ca5afe4e..dabf5380 100644 --- a/doc/chips/SUMMARY +++ b/doc/chips/SUMMARY @@ -288,9 +288,6 @@ eeprom ltc1710 ltc1710 two switches only -matorb - Matrix Orbital LCD displays - pca9540 2-channel I2C multiplexer diff --git a/doc/progs b/doc/progs index a583dca9..70969930 100644 --- a/doc/progs +++ b/doc/progs @@ -40,9 +40,6 @@ see useful_addresses.html. A SysV init script to be installed in /etc/rc.d/init.d/ It inserts the bus and chip modules and starts the sensord daemon. -* prog/matorb/displayit.pl (written in Perl, not installed) - A simple Perl script to display a 'screen' on a Matrix Orbital Display. - * prog/maxilife/sysinfo.sh (written in shell, not installed) Write system information to the HP Maxilife LCD display using writelcd.sh. diff --git a/prog/matorb/displayit.pl b/prog/matorb/displayit.pl deleted file mode 100755 index 0af5ce48..00000000 --- a/prog/matorb/displayit.pl +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl - -# This is a simple perl script to display a 'screen' -# on a Matrix Orbital Display. In this case, this -# script will read the first four lines (up to 20 -# chars a line) and display them on the display. - -# Written and copywritten (C) by Philip Edelbrock, 1999. - - -# Turn off the blinking cursor -$temp=`echo "254 84" > /proc/sys/dev/sensors/matorb*/disp`; - -$linenum=1; - -while () { - # Reset the position of the cursor to the next line - $temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`; - chop; - $_="$_ "; - if (/^(.{1,20})/) { - $_=$1; - $line=""; - while (/(.)/gc) { - $temp=ord($1); - $line="$line $temp"; - } - $temp=`echo "$line" > /proc/sys/dev/sensors/matorb*/disp`; - } - $linenum+=1; - if ($linenum > 4) { exit; } -}