mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-26 20:38:20 +00:00
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
This commit is contained in:
1 parent
cc1700958b
commit
1ba9c1837d
4 files changed
+1
-38
No files matched your search
@@ -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 (<STDIN>) {
|
||||
# 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; }
|
||||
}
|
||||
Reference in new issue
Block a user