FutureProofHomes / wyoming-enhancements

Integrate Magical ChatGPT Capabilities With Home Assistant's Wyoming Voice Satellite.
MIT License
110 stars 18 forks source link

No sound when using raspberry pi 3b+, 2 mic hat. #43

Open wookie666 opened 3 months ago

wookie666 commented 3 months ago

I tried everything i could think of. I get no sound output when running the 2mic hat on the raspberry pi 3b+. Its specifically linked to pulseaudio and the enhanced wyoming service. When running the standard wyoming service without the snapcast client, sound output is fine from the hat.

Pulse audio gives this error, however i cannot figure out how to fix it.

` Jul 07 00:15:04 wyomingsatelite pulseaudio[563]: Failed to find a working profile. Jul 07 00:15:04 wyomingsatelite pulseaudio[563]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-3f902000.hdmi" card_name="alsa_card.platform-3f902000.hdmi" namereg_fail=false tsched=yes fixed_latency_r> Jul 07 00:15:07 wyomingsatelite pulseaudio[563]: ALSA woke us up to write new data to the device, but there was actually nothing to write. Jul 07 00:15:07 wyomingsatelite pulseaudio[563]: Most likely this is a bug in the ALSA driver 'snd_bcm2835'. Please report this issue to the ALSA developers. Jul 07 00:15:07 wyomingsatelite pulseaudio[563]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail. Jul 07 00:15:10 wyomingsatelite pulseaudio[563]: Failed to find a working profile. Jul 07 00:15:10 wyomingsatelite pulseaudio[563]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-3f902000.hdmi" card_name="alsa_card.platform-3f902000.hdmi" namereg_fail=false tsched=yes fixed_latency_r>

`

When I use paplay /usr/share/sounds/alsa/Front_Center.wav the sound outputs fine.