Re: [PATCH] make my life easier ...

From: Oliver Xymoron (oxymoron@waste.org)
Date: Wed Oct 25 2000 - 11:19:02 EST


On Wed, 25 Oct 2000, Martin Mares wrote:

> Hello!
>
> > "The Linux 'original' IDE guy' Mark Lord showed Alan what was trying to
> > bang over everyone's head, without success.
> >
> > Here is his sample code for cs5530 chipset.
> >
> > Look at this and comment. I have part of the space setup to complete the
> > APM extenstion calls. This will get you and me out of a jam with laptops.
>
> This doesn't make much sense to me: Why don't we just reinitialize the timings
> as we do when programming the chipset instead of saving/restoring the state?
>
> Also, are you sure BIOSes don't save the IDE controller state when suspending?

Assume BIOS = just enough to appear to work with Windows. My VAIO appears
to lose at least the spindown timeout setting, probably more on suspend.
It also loses some video state - if I suspend when the screen is blanked
by X, restore gets me a white screen of death - no way to make video come
back to life. Now that I've got hibernate working, I've figured out that I
can hibernate/unhibernate to get the card back into the state X thinks it
should be in.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:16 EST