/boot/config.txt에 아래 설정을 추가하여 HDMI를 사운드 사용모드로 설정.
hdmi_drive=2
아래 명령어를 입력하여 오디오 출력을 HDMI로 설정.
amixer cset numid=3 2
아래 명령어로 HDMI 사운드 출력 확인
aplay /usr/share/sounds/alsa/Front_Center.wav
[참조]
https://www.raspberrypi.org/documentation/configuration/audio-config.md
'RaspberryPi' 카테고리의 다른 글
[RaspberryPi] 콘솔모드로 연결된 모니터가 일정시간 경과후 꺼지는 현상 방지 (prevent Raspberry Pi console screen blanking) (0) | 2016.11.21 |
---|---|
[RaspberryPi] 부팅시 나오는 산딸기 로고 없애기 (remove raspberry logo on boot) (0) | 2016.11.21 |
[RaspberryPi] 콘솔 화면 회전 (ratate console) (0) | 2016.11.21 |
[RaspberryPi] HDMI 콘솔 해상도 설정 (HDMI console resolution) (0) | 2016.11.21 |
[RaspberryPi] 커맨드라인 명령어로 GPIO 사용하기 (0) | 2016.08.30 |