LXC container and USB audio dongle
by mackowiakp from LinuxQuestions.org on (#58DQ8)
I have an LXC container configured, which contains a Debian Buster 18. The container runs on a QNAP NAS (Intel 64 bit 8 GB RAM). The QNAP firmware is of course based on Linux.
I plugged a USB audio dongle to the USB port, which I would like to be a sound card for Debian installed in a container.
Unfortunately, neither ALSA nor PulseAudio can see this card, although the USB subsystem recognizes the dongle correctly. Below appropriate outputs. They are identical both when run from the NAS itself and from a container.
Code:root@Debian:~# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x81810000 irq 130
1 [Device ]: USB-Audio - USB Audio Device
GeneralPlus USB Audio Device at usb-0000:00:14.0-1, full speed
root@Debian:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound ServerWhat can I do to make USB audio dongle available for Debian in container?


I plugged a USB audio dongle to the USB port, which I would like to be a sound card for Debian installed in a container.
Unfortunately, neither ALSA nor PulseAudio can see this card, although the USB subsystem recognizes the dongle correctly. Below appropriate outputs. They are identical both when run from the NAS itself and from a container.
Code:root@Debian:~# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x81810000 irq 130
1 [Device ]: USB-Audio - USB Audio Device
GeneralPlus USB Audio Device at usb-0000:00:14.0-1, full speed
root@Debian:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound ServerWhat can I do to make USB audio dongle available for Debian in container?