Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 19:48:21 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Ali Abdallah <ali.abdallah@suse.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: HD audio problem on FreeBSD 12.1 bhyve VM
Message-ID:  <a45c9232-114b-57b6-1d78-7fe9b004ed2f@freebsd.org>
In-Reply-To: <20200923151552.d7xe2fngbvqb5alr@frix230>
References:  <20200922154021.4kes7nyv2tadgofx@frix230> <c27948ef-e98d-82ce-77fd-6bf15e609281@freebsd.org> <20200923151552.d7xe2fngbvqb5alr@frix230>

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

> I tested the following combinations:
> 
> 1) 12.1 guest on 12.1 host (with the HD audio from 13-current).
> 2) Same 12.1 guest on 13-current host.

  2) worked ok for me, at least with very limited testing and a 
simplistic config

On the guest,

root@:~ # uname -a
FreeBSD  12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

root@:~ # cat /dev/sndstat
Installed devices:
pcm0: <Generic (0x8086) (Analog Line-out)> (play) default
No devices installed from userspace.

root@:~ # sysctl dev.hdac.0.pindump=1
dev.hdac.0.pindump: 0hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 00001010 1  0  Line-out      Jack  Unknown 0x00       Black   0
hdaa0:     Caps:    OUT              Sense: 0x80000000 (connected)
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0

cat test.wav > /dev/dsp worked the same in the guest as on the host

The guest was configured with "-s 20,hda,play=/dev/dsp"

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)

later,

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a45c9232-114b-57b6-1d78-7fe9b004ed2f>