Question
No Audio Output from SGTL5000 on STM32MP13-Disco
hai everyone,
i’m working with the sgtl5000 codec on my stm32mp13-disco board but i get no sound from the headphone jack or line-out. here are my alsa mixer settings after amixer -c 0.
root@stm32mp13-disco:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: stm32mp1sgtl500 [stm32mp1-sgtl5000], device 0: 4400a004.audio-controller-sgtl5000 sgtl5000-0 [4400a004.audio-controller-sgtl5000 sgtl5000-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Subdevice #0: subdevice #0
root@stm32mp13-disco:~# amixer -c 0
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [12.00dB] [on]
Front Right: Playback 127 [100%] [12.00dB] [on]
Simple mixer control 'Headphone Mux',0
Capabilities: enum
Items: 'DAC' 'LINE_IN'
Item0: 'DAC'
Simple mixer control 'Headphone Playback ZC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 192
Mono:
Front Left: Playback 188 [98%]
Front Right: Playback 188 [98%]
Simple mixer control 'Lineout',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 0 [0%] [0.00dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 12 [80%] [on]
Front Right: Capture 12 [80%] [on]
Simple mixer control 'Capture Attenuate Switch (-6dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture Mux',0
Capabilities: enum
Items: 'MIC_IN' 'LINE_IN'
Item0: 'MIC_IN'
Simple mixer control 'Capture ZC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'AVC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'AVC Hard Limiter',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'AVC Integrator Response',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 1 [33%]
Simple mixer control 'AVC Max Gain',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 2
Mono: 1 [50%] [6.00dB]
Simple mixer control 'AVC Threshold',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 96
Mono: 12 [12%] [12.00dB]
Simple mixer control 'BASS 0',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 95
Mono: 47 [49%]
Simple mixer control 'BASS 1',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 95
Mono: 47 [49%]
Simple mixer control 'BASS 2',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 95
Mono: 47 [49%]
Simple mixer control 'BASS 3',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 95
Mono: 47 [49%]
Simple mixer control 'BASS 4',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 95
Mono: 47 [49%]
Simple mixer control 'DAP MIX Mux',0
Capabilities: enum
Items: 'ADC' 'I2S'
Item0: 'I2S'
Simple mixer control 'DAP Main channel',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 65535
Mono: 65535 [100%]
Simple mixer control 'DAP Mix channel',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 65535
Mono: 0 [0%]
Simple mixer control 'DAP Mux',0
Capabilities: enum
Items: 'ADC' 'I2S'
Item0: 'I2S'
Simple mixer control 'Digital Input Mux',0
Capabilities: enum
Items: 'ADC' 'I2S' 'Rsvrd' 'DAP'
Item0: 'I2S'Everything looks unmuted and at max volume but speaker-test and aplay test.wav are silent.
any ideas on which setting to change or what else to check? thanks!
