Files
omarchycn/install/hardware/lenovo/fix-yoga-pro7-bass-speakers.sh
T
Ryan Hughes 75cb4f7195 Make setup ISO-only
Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
2026-06-04 18:37:32 -04:00

12 lines
502 B
Bash

# Fix bass speakers on Lenovo Yoga Pro 7 14IAH10
# The ALC287 codec needs a pin quirk to route audio to both AMP speakers.
# Without this quirk, only one speaker works and bass output is missing.
# Reference: https://wiki.archlinux.org/title/Lenovo_Yoga_9i_2022_(14AiPI7)
if omarchy-hw-match "Yoga Pro 7 14IAH10"; then
sudo mkdir -p /etc/modprobe.d
sudo tee /etc/modprobe.d/lenovo-yoga-pro7-bass.conf >/dev/null <<'EOF'
options snd-sof-intel-hda-generic hda_model=alc287-yoga9-bass-spk-pin
EOF
fi