Re: S3 wakeup code

Pavel Machek
2003-07-30T18:22:51Z

Hi!

> > I don't remember code for beeping... To send data to the paralel port,
> >
> > movb $0x12, %al
> > movw $0x378, %dx
> > outb %al, %dx
>
> Ok. I actually got myself up and created a parallel port plug with Leds
> - works fine with test program. Nothing on resume/wakeup (I put the
> above code into first place in wakeup.S, is that supposed to work?)...so
> obviously the computers now for sure never jumps to wakeup address, so
> either somethings wrong with that wakeup address or with
> pre-jump-to-wakeup-address-stuff. Any idea?

1st try to putting this code followed by

1: jmp 1b

into, say, powerdown code (or maybe suspend_save_state?) to make sure
the code works as expected. Then send me diff -u wakeup.S.old
wakeup.S. You might want to add that jmp there, too. Not sure if
parport should be powered up at that point, but if not even parport is
powered, I don't know how to debug that.
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.