home *** CD-ROM | disk | FTP | other *** search
- -----BEGIN PGP SIGNED MESSAGE-----
-
-
- NAME
- HDOff -- a program for the A600/A1200 and A4000 to stop the HD
- motor.
-
- SYNOPSIS
- HDOff T=TIME/N,T2=TIME2/N,FORCE/S,OTHER/S,OTHER2/S,NOW/S,NOW2/S,
- SET1200/S,SET4000/S,UPDATE/S,QUIET/S,STOP/S,STOP2/S
-
- DESCRIPTION
- HDOff is a program like NoiseSaver for the A1200 and A4000. It stops
- the HD motor x minutes after the last access.
-
- TIME, TIME2 :
- Time in minutes after the 1st/2nd HD will shut down.
-
- FORCE :
- Forces HDOff to quit. Normaly HDOff doesn`t quit if another
- programm (like cachesoftware ) patched the scsi.device after
- HDOff did. But if you are using SetFuncManager (or something
- similar), HDOff can nevertheless quit without danger. ONLY USE
- THIS OPTION IF YOU ARE USING SETFUNCMANAGER OR SOMTHING LIKE
- IT!
-
- OTHER, OTHER2 :
- This option makes HDOff to use an alternative command ($94
- instead of $E0) to stop the HD`s motor. If your HD doesn`t
- spin down, try this option. Some drives, especially older
- ones, don`t support the `STANDBY` (all newer drives should
- support it, at least the "green-PC" drives supporting power
- management).
-
- NOW, NOW2 :
- The selected HD spins down immediately on startup, the program
- just does it`s normal job (usefull for seldom used HD`s).
-
- SET1200, SET4000:
- With some odd HD`s, HDOff isn`t able to detect wich controller
- is present in your Amiga (this happens, too, if you have a
- CD-Rom connected but no CD inserted). If you start HDOff and
- get a "Incorrect HD controller!" message, but are actually
- using an A600/A1200/A4000, use the option SET1200 for an
- A600/A1200 or SET4000 for an A4000.
-
- UPDATE:
- With this option you can adjust the shutdowntime online.
-
- QUIET:
- Using this option HDOff won`t print anything out (similar to
- >NIL:). Usefull e.g. if you start it in the user-startup.
-
- STOP, STOP2:
- HDOff will just stop the 1st (STOP) or 2nd (STOP2) harddrive,
- but HDOff won`t be installed.
-
- NOTE
- Be shure not to set the "time" value too low (maximum are 65535 minutes
- :) as permanently spinning the drive up and down does shorten the life
- expectancy of the drive (60 minutes is a good choice).
-
- You don`t need to start HDOff with run.
-
- To quit HDOff, simply restart it.
-
- If a requester with the message "Someone else has patched
- scsi.device!..." pops up, someone else (e.g. caching software) has
- latched into the scsi.device. For security reasons HDOff cannot be
- terminated this time.
-
- This program is 100% written in assembler (DevPac 3.14) and (as far as
- its possible) systemconform.
-
- EXAMPLES
- 1. HDOff 30
- Stops the motor of the 1st HD 30 minutes after the last access.
-
- 2. HDOff 30 15 OTHER2
- Stops the motor of the 1st HD 30 minutes, the motor of the 2nd HD 15
- minutes after the last access. For the 2nd HD the alternative command
- will be used to stop the motor
-
- 3. HDOff T2=20
- Stops the motor of the 2nd HD 30 minutes after the last access.
-
- 4. HDOff 30 15 NOW2
- Stops the motor of the 1st HD 30 minutes, the motor of the 2nd HD
- immediately. If the 2nd HD was accessed and so spins up, the next spin
- down will again happen after 15 mins.
-
- 5. HDOff 50 10 UDPATE
- If you already started HDOff, the timeout`s for the HD`s will be
- changed to the new values.
-
- 6. HDOff STOP QUIET
- This will just and only stop the 1st drive, there will not be any
- timeout! Additionally there will be no output.
-
- TECHNICAL
- How does it work? The essential things are:
-
- 1. Test if ide controller is present (if not: quit)
-
- 2. Patch scsi.device (using SetFunction, of course). The patch
- signals HD accesses to the main task.
-
- 3. Count the timer down and reinitialize it if a signal from the patch
- occures.
-
- 4. If timer reaches 0: Signal the patch to delay all commands (for
- both drives) till the signal is retracted. Security delay 1 sec.
- Forbid(), Wait_IDE_unbusy, select drive (master/slave),
- Wait_IDE_unbusy, spin down HD, Permit(). Retract the signal for the
- patch for the HD that was not stopped, for the other one after a 5 secs
- security delay (spin up is done by the HD itself).
-
- 5. Check, if there are any messages and process them.
-
- 6. Repeat step 3-4 until abort.
-
- For more information about the messageport have a look in
- Developers.doc!
-
- DISCLAIMER & COPYRIGHT
- This software is subject to the "Standard Amiga FD-Software Copyright
- Note" It is Freeware as defined in paragraph 4a. For more information
- please read "AFD-COPYRIGHT" (Version 1 or higher).
-
- AUTHOR
- Gideon Zenz
- Giersbergstr. 41
- 53229 Bonn
- GERMANY
-
- EMail: gzenz@ernie.mi.uni-koeln.de
-
- News about HDOff at: http://ernie.mi.uni-koeln.de/~gzenz/hdoff.html
-
- -Gideon Zenz, 26-Jun-96
-
- BUGS
- Non known.
-
- FUTURE
- I have now a SCSI-only system, but this didn`t prevent me not to do a
- SCSI version of HDOff. The reasons are that HDOff wasn`t planned to
- support more than 2 drives, and not more then one device, so it will be
- quite difficult to implement. But we`ll see B-)
-
- HISTORY
- v1.0: (08-Mai-94)
- - Initial release
-
- v1.1: (30-Jan-95)
- - Timerloop in minutes and much more precisely
- - No need to start with run any more
- - At all more secure and more systemconform
- - A4000 support
-
- v1.2: (20-Apr-95)
- - docs completely rewritten
- - Support of 2nd HD`s
- - New args OTHER and OTHER2 and NOW and NOW2
-
- v1.33: (7-Jan-96)
- - HDOff crashed if started on heavy diskaccess.
- - new options SET1200 and SET4000
- - Implementation of the onlineport. Have a look in
- Developers.doc for usage.
-
- v1.34: (22-Feb-96)
- - Fixed a bug in the onlineport: PortVer wasn`t set.
- - Added GetStats&Source
- - Completely reworked Developer.doc
- - Now working 100% on A600
- - New arg UPDATE (thx to Ingo Eickelkamp for suggestion)
-
- v1.35: (16-Mar-96)
- - New option QUIET
- - Bugfix in UPDATE, wrong values were taken
- - Now there is again a check if you enter too big values
- - MAJOR bug: HD spun only the 1st time down on a1200 [thx to Oli Lohr]
- - System of timecounting changed, now 100% accurate
- - NOW(2) working again [thx to Oli Lohr]
- - New options STOP(2) [thx to A.BOERNER@bbrandes.berlinet.de]
- - New, bugfixed and improed version of Getstats [Thx Matthias Andree!]
-
- v1.36: (26-Jun-96)
- - Some bugfixes
- - Message port expanded/changed (look at Developers.doc)
- - Everything is now multi threaded, so msg`s etc are immediately
- processed now.
- - Included new, advanced GetStats
-
- THANKS
- Many thanks to heureka@bigben.dssd.sub.org and M.ZIELINSKI@
- amtrash.comlink.de for their helps on A4000 and 2nd HD support, and all
- other`s who wrote me! A special thank must go out to Matthias Andree,
- who had a look at the docs, and who is now doing a nice GUI!
-
- SECURITY
- If you want to be shure you have the original programs, check
- with "md5sum -c HDOff.doc". (md5sum is part of the PGP package)
-
- dfdf15f58f042ffa0f018ba8277124f7 AFD-COPYRIGHT
- f7da7a8653f2153aea03f73d664f2a40 AFD-COPYRIGHT.de
- a51dae271c4f6bc2de5bc1e14eb29633 Developers.doc
- a6fab0ca4f7d1d819e5eed56e77c17fe *GetStats
- 201e18e4ccdcfcaa3407ad19753d2f90 GetStats.c
- 5dd6e5c24b19fab3f93592ab9e8d710e *HDOff
- f66eb2c2050839fb34b72999692e2d2d HDOff_1.36.readme
-
- - -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: 2.6.3i
-
- mQCNAi3izr8AAAEEAMi+7o+iKDG26t8EuoX0NJ92iwhkviRC3GdJ1Uvef4+xJA3V
- ey20ZnzBg/OokPdo0a3VxhwyjD2auyFmp7DLupQTko7Wx2zLk19EzVBxI6NggUev
- ep+eaVvAi8V/YosYh0Xg4/dScOq391irO6k9+BPqkQPH+bRNCUBgnhXGkfElAAUR
- tClHaWRlb24gWmVueiA8Z3plbnpARXJuaWUuTUkuVW5pLUtvZWxuLkRFPokAlQMF
- EDHR1zdAYJ4VxpHxJQEByIMD/ippEW/kpkaUhsB4amGVHff5oGMxkN/UyULVBwiT
- bI9j21MwiKzPTohyRnDs6r5FUGYk685m0kkm5UK65/IcpKDf4dGPpgTiVDv+iMJT
- vI9yt1+fLigsoSl6FEH8Xz0zNqftyPIsj2ofTsjbCrtr3ALA/gEOlrSXEwBB31ST
- 5Q3qtClHaWRlb24gWmVueiA8Z3plbnpARXJuaWUuTUkuVW5pLUtvZWxuLkRFPrQo
- R2lkZW9uIFplbnogPE1hcnZpbkBCaWdCZW4uZHNzZC5zdWIub3JnPokAlQMFEDCg
- BWBAYJ4VxpHxJQEB3zYEAKT01zBYqdHINoKFkQsv9L+hHlcgwpxYh7tFipO4Hh5B
- 89ktXrIhfOynnXDT5loZ++WZJ12hhc1pF/0J8XYeT5NwMk3cw1EZ7tVgTdpZy4bl
- 25gitPI96wbby6tK2YNi/A76X/6400gfOlF3+OzIEflqMOb5bcLy9TRCNRgAmAaZ
- tCZHaWRlb24gWmVueiA8TWFydmluQEJJR0JFTi53d2Iuc3ViLmRlPokAlQIFEC7p
- 8Z8rOCXSNjQ6+QEBbDUEAI46TkfnK0GWPEV74lhrieivNOm4fZgiDmF5n5miZYtm
- hCNqqWy2jfit/eLrCtHMp5XhlRQpDnwGvidz0EyDj0kwfvKdpnADdibmVkfOXlBO
- iSskVPeg/HN+gjYCscrXpQ7g+CQMAOoBvwoqohAq+fYJ2mhsK5KS+ofojAUHGG8M
- tDJOT1RFOiBNYXJ2aW5AQklHQkVOLnd3Yi5zdWIuZGUgbm90IHZhbGlkIGFueSBt
- b3JlIbQVR2lkZW9uIFplbnogMjoyNDQwLzk5
- =qE9V
- - -----END PGP PUBLIC KEY BLOCK-----
-
- -----BEGIN PGP SIGNATURE-----
- Version: 2.6.3i
- Charset: latin1
-
- iQCVAwUBMdHX6kBgnhXGkfElAQGSYgP+Jldz+p+b3kM5RfVPO8cudI+fPjyYLqWK
- dHM431avUqtELnUFZOWcFTwWUse1W7wgynuS2mWuGPHOvVlI2OFH/8crhE3m9Lod
- mxDnakb43u1zSPo93bGtG4xwnZwf5/pz/7TwqzU/C7gFWh3EYECEP3Mz8jV7DAoS
- o4E8n8ncdF8=
- =ntQq
- -----END PGP SIGNATURE-----
-