Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
12 lines
502 B
Bash
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
|