[alsa-devel] Issue on Linux 4.12-rc7 on iMX6 based board

gianluca gianlucarenzi at eurekelettronica.it
Wed Jun 28 17:32:34 CEST 2017


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
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sgtl5000-ek360.png
Type: image/png
Size: 48066 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170628/3754d7d5/attachment-0001.png>


More information about the Alsa-devel mailing list