Re: S3 wakeup code

Knut Neumann
2003-07-24T11:18:56Z

Am Don, 2003-07-24 um 12.45 schrieb Florian Lohoff:
> Yea - Would be my request too - Currently S3 is top on my wishlist. I
> did a lot of m68k assembly but i tryed to stay as far away from x86
> assembly as i could. So it would be nice if the more experienced ones
> would provide some #define DEBUG where we would hear interesting sounds
> or blinking keyboard leds or parallel/serial output if certain steps are
> handled successfully.

I received some tips from Ole Rohne some time ago, which were:

* Insert lcall $0xffff,$0 or machin_restart in various places in
wakeup.S and upwards and see if your machine reboots on S3 resume
* If you have a parallel port, make a dongle with eight LEDs and trace
your way with OUTB until it hangs

Unfortunately, none of this did anything on resume. We had some more
discussions (see archives for Ole Myren Rohne or my name or S3 vaio),
which ended up with the conclusion, that the wakeup vector does not get
called on resume. I played around with pre-suspend code a little to see
if that changes anything, but it didnt. So I stopped looking into it -
though I would be happy to have S3 running.

I think I will put up a webpage with all the information I have
collected so far. Maybe that will help someone else to track the problem
down.

-Knut