2026-04-07
dtparam=audio=off dtparam=i2s=on dtoverlay=hifiberry-dac
aplay -l
결과:
card 1: sndrpihifiberry device 0
문제: - hw:0,0 → 실패 - hw:1,0 → dmix 오류
해결:
ogg123 -d alsa -o device=plughw:1,0 Bond.ogg
또는
ogg123 Bond.ogg
pcm.softvol {
type softvol
slave.pcm "hw:CARD=sndrpihifiberry,DEV=0"
control {
name "PCM"
card sndrpihifiberry
}
}
pcm.!default {
type plug
slave.pcm "softvol"
}
ctl.!default {
type hw
card sndrpihifiberry
}
amixer set PCM 70%
시리얼 출력:
BTN:UP BTN:SEL_LP ENC:+1 POT:523