From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3zsI-0003LR-JA for qemu-devel@nongnu.org; Tue, 12 May 2009 17:50:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3zsD-0003L0-WC for Qemu-devel@nongnu.org; Tue, 12 May 2009 17:50:58 -0400 Received: from [199.232.76.173] (port=54274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3zsD-0003Kx-T2 for Qemu-devel@nongnu.org; Tue, 12 May 2009 17:50:53 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:59297) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3zsD-0006Pc-8K for Qemu-devel@nongnu.org; Tue, 12 May 2009 17:50:53 -0400 Message-ID: <4A09EF38.4000809@web.de> Date: Tue, 12 May 2009 23:50:48 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Question about KVM and PC speaker References: <49EF69BC.90300@gmx.de> <49F01C8D.1010203@web.de> <20090423083252.GB5277@const.bordeaux.inria.fr> <49F031C2.5000204@siemens.com> <20090423092546.GF5277@const.bordeaux.inria.fr> <49F035E7.5080906@siemens.com> <49F03A00.8060502@redhat.com> <49F0430A.8010300@siemens.com> <49FF1919.1030909@gmx.de> <49FF5033.1050402@web.de> <20090504205618.GP5889@const.famille.thibault.fr> <49FF5777.8070704@web.de> <4A006268.6040006@linux-fuer-blinde.de> <3D0ED7CD58CF4D37904670A5A85AE2C7@FSCPC> <4A0167B7.2050200@siemens.com> <4A0297D2.4040009@siemens.com> <4A0925F7.5070806@web.de> <6D825FA2F92349029E0C39C9BC4D72C7@FSCPC> In-Reply-To: <6D825FA2F92349029E0C39C9BC4D72C7@FSCPC> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig74E9E4E470C2556BD4B61C0A" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: Qemu-devel@nongnu.org, kvm@vger.kernel.org, Simon Bienlein This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig74E9E4E470C2556BD4B61C0A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sebastian Herbszt wrote: > Jan Kiszka wrote: >>> I have implemented the beep for vgabios-6b and it works on bochs but >>> fails on qemu. >>> With "-soundhw pcspk" i should hear it thru the hosts pc speaker, rig= ht? >> >> Yep, that's how it should work. Mind to share your code and tell us >> which test case you used? >=20 > FreeDOS floppy with "debug" command and assembly code: > mov ax,0e07 > xor bx,bx > int 10 >=20 > With the modified vgabios (see below) it does beep on bochs on vista, > but not on qemu. Works fine for me! Did you check twice that your modified vgabios is actually loaded by qemu (e.g. via strace)? Moreover, does sound work at all with your qemu? The image I tried [1] issues two beeps after loading (obviously via direct hw access) - a good way to check general support. Note that one reason for broken host sound with qemu can be OSS. For that reason I always configure my qemu with --audio-drv-list=3Dalsa. Jan PS: Your patch was mangled by your mail client. Fortunately, it was small enough for manual fixing. [1]http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/= unofficial/balder/balder10.img --------------enig74E9E4E470C2556BD4B61C0A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkoJ7zsACgkQniDOoMHTA+nyHACfbYQiD4UgEM+m4XDA5mSLxJSF 9XoAnivgHwdlsYT6Afye0Ydk3Bf7zS83 =vjwb -----END PGP SIGNATURE----- --------------enig74E9E4E470C2556BD4B61C0A--