Skip to content

Commit 2b323b2

Browse files
authored
Fix Audio on ODROID-C4 (#136)
With the new axg-sound-card sound card configuration ODROID-C4 gets a valid sound card now. However, startup doesn't complete since the sound card is not properly setup due to missing soundconfig. This leads to 100% CPU usage by the Audio plug-in on ODROID-C4. This adds soundconfig for ODROID-C4 to fix the problem.
1 parent c9c820d commit 2b323b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rootfs/usr/bin/soundconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ case ${device_id} in
129129
# Yellow - set Analogue Gain to -6dB for line-out circuit
130130
mixer $card 'Analogue' 0
131131
;;
132+
ODROIDC4)
133+
# Amlogic G12 HDMI to PCM0
134+
mixer $card 'FRDDR_A SINK 1 SEL' 'OUT 1'
135+
mixer $card 'FRDDR_A SRC 1 EN' on
136+
mixer $card 'TDMOUT_B SRC SEL' 'IN 0'
137+
mixer $card 'TOHDMITX I2S SRC' 'I2S B'
138+
mixer $card 'TOHDMITX' on
139+
;;
132140
G12BODROIDN2|ODROIDN2)
133141
# Amlogic G12 HDMI to PCM0
134142
mixer $card 'FRDDR_A SINK 1 SEL' 'OUT 1'

0 commit comments

Comments
 (0)