NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fwd: Can't get audio, host Debian, guest NetBSD, help!
On 17/03/2022 20:50, RVP wrote:
On Thu, 17 Mar 2022, Ottavio Caruso wrote:
See the " -device intel-hda -device hda-duplex " line? I am not sure
if this is enough, but I can see the audio device in the guest:
[...]
[ 1.040426] audio1 at hdafg0: playback, capture, full duplex,
independent
[ 1.040426] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes
(10ms) for playback
[ 1.040426] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes
(10ms) for recording
[ 1.040426] spkr1 at audio1: PC Speaker (synthesized)
Looks like audio HW you want to use is at audio1 rather than audio0.
Does `audiocfg test 1' produce any output?
It does not produce any sound through qemu but it generates an output on
stdout:
oc@NetBSD:/home/oc$ audiocfg test 1
1: [*] audio0 @ eap0: Ensoniq AudioPCI
playback: 2ch, 48000Hz
record: 2ch, 48000Hz
(PR) slinear_le 16/16, 2ch, { 4000, 48000 }
testing channel 0... done
testing channel 1... done
oc@NetBSD:/home/oc$ dmesg|grep -i audio
[ 1.038533] auich0 at pci0 dev 3 function 0: i82801AA (ICH) AC-97 Audio
[ 1.038533] audio0 at eap0: playback, capture, full duplex
[ 1.038533] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for playback
[ 1.038533] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for recording
[ 1.038533] spkr0 at audio0: PC Speaker (synthesized)
[ 1.038533] midi0 at eap0: AudioPCI MIDI UART
[ 1.038533] hdaudio0 at pci0 dev 5 function 0: HD Audio Controller
[ 1.038533] hdaudio0: interrupting at msi0 vec 0
[ 1.038533] hdafg0 at hdaudio0: vendor 1af4 product 0022
[ 1.038533] audio1 at hdafg0: playback, capture, full duplex,
independent
[ 1.038533] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for playback
[ 1.038533] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for recording
[ 1.038533] spkr1 at audio1: PC Speaker (synthesized)
[ 1.587392] audio2 at auich0: playback, capture, full duplex,
independent
[ 1.587392] audio2: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for playback
[ 1.601966] audio2: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for recording
[ 1.601966] spkr3 at audio2: PC Speaker (synthesized)
So this is a qemu issue. I spent hours on the #qemu channel on OFTC but
nobody (read: the paid developers) have come out with anything sensible.
It goes without saying I'll have to ditch qemu.
--
Ottavio Caruso
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Home |
Main Index |
Thread Index |
Old Index