Quick Summary: I can now stop the hdd, blank the screen, and put the system in apm --standby mode. AFAI'mCed there's no difference between --standby and --suspend. I'm not running apmd, though I guess I could if I really wanted to. Tip: do a /etc/init.d/networking stop if apm --standby fails whenever you have, say, an mp3 player running. My questions answered below. Mail me if you want more details.
Krzys Majewski <[EMAIL PROTECTED]> writes: > -------------- > For the knowledgeable and impatient, there are two questions > at the end of this post: > 1) How to stop both the hard disk and the cpu fan at the same > time? Before you stop the hdd, call any programs (with dummy arguments if necessary) that you expect to use after stopping the hdd, so that they're loaded into core and don't have to be read off the hdd later. Run 'sync' (people usually do this 3 times, not sure why, but you can do that too). Now stop the hdd with hdparm. Sleep for a second, then call apm --standby. Feel free to throw lots of calls to sleep(1) in between any or all of these commands. > 2) How to stop the power supply fan? Get an expensive power supply or a kit with a thermistor for regulating the voltage to the fan. Still looking into this, any recommendations welcome. Lots of docs online though. > Hdparm -Y /dev/hda does not work: > > Sep 10 18:24:57 mi kernel: hda: irq timeout: status=0xd0 { > Busy } > Sep 10 18:24:59 mi kernel: ide0: reset: master: error (0x00?) So what. > My hard disk is a > hda: WDC WD102BA, ATA DISK drive > hda: WDC WD102BA, 9779MB w/2048kB Cache, CHS=1246/255/63 > Is it a bad one? Since nobody answered this one, and dejanews *linux* revealed several pasted logs with this identifier, I will assume that it's a great drive, wonderful, one of the best.. -chris