Date: Wed, 1 Dec 2004 16:08:23 -0800 From: Mark Diekhans <markd@Kermodei.com> To: Carsten Zimmermann <carp@hacksocke.de> Cc: freebsd-mobile@freebsd.org Subject: Re: 5.3 Startup with a beep Message-ID: <16814.23799.439022.760893@osprey.kermodei.com> In-Reply-To: <41AD9D12.2020506@hacksocke.de> References: <41AD9D12.2020506@hacksocke.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Y8u6t3iB8f Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Carsten Zimmermann <carp@hacksocke.de> writes: > I upgraded lately to a clean iso installed 5.3-R. From then, my laptop > always gives an eeky "beeeeeeep" when the boot loader prompts. It was > all silent with 5.2.1 and I'd like it to be that way again ;) I found this really annoying and dug into the code and patch it on my system. The enclose patch gets rid of this. To install it, I used the following commands: cd /usr/src patch <boot0.nobell.patch cd sys/boot/i386/boot0 bsdmake cp -f boot0 /boot/boot0 boot0cfg -v -B -f /boot/boot0.bak -s 2 -o packet ad0 Be sure to check the arguments to boot0cfg match your system, do a backup and have a fixit disk handy in case this breaks anything. If you can file a pr on this it would be great.. mark --Y8u6t3iB8f Content-Type: text/plain Content-Transfer-Encoding: 7bit --- sys/boot/i386/boot0/boot0.S.ORIG Thu Nov 18 08:20:08 2004 +++ sys/boot/i386/boot0/boot0.S Thu Nov 18 08:23:04 2004 @@ -204,7 +204,9 @@ * Start of input loop. Beep and take note of time */ main.10: movb $ASCII_BEL,%al # Signal +#if 0 /* MED: bell is annoying */ callw putchr # beep! +#endif xorb %ah,%ah # BIOS: Get int $0x1a # system time movw %dx,%di # Ticks when --Y8u6t3iB8f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16814.23799.439022.760893>