Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2007 16:17:24 +0100
From:      Marc Olzheim <marcolz@stack.nl>
To:        William Evanson <evawil823@yahoo.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Dell Latitude VMware internal speaker beep shut off
Message-ID:  <20071121151724.GA82046@ilse.net>
In-Reply-To: <225920.19079.qm@web90501.mail.mud.yahoo.com>
References:  <225920.19079.qm@web90501.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 21, 2007 at 07:00:09AM -0800, William Evanson wrote:
> Here is what I found out from VMWare about this.  I would still like to k=
now if FreeBSD has a way of controlling this device?

What we did at work when we had this problem (with FreeBSD 4.x) is
disabling the beep in /usr/src/sys/boot/i386/boot0/boot0.S

--- /usr/src/sys/boot/i386/boot0/boot0.S	Thu Jun 17 14:02:25 2004
+++ /usr/src/sys/boot/i386/boot0/boot0.S	Thu Oct  7 13:23:08 2004
@@ -38,7 +38,6 @@
 		.set KEY_F1,0x3b		# F1 key scan code
 		.set KEY_1,0x02			# #1 key scan code
=20
-		.set ASCII_BEL,0x07		# ASCII code for <BEL>
 		.set ASCII_CR,0x0D		# ASCII code for <CR>
=20
 /*
@@ -203,9 +202,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

Marc

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFHREwEezjnobFOgrERAk45AJ0Z7obC1RKQzB9q0fd1IPNH+x4iWQCfcskP
RrCAcYVjmc6IK2+yWsJ1TSU=
=fErw
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071121151724.GA82046>