<div dir="ltr"><div dir="ltr"><div>Hi Dorothy</div><div><br></div><div>This sounds more like a guest problem - you could probably find more help on the quickemu Discord or looking through github issues/discussions.</div><div><br></div><div>It's been a while but changes to Opencore or qemu settings can break audio and other things.</div><div>Spice probably isn't redirecting your usb keyboard/mouse - normally it just sends the input to the emulated guest hardware.</div><div>It also does this for audio.</div><div><br></div><div>I have had OSX Catalina with working sound, and it breaks with Opencore/boot or other changes to the virtual hardware. </div><div>Qemu/quickemu and Opencore have to map the intel-hda guest machine "sound card" into something Catalina can use.</div><div><br></div><div>I have used USB redirection with Catalina - but you need to make sure Catalina has drivers/kexts for the USB hardware.</div><div>Just getting USB working in Catalina was a challenge before - maybe that's been fixed. These were virtual machine/guest settings for usb-ochi/ehci/xhci.</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 10, 2024 at 3:09 AM Victor Toso <<a href="mailto:victortoso@redhat.com" target="_blank">victortoso@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Dorothy,<br>
<br>
On Sat, Apr 27, 2024 at 12:57:49PM GMT, Dorothy Calhoon wrote:<br>
> Hi!<br>
> <br>
> I use spice to redirect the usb ports from my POPos host to my<br>
> Mac Catalina operating system in my QEMU virtual machine which<br>
> was set up using quickemu and now is accessed via quickgui.<br>
> Spice works fine for redirecting the keyboard, mouse, wifi and<br>
> printer. Now I need it for audio.<br>
<br>
SPICE supports playback and record audio channels. Playback is<br>
audio coming from the Guest to your Client and Record is client's<br>
microphone to redirect to the guest.<br>
<br>
If you already uses usbredir channel, chances are that your spice<br>
client already supports playback/record too. Which spice client<br>
are you using?<br>
<br>
> I know that audio has been a problem in virtual machines with<br>
> Mac operating systems later than Catalina, but it is supposed<br>
> to work in Catalina. <br>
<br>
If you are using spice-gtk, the audio backend should be gstreamer<br>
and the right plugins need to be installed<br>
<br>
> I have a small speaker that plugs into the guest via a usb port<br>
> but it is not recognized. I also tried headphones in the audio<br>
> out ports and still Preferences show nothing for sound and<br>
> there is none.<br>
> <br>
> I understand that spice can allow the audio sound card from the<br>
> host to pass through to the guest. How do I implement that<br>
> feature? Somewhere I read that inputting the following into the<br>
> host terminal would do it: QEMU_AUDIO_DRV= spice. However,<br>
> terminal did nothing and just wanted more instructions. The<br>
> directions I had found said that after this command you could<br>
> then use -soundhw hda options. However, terminal does not<br>
> recognize soundhw and I wasn’t sure exactly what the “options"<br>
> were.<br>
> <br>
> I also tried -audiodev spice,id=id[,prop[=value][,….]] and the<br>
> terminal said that the audiodev command was not found.<br>
<br>
I'm not familiar with quickemu nor quickgui, but again, if you<br>
are already using some spice channels, I'd guess the problem is<br>
on the client-side.<br>
<br>
> It appears that there are just a couple of commands that would<br>
> allow the audio passthrough feature of spice to work, but I<br>
> don’t know exactly what they are. I am new to using terminal so<br>
> I need very precise instructions. I would appreciate your help<br>
> in this. <br>
> <br>
> Thanking you in advance.<br>
> <br>
> Dorothy<br>
<br>
Cheers,<br>
Victor<br>
</blockquote></div></div></div>