Respeaker USB Mic Array not available inside Rhasspy docker

Hi @all,

I’ve successfully installed HassIO and Rhasspy-addon on my Pi4. Both is running in a docker container.

On the pi the Respeaker USB Mic Array is working as well as the speaker which I plugged into the Respeaker.

If I run: aplay -L on my pi I get following output:

null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
dmix:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample mixing device
dmix:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample mixing device
dmix:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample snooping device
dsnoop:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
Direct sample snooping device
hw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct hardware device without any conversions
hw:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Hardware device with all software conversions
plughw:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
Hardware device with all software conversions
default:CARD=ArrayUAC10
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Default Audio Device
sysdefault:CARD=ArrayUAC10
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Default Audio Device
front:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Front speakers
surround21:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Direct sample mixing device
dsnoop:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Direct sample snooping device
hw:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Direct hardware device without any conversions
plughw:CARD=ArrayUAC10,DEV=0
ReSpeaker 4 Mic Array (UAC1.0), USB Audio
Hardware device with all software conversions

But if I exec into the rhasspy docker container and run the same command I’m getting:

null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (Home Assistant PulseAudio Sound Server)

Documentation of the respeaker says there are no drivers to install (Respeaker USB Wiki)

Anyway I’ve tried to install seeed-voicecard drivers with no success.

Does anyone have an idea how to fix this?

Thanks in adavance

EDIT: as far as I understood docker all soundcards which are available on the host shall be available inside the docker container

EDIT2: running rhasspy just as docker container not as hassio addon everything works.

Hi @Bozor

Please check this thread

HA team forced us to use PulseAudio…