APM suspend/restore doesn't save IDE disk settings ?

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Mon, 26 Jan 1998 17:27:23 +0100


Hi,

with Linux 2.0.32 compiled with full APM support using

# hdparm -m 16 -c 1 -W 1 -u 1 /dev/hda

I get

# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 32 MB in 1.20 seconds =26.67 MB/sec
Timing buffered disk reads: 16 MB in 3.57 seconds = 4.48 MB/sec

but after suspending and resuming the notebook I only get

# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 32 MB in 1.20 seconds =26.67 MB/sec
Timing buffered disk reads: 16 MB in 4.93 seconds = 3.25 MB/sec

and I have to run hdparm -m 16 -c 1 -W 1 -u 1 /dev/hda again
to get the original performace.

is this correct behaviour ?
is it possible to run a shell script after APM resume (without PCMCIA devices) ?

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^