I have a Seeed 2Mic HAT (this thing) stuck to a Raspberry Pi Zero 2 W. It’s running aarch64-linux with a linux_rpi3
kernel. I’ve set up the relevant overlay with dtoverlay -d /run/current-system/dbts/overlays seeed-2mic-voicecard-overlay.dtbo
What I don’t have is any sound input or output whatsoever.
Things that seem correct:
The device tree overlay was applied (checked by diffing dtc -I fs /sys/firmware/devicetree/base/
before and after).
The relevant kernel modules are loaded
snd_soc_wm8960 53248 1
regmap_i2c 12288 1 snd_soc_wm8960
snd_soc_core 393216 6 snd_soc_bcm2835_i2s,vc4,snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_simple_card,snd_soc_wm8960
snd_pcm 180224 8 snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_simple_card_utils,snd_soc_core,snd_soc_wm8960,snd_pcm_dmaengine
snd 147456 7 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_soc_wm8960
The device is visible to alsa:
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Headphones
bcm2835 Headphones, bcm2835 Headphones
Default Audio Device
sysdefault:CARD=seeed2micvoicec
seeed-2mic-voicecard, 3f203000.i2s-wm8960-hifi wm8960-hifi-0
Default Audio Device
My user is in the audio
group.
Things that don’t seem correct:
The device does not appear in pactl list sinks
Pulseaudio throws some errors (repeated several times - though I’m unsure they’re related)
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-soc_sound" card_name="alsa_card.platform-soc_sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
aplay will not work
aplay -D sysdefault:CARD=seeed2micvoicec Front_Center.wav
Playing WAVE '/nix/store/by0d4ca0mkjd8dcq710y4z25chhwdchj-alsa-utils-1.2.10/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1435: Unable to install hw params:
…
Does anybody own the same hardware and know how to get it to work? Or at least have some approaches for debugging this?