Subject: Re: Getting rid of BEEP_ONHALT_*
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 02/24/2006 19:54:04
On Fri, Feb 24, 2006 at 12:11:15PM +0100, Julio M. Merino Vidal wrote:
> Hi,
>
> A (long) while ago, I added the 'beep on halt' functionality to
> i386 kernels so that after a 'shutdown -h' the machine beeps
> several times to indicate a successful halt.
>
> I still find this very useful, but I dislike that there are _four_
> kernel options to set it up:
>
> # Beep when it is safe to power down the system (requires sysbeep)
> #options BEEP_ONHALT
> # Some tunable details of the above feature (default values used below)
> #options BEEP_ONHALT_COUNT=3 # Times to beep
> #options BEEP_ONHALT_PITCH=1500 # Default frequency (in Hz)
> #options BEEP_ONHALT_PERIOD=250 # Default duration (in msecs)
>
> I would like to get rid of the count, pitch and period settings and
> just leave those default values in the source code. I mean, does
> anybody really care about how it sounds? Is anyone currently changing
> the default values?
Yes, I change the PITCH, so it doesn't sound like the usual beep you get
from e.g. a BELL in a terminal
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--