Date: Tue, 29 Sep 2020 12:28:00 +1000 From: Peter Grehan <grehan@freebsd.org> To: Ali Abdallah <ali.abdallah@suse.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: HD audio problem on FreeBSD 12.1 bhyve VM Message-ID: <b0796d55-6119-60b4-7627-ca9205a94c62@freebsd.org> In-Reply-To: <20200924142223.txf474z3p42twuby@frix230> References: <20200922154021.4kes7nyv2tadgofx@frix230> <c27948ef-e98d-82ce-77fd-6bf15e609281@freebsd.org> <20200923151552.d7xe2fngbvqb5alr@frix230> <a45c9232-114b-57b6-1d78-7fe9b004ed2f@freebsd.org> <20200924142223.txf474z3p42twuby@frix230>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ali, > It doesn't work for me... See below. ... > I'm booting with the following script. > > VM=freebsd12.1 > ifconfig tap1 up > bhyve -AHP -s 0:0,hostbridge -s 1:0,lpc \ > -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk,./disk.img \ > -c 1 -m 4096M \ > -s 19,xhci,tablet \ > -s 11,fbuf,tcp=0.0.0.0:5920,w=1280,h=1024,wait \ > -s 20,hda,play=/dev/dsp0,rec=/dev/dsp0 \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ > $VM > bhyvectl --destroy --vm=$VM Does removing the 'rec=/dev/dsp0' make any difference ? >> Audio on the Thinkpad host is: >> >> grehan@carbon-usb:/images $ cat /dev/sndstat >> Installed devices: >> pcm0: <Realtek ALC285 (Analog 2.0+HP/2.0)> (play/rec) default >> pcm1: <Realtek ALC285 (Right Analog Mic)> (rec) >> pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play) >> > > I have the issue on my daily driver, a Thinkpad T430. But also tested on > my x220, same issue, only noise. However, sound works perfectly fine > on OpenSUSE guest. What does 'cat /dev/sndstat' show on your 430/x220 ? later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0796d55-6119-60b4-7627-ca9205a94c62>