5.3 Startup with a beep
Mark Diekhans
markd at Kermodei.com
Wed Dec 1 16:09:47 PST 2004
Carsten Zimmermann <carp at 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
-------------- next part --------------
--- 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
More information about the freebsd-mobile
mailing list