Ubuntu24.04 sof-hda-dsp sound card and headset do not sound, but Bluetooth does

ls /dev/video*
/dev/video0 /dev/video1

cat /proc/asound/cards
0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp
XIAOMI-RedmiBookPro162024--TM2309


inxi -A
Audio:
Device-1: Intel Meteor Lake-P HD Audio driver: sof-audio-pci-intel-mtl
API: ALSA v: k6.8.0-51-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active


aplay -l
**** PLAYBACK List of hardware devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
subset: 1/1
subset #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
subset: 1/1
subset #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
subset: 1/1
subset #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
subset: 1/1
subset #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: Deepbuffer HDA Analog (*) []
subset: 1/1
subset #0: subdevice #0

In Windows 11, there is sound, but in ubuntu24, the sound is enabled, but the sound cannot be played, and the headset cannot be used. May not be supported by the driver,

and later studied, using the following code, the sound can be played normally,

echo "options snd-intel-dspcfg dsp_driver=1" | sudo tee /etc/modprobe.d/alsa-base.conf

sudo alsactl init

but the headset still cannot record, and the list does not have the headset option.

Seems to be a common issue

And

https://bbs.archlinux.org/viewtopic.php?id=279149

sudo vi /etc/modprobe.d/alsa-base.conf

Add the following information to restart the headset. The headset options are empty and recording still cannot be performed.

options snd-intel-dspcfg dsp_driver=1
options snd-sof-intel-hda-common hda_model=aspire-headset-mic
 sudo alsactl init

Found hardware: "HDA-Intel" "Realtek ALC256" "HDA:10ec0256,1d722309,00100002 HDA:8086281d,80860101,00100000" "0x1d72" "0x2309"
Hardware is initialized using a generic method



and sudo reboot.