Sound card not detected in HVM

Hello,

Trying to get audio working in a Debian based HVM Qube but the soundcard is not being detected. Is it possible to get audio? I have tried installing intel drivers firmware-intel-sound and rebooting but it still does not recognizes the hardware. Is this an issue which is Qubes related or would it be related to the OS? Have tried using the PVH option but then the Qube fails to boot. This is on Debian-11

Your sound card is attached to dom0 and that’s where pulseaudio runs. If
you want to use it from your Debian HVM you need to install
pulseaudio-qubes there and possibly some other qubes-core-agent- packages.

What is the use case? Why not use the Qubes OS provided debian-11 templates?

Thanks for your response. It’s not Debian but a distro based on Debian so that is the reason why I can’t just use the template. So you are saying I need to add the Qubes repo in order to install the pulseaudio-qubes package (among others) ?

1 Like

Can this be managed using the qubes-gui-agent-linux package?

It’s not Debian but a distro based on Debian so that is the reason
why I can’t just use the template.

In case you are talking about Ubuntu or a Ubuntu-based distribution, see
qubes.3isec.org or build yourself using qubes builder.

In case of Debian-based use

Index of /r4.0/vm/ bullseye main
or
Index of /r4.1/vm/ bullseye main

So you are saying I need to add the Qubes repo in order to install
the pulseaudio-qubes package (among others) ?

Yes. I’d start of with pulseaudio-qubes and see what dependencies it
pulls in. Maybe that one alone will do the trick. However I suspect once
you added the repository and have audio going, you might want some of
the other qubes-core-agent- packages too… for C&P, USB proxy,
send/receive files from/to other qubes etc.

Basically, if your HVM is Debian based you can get all of the Qubes
functionality going this way.

1 Like