Re: beeping patch for debugging acpi sleep
From: Pavel Machek
Date: Mon Jun 11 2007 - 12:51:05 EST
Hi!
> How about (WARNING! I never have written i386 assembly, my last assembly
> experience was 20 years ago on Z80, so this is basically just copy'n paste,
> but i hope you get the idea):
We probably can do that, if there's big enough demand.
> > --- a/arch/i386/kernel/acpi/wakeup.S
> > +++ b/arch/i386/kernel/acpi/wakeup.S
>
> > @@ -20,6 +35,9 @@ wakeup_code:
> > wakeup_code_start = .
> > .code16
> >
> > +# Uncomment this to make your computer start producing ugly noise as soon
> > +# as BIOS returns to this real-mode entry point.
>
> testl $4, video_flags - wakeup_code
> jz 1f
> > + BEEP
> 1:
Heh, I'd say you learn quickly :-). But for now, I'd like to have
basic patch in, and as reliable as possible.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/