Re: beeping patch for debugging acpi sleep

From: Pavel Machek
Date: Sat Jun 09 2007 - 19:36:18 EST


On Sun 2007-06-10 09:27:55, Nigel Cunningham wrote:
> Hi.
>
> On Sun, 2007-06-10 at 00:54 +0200, Pavel Machek wrote:
> > On Sat 2007-06-09 15:16:04, Jan-Benedict Glaw wrote:
> > > On Sat, 2007-06-09 15:08:17 +0200, Pavel Machek <pavel@xxxxxx> wrote:
> > > >
> > > > Starting beeper as soon as ACPI sleep returns is very useful in
> > > > debugging "apparently dead" machines. If it beeps at all, it makes
> > > > sense to start playing with CMOS tracer.
> > >
> > > I'd even go so far and implement it unconditionally.
> >
> > Well, try it; it is too annoying to be unconditional.
>
> Could you modify the pitch or the length then, to make it less annoying?
> It sounds like a really good idea to me.

Modifying length is non-trivial, AFAICT, but feel free to submit a
patch...

Actually, *any* tone will be annoying in quiet room, and kernel should
not really be making sounds on its own, so scratch that idea.

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/