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

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.

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