laptop: Redmi Redmi 16 2024, model: XIAOMI-RedmiBookPro162024 - TM2309
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,
but the headset still cannot record, and the list does not have the headset option.
Code:
Linux servers 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu Desktop
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
Bash:
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
and later studied, using the following code, the sound can be played normally,
Bash:
echo "options snd-intel-dspcfg dsp_driver=1" | sudo tee /etc/modprobe.d/alsa-base.conf
sudo alsactl init

