[Bug Report] Yoga Duet的Realtek ALC287 扬声器失效
Tofloor
poster avatar
永恒之银
deepin
13 hours ago
Author

Yoga Duet的Realtek ALC287 codec 的*扬声器功放(Node Ox20)在SOF 下不会自动开启,需要手动写COEF寄存器才能激活

deepin版本:25.2.0

手工规避方法:

sudo bash core-fix.sh

core-fix.sh脚本详情:

cyq@cyq-PC:~$ cat coef-fix.sh 
#!/bin/bash
# Lenovo Yoga Duet ITL 2021 (ALC287) Speaker Amplifier COEF Fix

# 左声道
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x24
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x41
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x26
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x02
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x00
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x00
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x20

# 右声道
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x24
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x46
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x26
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x0c
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x00
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x2a
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x20
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x26
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x02
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x00
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x00
sudo hda-verb /dev/snd/hwC0D0 0x20 0x4b0 0x20
cyq@cyq-PC:~$ 
Reply Favorite View the author
All Replies
avatar
永恒之银
deepin
13 hours ago
#1

希望新版本可以兼容Yoga Duet的Realtek ALC287的声卡。

Reply View the author