From owner-freebsd-stable@FreeBSD.ORG Fri Dec 9 17:01:50 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9079C16A41F for ; Fri, 9 Dec 2005 17:01:50 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FF643D94 for ; Fri, 9 Dec 2005 17:01:34 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr8.xs4all.nl (8.13.3/8.13.3) with ESMTP id jB9H1LM3022660; Fri, 9 Dec 2005 18:01:29 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.4/8.13.3) with ESMTP id jB9H1KJ0063312; Fri, 9 Dec 2005 18:01:20 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.4/8.13.1/Submit) id jB9H1JcU062908; Fri, 9 Dec 2005 18:01:20 +0100 (CET) (envelope-from wb) Date: Fri, 9 Dec 2005 18:01:19 +0100 From: Wilko Bulte To: Scott Long Message-ID: <20051209170119.GA36606@freebie.xs4all.nl> References: <20051209093610.GR898@marvin.riggiland.au> <4399997D.7010304@samsco.org> <20051209154056.GA21926@freebie.xs4all.nl> <4399A612.1030103@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4399A612.1030103@samsco.org> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "Thomas E. Zander" , stable@freebsd.org Subject: Re: Boot manager beep X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 17:01:50 -0000 On Fri, Dec 09, 2005 at 08:43:14AM -0700, Scott Long wrote.. > Wilko Bulte wrote: > >On Fri, Dec 09, 2005 at 07:49:33AM -0700, Scott Long wrote.. > > > >>Thomas E. Zander wrote: > >> > >>>Hi, > >>> > >>>just installed a fresh 6.0 on a laptop, using the standard boot > >>>manager. The problem is: The default volume of pcspeaker can't be tuned > >>>in bios or anywhere else before loading a sound driver (in this case > >>>snd_ich). This especially means the pc speaker volume is always set to > >>>100% at every boot which results in a horribly loud beep which I am > >>>afraid the built-in "speakers" can't do very often :-) > >>> > >>>So what about this one: > >>> > >>>--- /usr/src/sys/boot/i386/boot0/boot0.S > >>>+++ boot0.S > >>>@@ -201,9 +201,7 @@ > >>>/* > >>>* Start of input loop. Beep and take note of time > >>>*/ > >>>-main.10: movb $ASCII_BEL,%al # Signal > >>>- callw putchr # beep! > >>>- xorb %ah,%ah # BIOS: Get > >>>+main.10: xorb %ah,%ah # BIOS: Get > >>> int $0x1a # system time > >>> movw %dx,%di # Ticks when > >>> addw _TICKS(%bp),%di # timeout > >>> > >>>This might be an issue on other architectures (amd64?) as well, I > >>>haven't checked that right now. > >>> > >>>TIA, > >>>Riggs > >>> > >> > >>The beep is useful for some people who run headless systems, but it > >>is indeed annoying for others, especially with laptops in quiet places. > >>We should probably conditionalize this on a variable that can go into > >>/etc/make.conf. Note that amd64 uses the i386 bits here. > > > > > >Originally it was introduced (IIRC) to accomodate visually impaired users > >of FreeBSD. So the install CDs etc better keep it enabled. > > It is highly irritating for everyone else, though. So, creating an option to disable it would help them. And still allow the others the benefit of the 'beep'. There is enough unusable (for visually imparred people) crud in this world, like all these silly Flash-websites etc. -- Wilko Bulte wilko@FreeBSD.org