which I just recently cleared of windows and start set up Linux.
Now with the distribution kernel gentoo-kernel-bin all my hardware works, in particular playback and microphone recording of the sound
The sound on this platform is SOF, and two digital microphones are detected, alsamixer shows them, and I can record from a mic with arecord
Code: Select all
# arecord -l
*** List of CAPTURE 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 6: DMIC Raw (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
Now I am trying to compile my own gentoo-sources-6.17.8 kernel, and, in particular, get rid of initramfs.
The result is that everything works, except the microphone. Namely, the list of devices is the same, alsamixer shows
the same microphones, but recording from them fails. Pulseaudio sees the microphone, but marks it as "unplugged".
I checked dmesg. Everything that I identified as sound related is the same between dist kernel and my hand compiled. Microphones are seen,
all firmware is loaded.
Post boot, all the same sound related modules are loaded. I could not see any difference (maybe bad eyes) in module list that relate to sound.
There are two things that may still be different
a) Sound modules for two kernels are not identical - they have different sizes
b) Disttribution kernel uses initramfs, I am not, so sequence of module loading or something maybe different (though dmesg records are in the same sequence)
But mic is not recording. Here I am not sure what can be the next step of trying to find the reason and the cure

