home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / disks / tools / hdoff_1.37a / hdoff.doc < prev    next >
PGP Signed Message  |  1977-12-31  |  10KB  |  252 lines

  1. -----BEGIN PGP SIGNED MESSAGE-----
  2.  
  3.  
  4. NAME
  5.         HDOff -- a program for the A600/A1200 and A4000 to stop the HD
  6.         motor.
  7.  
  8. SYNOPSIS
  9.         HDOff T=TIME/N,T2=TIME2/N,FORCE/S,OTHER/S,OTHER2/S,NOW/S,NOW2/S,
  10.         SET1200/S,SET4000/S,UPDATE/S,QUIET/S,STOP/S,STOP2/S
  11.  
  12. DESCRIPTION
  13.         HDOff  is  a program like NoiseSaver for the A1200 and A4000.  It stops
  14.         the HD motor x minutes after the last access.
  15.  
  16.         TIME, TIME2 :
  17.                 Time in minutes after the 1st/2nd HD will shut down.
  18.  
  19.         FORCE : 
  20.                 Forces  HDOff  to  quit.  Normaly HDOff doesn`t quit if another
  21.                 programm  (like  cachesoftware  ) patched the scsi.device after
  22.                 HDOff  did.   But if you are using SetFuncManager (or something
  23.                 similar), HDOff can nevertheless quit without danger.  ONLY USE
  24.                 THIS  OPTION  IF  YOU ARE USING SETFUNCMANAGER OR SOMTHING LIKE
  25.                 IT!
  26.  
  27.         OTHER, OTHER2 :
  28.                 This  option  makes  HDOff  to  use an alternative command ($94
  29.                 instead  of  $E0)  to  stop the HD`s motor.  If your HD doesn`t
  30.                 spin  down,  try  this  option.   Some drives, especially older
  31.                 ones,  don`t  support  the  `STANDBY`  (all newer drives should
  32.                 support  it,  at  least  the "green-PC" drives supporting power
  33.                 management).
  34.  
  35.         NOW, NOW2 :
  36.                 The  selected HD spins down immediately on startup, the program
  37.                 just does it`s normal job (usefull for seldom used HD`s).
  38.  
  39.         SET1200, SET4000:
  40.                 With  some odd HD`s, HDOff isn`t able to detect wich controller
  41.                 is  present  in  your  Amiga  (this happens, too, if you have a
  42.                 CD-Rom  connected  but no CD inserted).  If you start HDOff and
  43.                 get  a  "Incorrect  HD  controller!"  message, but are actually
  44.                 using  an  A600/A1200/A4000,  use  the  option  SET1200  for an
  45.                 A600/A1200 or SET4000 for an A4000.
  46.  
  47.         UPDATE:
  48.                 With this option you can adjust the shutdowntime online.
  49.  
  50.         QUIET:
  51.                 Using  this  option  HDOff won`t print anything out (similar to
  52.                 >NIL:).  Usefull e.g.  if you start it in the user-startup.
  53.  
  54.         STOP, STOP2:
  55.                 HDOff  will  just stop the 1st (STOP) or 2nd (STOP2) harddrive,
  56.                 but HDOff won`t be installed.
  57.  
  58. NOTE
  59.         Be shure not to set the "time" value too low (maximum are 65535 minutes
  60.         :)  as permanently spinning the drive up and down does shorten the life
  61.         expectancy of the drive (60 minutes is a good choice).
  62.  
  63.         You don`t need to start HDOff with run.
  64.  
  65.         To quit HDOff, simply restart it.
  66.  
  67.         If   a   requester   with   the   message  "Someone  else  has  patched
  68.         scsi.device!..."  pops  up,  someone  else (e.g.  caching software) has
  69.         latched  into  the  scsi.device.   For security reasons HDOff cannot be
  70.         terminated this time.
  71.  
  72.         This  program is 100% written in assembler (DevPac 3.14) and (as far as
  73.         its possible) systemconform.
  74.  
  75. EXAMPLES
  76.         1. HDOff 30
  77.         Stops the motor of the 1st HD 30 minutes after the last access.
  78.  
  79.         2. HDOff 30 15 OTHER2
  80.         Stops  the  motor  of the 1st HD 30 minutes, the motor of the 2nd HD 15
  81.         minutes  after the last access.  For the 2nd HD the alternative command
  82.         will be used to stop the motor
  83.  
  84.         3. HDOff T2=20
  85.         Stops the motor of the 2nd HD 30 minutes after the last access.
  86.  
  87.         4. HDOff 30 15 NOW2
  88.         Stops  the  motor  of  the  1st  HD 30 minutes, the motor of the 2nd HD
  89.         immediately.  If the 2nd HD was accessed and so spins up, the next spin
  90.         down will again happen after 15 mins.
  91.  
  92.         5. HDOff 50 10 UDPATE
  93.         If  you  already  started  HDOff,  the  timeout`s  for the HD`s will be
  94.         changed to the new values.
  95.  
  96.         6. HDOff STOP QUIET
  97.         This  will  just  and  only  stop  the 1st drive, there will not be any
  98.         timeout!  Additionally there will be no output.
  99.  
  100. TECHNICAL
  101.         How does it work? The essential things are:
  102.  
  103.         1. Test if ide controller is present (if not: quit)
  104.  
  105.         2.   Patch  scsi.device  (using  SetFunction,  of  course).   The patch
  106.         signals HD accesses to the main task.
  107.  
  108.         3.  Count the timer down and reinitialize it if a signal from the patch
  109.         occures.
  110.  
  111.         4.   If  timer  reaches 0:  Signal the patch to delay all commands (for
  112.         both  drives)  till  the  signal  is  retracted.  Security delay 1 sec.
  113.         Forbid(),     Wait_IDE_unbusy,     select     drive     (master/slave),
  114.         Wait_IDE_unbusy,  spin  down  HD, Permit().  Retract the signal for the
  115.         patch for the HD that was not stopped, for the other one after a 5 secs
  116.         security delay (spin up is done by the HD itself).
  117.  
  118.     5. Check, if there are any messages and process them.
  119.  
  120.         6.  Repeat step 3-4 until abort.
  121.  
  122.         For   more   information   about   the   messageport  have  a  look  in
  123.         Developers.doc!
  124.  
  125. DISCLAIMER & COPYRIGHT
  126.         This  software  is subject to the "Standard Amiga FD-Software Copyright
  127.         Note"  It is Freeware as defined in paragraph 4a.  For more information
  128.         please read "AFD-COPYRIGHT" (Version 1 or higher).
  129.  
  130. AUTHOR
  131.         Gideon Zenz
  132.         Giersbergstr. 41
  133.         53229 Bonn
  134.         GERMANY
  135.  
  136.         EMail: gzenz@ernie.mi.uni-koeln.de
  137.  
  138.         News about HDOff at: http://ernie.mi.uni-koeln.de/~gzenz/hdoff.html
  139.  
  140.         -Gideon Zenz, 17-Oct-96
  141.  
  142. BUGS
  143.         Non known.
  144.  
  145. FUTURE
  146.         I  have  now a SCSI-only system, but this didn`t prevent me not to do a
  147.         SCSI  version  of  HDOff.  The reasons are that HDOff wasn`t planned to
  148.         support more than 2 drives, and not more then one device, so it will be
  149.         quite difficult to implement.  But we`ll see B-)
  150.  
  151. HISTORY
  152.         v1.0: (08-Mai-94)
  153.          - Initial release
  154.  
  155.         v1.1: (30-Jan-95)
  156.          - Timerloop in minutes and much more precisely
  157.          - No need to start with run any more
  158.          - At all more secure and more systemconform
  159.          - A4000 support
  160.  
  161.         v1.2: (20-Apr-95)
  162.          - docs completely rewritten
  163.          - Support of 2nd HD`s
  164.          - New args OTHER and OTHER2 and NOW and NOW2
  165.  
  166.         v1.33: (7-Jan-96)
  167.          - HDOff crashed if started on heavy diskaccess.
  168.          - new options SET1200 and SET4000
  169.          - Implementation of the onlineport. Have a look in
  170.            Developers.doc for usage.
  171.  
  172.         v1.34: (22-Feb-96)
  173.      - Fixed a bug in the onlineport: PortVer wasn`t set.
  174.          - Added GetStats&Source
  175.          - Completely reworked Developer.doc
  176.          - Now working 100% on A600
  177.          - New arg UPDATE (thx to Ingo Eickelkamp for suggestion)
  178.  
  179.         v1.35: (16-Mar-96)
  180.          - New option QUIET
  181.          - Bugfix in UPDATE, wrong values were taken
  182.          - Now there is again a check if you enter too big values
  183.          - MAJOR bug: HD spun only the 1st time down on a1200 [thx to Oli Lohr]
  184.          - System of timecounting changed, now 100% accurate
  185.          - NOW(2) working again [thx to Oli Lohr]
  186.          - New options STOP(2) [thx to A.BOERNER@bbrandes.berlinet.de]
  187.          - New, bugfixed and improed version of Getstats [Thx Matthias Andree!]
  188.  
  189.         v1.36: (26-Jun-96)
  190.          - Some bugfixes
  191.          - Message port expanded/changed (look at Developers.doc)
  192.          - Everything is now multi threaded, so msg`s etc are immediately
  193.            processed now.
  194.          - Included new, advanced GetStats
  195.  
  196.         v1.37 (1-Sep-96)
  197.          - Fixed Mungwallhit
  198.          - Optimized
  199.          - Msgport updated for GUI by M.Andree (look at Developers.doc)
  200.          - adapted GetStats
  201.  
  202.         v1.37a (11-Oct-96)
  203.          - Fixed a stupid bug: STOP[2] crashed the computer (thx to Oli Lohr!)
  204.  
  205. THANKS
  206.         Many    thanks    to   heureka@bigben.dssd.sub.org   and   M.ZIELINSKI@
  207.         amtrash.comlink.de for their helps on A4000 and 2nd HD support, and all
  208.         other`s  who wrote me!  A special thank must go out to Matthias Andree,
  209.         who had a look at the docs, and who is now doing a nice GUI!
  210.  
  211. SECURITY
  212.         If  you  want  to be shure you have the original programs, check
  213.         with  "md5sum  -c  HDOff.doc".   (md5sum is part of the PGP package)
  214.  
  215. dfdf15f58f042ffa0f018ba8277124f7  AFD-COPYRIGHT
  216. f7da7a8653f2153aea03f73d664f2a40  AFD-COPYRIGHT.de
  217. 5be909723874ce17be7fc3c426025f98  Developers.doc
  218. 732fcce06b2f7c5e3e1abbaf8f9ab2d6 *GetStats
  219. eb56a33c57b9992656dcaf45cf3da761  GetStats.c
  220. 27c228398df1bb6cf938b1d628740861 *HDOff
  221. 6bd641e00809d52d5a78799b0efd51d8  HDOff_1.37a.readme
  222.  
  223. - -----BEGIN PGP PUBLIC KEY BLOCK-----
  224. Version: 2.6.3ia
  225.  
  226. mQCNAi3izr8AAAEEAMi+7o+iKDG26t8EuoX0NJ92iwhkviRC3GdJ1Uvef4+xJA3V
  227. ey20ZnzBg/OokPdo0a3VxhwyjD2auyFmp7DLupQTko7Wx2zLk19EzVBxI6NggUev
  228. ep+eaVvAi8V/YosYh0Xg4/dScOq391irO6k9+BPqkQPH+bRNCUBgnhXGkfElAAUR
  229. tClHaWRlb24gWmVueiA8Z3plbnpARXJuaWUuTUkuVW5pLUtvZWxuLkRFPokBFQMF
  230. EDH2trkAYAKC86RPCQEBgTUH/A8KTc/9NKi/mbzkPGUyywI3krp/HqGDAQVN89QF
  231. ynq5PtTSuKy5Q4DAmJwQ4gna9GJQytme1YbaXKjNNxMi2b33Rhd9aj5HKVHx6bRg
  232. uJ7LpgAotz6FuI6Ny76V1ccwQQnbxroy+EKOR2uOnOh/Gr4NbVz1QTVqksYyp/T5
  233. rwI1esgJlTKxow6Y9BAutyC4M3n9Snc6sViGQwZsH9Xxts9c9meI7LRjleWjSFcl
  234. 7LuZVyf6LFFuzo9jQQTt+Ak69wCeN4Qq5oTzLJQa9KzgQaxj70oP9LyTPBkdYPWH
  235. a+JYPCxgyBojY8igq7PmSRiMnJKhWkQx+uRQbnpuDHPgvgSJAJUDBRAx0dc3QGCe
  236. FcaR8SUBAciDA/4qaRFv5KZGlIbAeGphlR33+aBjMZDf1MlC1QcIk2yPY9tTMIis
  237. z06IckZw7Oq+RVBmJOvOZtJJJuVCuufyHKSg3+HRj6YE4lQ7/ojCU7yPcrdfny4o
  238. LKEpehRB/F89Mzan7cjyLI9qH07I2wq7a9wCwP4BDpa0lxMAQd9Uk+UN6g==
  239. =qm/Q
  240. - -----END PGP PUBLIC KEY BLOCK-----
  241.  
  242. -----BEGIN PGP SIGNATURE-----
  243. Version: 2.6.3ia
  244. Charset: latin1
  245.  
  246. iQCVAwUBMmZrYEBgnhXGkfElAQGZ0QQAgKs113F97rhuUNC4Nb1p08g5XXJdFEXC
  247. Sy3Abq+MXzjJOY+PYtngLjt9CrhXGDOVaU5WeAt5hkmCLCS44L3XTN2P5o7bjuWU
  248. nIq0Ki1QxDhOg140yd7CE9rby5ThSEwMI/NloYutA+q+hSETmLI0fNeRKBwmxxb8
  249. QMa3Td0b5Mo=
  250. =4cy3
  251. -----END PGP SIGNATURE-----
  252.