Microphone issues with sys-audio as AudioVM

I’m running Qubes OS r4.2 on a Thinkpad x240.
When using dom0 as my AudioVM I can attach my microphone to a vm and it will work perfectly fine.

I want to use bluetooth earbuds when I’m away from home, after a bit of research I landed on this guide, I followed it pretty much exactly except for using debian-12-minimal as the TemplateVM, and I also added in the following policies to resolve error messages when switching the microphone between AppVMs:

admin.vm.device.mic.Available       *                            sys-audio    sys-audio              allow target=dom0
admin.vm.device.mic.Available       *                            sys-audio    @adminvm               allow target=dom0
admin.vm.device.mic.Available       *                            sys-audio    @tag:audiovm-sys-audio allow target=dom0
admin.vm.device.usb.Available       *                            sys-audio    sys-usb                allow target=dom0

Sound output works perfectly, and I can record (terrible quality) microphone audio inside sys-audio using arecord --format S32_LE --device="plughw:CARD=PCH,DEV=0", parecord on the other hand wouldn’t work.

My sound card output in lspci -nn:
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)

Based on the state of everything I can only guess that the issue is a missing package or misconfigured pipewire inside sys-audio because the microphone is working at the alsa layer but not on the pipewire layer.

Sorry if this post has mistakes in it, it was written right before bed so I’m a bit tired.

Thanks in advance, Basil

1 Like