-------- Forwarded Message -------- Subject: Issue on Linux 4.12-rc7 on iMX6 based board Date: Wed, 28 Jun 2017 17:32:34 +0200 From: gianluca gianlucarenzi@eurekelettronica.it To: alsa-devel@alsa-project.org alsa-devel@alsa-project.org
Hello list,
I have some issue using the sgtl5000 on two custom boards based with iMX6. One board has iMX6DL and the other has iMX6QP.
The issue is I have a (dramatically high) strange value on mixer settings (looks like a int32 limit or similar)
This is the output of amixer:
# amixer Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 0 [2147483647%] [-51.50dB] [on] Front Right: Playback 0 [2147483647%] [-51.50dB] [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 1 [2147483647%] Front Right: Playback 0 [2147483647%] Simple mixer control 'Lineout',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 18 [2147483647%] [-6.50dB] [on] Front Right: Playback 18 [2147483647%] [-6.50dB] [on] Simple mixer control 'Mic',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 3 Mono: 0 [2147483647%] [0.00dB] Simple mixer control 'Capture',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 0 [2147483647%] Front Right: Capture 0 [2147483647%] 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 [on]
In attachment there is a screenshot of alsamixer
All audio stuff are not hear at all.... :-(
After the output of the sgtl5000 I have a audio-booster and it is set at the maximum level. I have another board based on the iMX28, SGTL5000 and the same audio booster and everything is working good. So I can suppose something related the initialization of the codec.
Any help?
Best Regards, Gianluca Renzi