Closed mattst88 closed 4 years ago
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
@mattst88 we routinely test the DMIC input on a variety of platforms. The hardware hasn't changed in several years and should just work (tm). What worries me the most is the guidance provided in the Arch wiki, which makes no sense really.
Can you confirm that a) you are using the latest alsa-lib and alsa-ucm-conf b) you've tested the mic capture at the ALSA hw: device level (should be something like arecord -Dhw:0,4 -c2 -r48000 -fS32_LE -d10 test.wav). please check the device number with arecord -l c) that you've removed all pulseaudio configuration for sources and sinks, the Arch wiki info is obsolete.
we really need to figure out if you have a platform issue where no capture can be seen at the hw: level device, or something due to your distro higher in userspace.
Also what would help is that if you add a link to the alsa-info results.
In general it's also better to attach a file than paste it...
Thanks!
Thanks, I installed media-libs/alsa-ucm-conf
and media-libs/alsa-topology-conf
in Gentoo and the microphone now works. Without them, arecord
showed that the microphone was working at the ALSA layer.
Nothing in all of Gentoo depends on either of these packages. Should, perhaps, media-sound/pulseaudio
depend on them?
When did getting audio working become more complex than getting 3D working? :|
As mentioned in the Arch Wiki (https://wiki.archlinux.org/index.php/HP_Spectre_x360_-_13-aw0xxx#Audio) and in many other places on the internet, the microphone array in the HP Spectre x360 13-aw0xxx doesn't work under SOF. It shows up in
alsamixer
but e.g. gnome-settings doesn't register any sound from the microphones. An external microphone plugged into the machine using the 3.5mm jack works fine.I've used kernels v5.7 to v5.9 all with the same results. Using SOF firmware v1.5.1.
Is this hardware supposed to be supported? I'm honestly horrified at how complex the SOF kernel configuration is. I've spent a significant amount of time trying to make this work under the assumption that it's just a missing kernel config option (and perhaps it is!) but it shouldn't be this difficult to figure out.
lsmod
:Relevant
sudo lspci -vvnn
output:dmesg | egrep -i '(sof|dsp|snd)'
:Kernel config: