[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070611165041.GD1759@elf.ucw.cz>
Date: Mon, 11 Jun 2007 18:50:41 +0200
From: Pavel Machek <pavel@....cz>
To: Stefan Seyfried <seife@...e.de>
Cc: Christian Leber <christian@...er.de>,
Andrew Morton <akpm@...l.org>,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: beeping patch for debugging acpi sleep
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists