Missing info:

#
# Allwinner SoC Audio support
#
CONFIG_SND_SUN4I_CODEC=m
CONFIG_SND_SUN8I_CODEC=m
CONFIG_SND_SUN8I_CODEC_ANALOG=m
CONFIG_SND_SUN50I_CODEC_ANALOG=m
CONFIG_SND_SUN4I_I2S=m
CONFIG_SND_SUN4I_SPDIF=m
CONFIG_SND_SUN8I_ADDA_PR_REGMAP=m
# end of Allwinner SoC Audio support


# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set
# CONFIG_SND_SOC_XILINX_SPDIF is not set
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# CONFIG_ZX_TDM is not set
CONFIG_SND_SOC_I2C_AND_SPI=y


#
# CODEC drivers
#
CONFIG_SND_SOC_AC97_CODEC=m
CONFIG_SND_SOC_ADAU_UTILS=m
CONFIG_SND_SOC_ADAU1701=m
CONFIG_SND_SOC_ADAU17X1=m
CONFIG_SND_SOC_ADAU1761=m
CONFIG_SND_SOC_ADAU1761_I2C=m
CONFIG_SND_SOC_ADAU1761_SPI=m
CONFIG_SND_SOC_ADAU7002=m
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
CONFIG_SND_SOC_AK4104=m
# CONFIG_SND_SOC_AK4118 is not set
CONFIG_SND_SOC_AK4458=m
CONFIG_SND_SOC_AK4554=m
CONFIG_SND_SOC_AK4613=m
CONFIG_SND_SOC_AK4642=m
CONFIG_SND_SOC_AK5386=m
CONFIG_SND_SOC_AK5558=m
CONFIG_SND_SOC_ALC5623=m
CONFIG_SND_SOC_BD28623=m
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# CONFIG_SND_SOC_CS35L34 is not set
# CONFIG_SND_SOC_CS35L35 is not set
# CONFIG_SND_SOC_CS35L36 is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
CONFIG_SND_SOC_CS43130=m
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CX2072X is not set
# CONFIG_SND_SOC_DA7213 is not set
CONFIG_SND_SOC_DMIC=m
CONFIG_SND_SOC_HDMI_CODEC=m
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not set
# CONFIG_SND_SOC_ES8316 is not set
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_GTM601 is not set
# CONFIG_SND_SOC_INNO_RK3036 is not set
# CONFIG_SND_SOC_MAX98088 is not set
# CONFIG_SND_SOC_MAX98357A is not set
# CONFIG_SND_SOC_MAX98504 is not set
CONFIG_SND_SOC_MAX9867=m
CONFIG_SND_SOC_MAX98927=m
CONFIG_SND_SOC_MAX98373=m
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
CONFIG_SND_SOC_PCM1789=m
CONFIG_SND_SOC_PCM1789_I2C=m
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
CONFIG_SND_SOC_PCM186X=m
CONFIG_SND_SOC_PCM186X_I2C=m
CONFIG_SND_SOC_PCM186X_SPI=m
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_RK3328 is not set
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_SGTL5000 is not set
CONFIG_SND_SOC_SIGMADSP=m
CONFIG_SND_SOC_SIGMADSP_I2C=m
CONFIG_SND_SOC_SIGMADSP_REGMAP=m
CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m
# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
CONFIG_SND_SOC_SPDIF=m
CONFIG_SND_SOC_SSM2305=m
CONFIG_SND_SOC_SSM2602=m
CONFIG_SND_SOC_SSM2602_SPI=m
CONFIG_SND_SOC_SSM2602_I2C=m
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
CONFIG_SND_SOC_TAS6424=m
CONFIG_SND_SOC_TDA7419=m
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
CONFIG_SND_SOC_TLV320AIC32X4=m
CONFIG_SND_SOC_TLV320AIC32X4_I2C=m
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X is not set
# CONFIG_SND_SOC_TLV320ADCX140 is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_TSCS42XX is not set
CONFIG_SND_SOC_TSCS454=m
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
CONFIG_SND_SOC_WM8524=m
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731 is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_ZX_AUD96P22 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8540 is not set
# CONFIG_SND_SOC_NAU8810 is not set
# CONFIG_SND_SOC_NAU8822 is not set
# CONFIG_SND_SOC_NAU8824 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# end of CODEC drivers


CONFIG_SND_SIMPLE_CARD_UTILS=m
CONFIG_SND_SIMPLE_CARD=m
# CONFIG_SND_AUDIO_GRAPH_CARD is not set
CONFIG_AC97_BUS=y


Thank you

On Wednesday, July 8, 2020 at 3:45:42 PM UTC-3, @lex wrote:
>
> Hi ChenYu,
>
> Card is detected and ALSA mixer controls are enabled but no sound output 
> to Jack (not even noise) only HDMI out ..
> I have Kernel 5.7 with the i2s patches applied and is now up to date.
> Using CLI only. Could be just ALSA mixer misconfiguration but i can't be 
> sure since i have tried all configurations for ALSA mixer.
> If i have a Kernel 5.7 with working Jack sound i can be sure the problem 
> is ALSA mixer configuration.
>
> Relevant Info:
>
> * Kernel 5.7.7
>
> aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i 
> sun8i-0 [1c22c00.dai-sun8i sun8i-0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: allwinnerhdmi [allwinner-hdmi], device 0: 1c22800.i2s-i2s-hifi i2s
> -hifi-0 [1c22800.i2s-i2s-hifi i2s-hifi-0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>
>
>
>
> amixer
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pvolume-joined pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 63
>   Mono:
>   Front Left: Playback 56 [89%] [-7.00dB] [on]
>   Front Right: Playback 56 [89%] [-7.00dB] [on]
> Simple mixer control 'Headphone Source',0
>   Capabilities: penum
>   Items: 'DAC' 'Mixer'
>   Item0: 'DAC'
>   Item1: 'DAC'
> Simple mixer control 'Line In',0
>   Capabilities: pvolume pvolume-joined pswitch cswitch
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 7
>   Front Left: Playback 6 [86%] [4.50dB] [off] Capture [off]
>   Front Right: Playback 6 [86%] [4.50dB] [off] Capture [off]
> Simple mixer control 'Line Out',0
>   Capabilities: pvolume pvolume-joined pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 26 [84%] [-7.50dB] [on]
>   Front Right: Playback 26 [84%] [-7.50dB] [on]
> Simple mixer control 'Line Out Source',0
>   Capabilities: penum
>   Items: 'Stereo' 'Mono Differential'
>   Item0: 'Stereo'
>   Item1: 'Stereo'
> Simple mixer control 'Mic1',0
>   Capabilities: pvolume pvolume-joined pswitch cswitch
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 7
>   Front Left: Playback 5 [71%] [3.00dB] [off] Capture [off]
>   Front Right: Playback 5 [71%] [3.00dB] [off] Capture [off]
> Simple mixer control 'Mic1 Boost',0
>   Capabilities: volume volume-joined
>   Playback channels: Mono
>   Capture channels: Mono
>   Limits: 0 - 7
>   Mono: 5 [71%] [36.00dB]
> Simple mixer control 'Mic2',0
>   Capabilities: pvolume pvolume-joined pswitch cswitch
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 7
>   Front Left: Playback 6 [86%] [4.50dB] [off] Capture [off]
>   Front Right: Playback 6 [86%] [4.50dB] [off] Capture [off]
> Simple mixer control 'Mic2 Boost',0
>   Capabilities: volume volume-joined
>   Playback channels: Mono
>   Capture channels: Mono
>   Limits: 0 - 7
>   Mono: 6 [86%] [39.00dB]
> Simple mixer control 'Mixer',0
>   Capabilities: cswitch
>   Capture channels: Front Left - Front Right
>   Front Left: Capture [off]
>   Front Right: Capture [off]
> Simple mixer control 'Mixer Reversed',0
>   Capabilities: cswitch
>   Capture channels: Front Left - Front Right
>   Front Left: Capture [off]
>   Front Right: Capture [off]
> Simple mixer control 'ADC Gain',0
>   Capabilities: cvolume cvolume-joined
>   Capture channels: Mono
>   Limits: Capture 0 - 7
>   Mono: Capture 3 [43%] [0.00dB]
> Simple mixer control 'AIF1 Data Digital ADC',0
>   Capabilities: cswitch
>   Capture channels: Front Left - Front Right
>   Front Left: Capture [off]
>   Front Right: Capture [off]
> Simple mixer control 'AIF1 Slot 0 Digital DAC',0
>   Capabilities: pswitch
>   Playback channels: Front Left - Front Right
>   Mono:
>   Front Left: Playback [off]
>   Front Right: Playback [off]
> Simple mixer control 'DAC',0
>   Capabilities: pswitch
>   Playback channels: Front Left - Front Right
>   Mono:
>   Front Left: Playback [on]
>   Front Right: Playback [on]
> Simple mixer control 'DAC Reversed',0
>   Capabilities: pswitch
>   Playback channels: Front Left - Front Right
>   Mono:
>   Front Left: Playback [off]
>   Front Right: Playback [off]
> Simple mixer control 'Earpiece',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 31
>   Mono: Playback 29 [94%] [-3.00dB] [off]
> Simple mixer control 'Earpiece Source',0
>   Capabilities: penum
>   Items: 'DACR' 'DACL' 'Right Mixer' 'Left Mixer'
>   Item0: 'DACL'
>
>
>
> ────────────────────────────────────────────────────────────────── 
> AlsaMixer v1.2.2 
> ───────────────────────────────────────────────────────────────────┐
> │ Card: sun50i-a64-audio                                                 
>                                                        F1:  Help         
>       │
> │ Chip:                                                                   
>                                                       F2:  System 
> information │
> │ View: F3:[Playback] F4: Capture  F5: All                               
>                                                        F6:  Select sound 
> card  │
> │ Item: Headphone [dB gain: -7.00]                                       
>                                                        Esc: Exit         
>       │
> │                                                                         
>                                                                             
>   │
> │                                                                         
>                                                                             
>   │
> │        ┌──┐                ┌──┐      ┌──┐                ┌──┐      ┌──┐ 
>      ┌──┐      ┌──┐                                    ┌──┐               
>     │
> │        │  │                │  │      │  │                │  │      │  │ 
>      │  │      │  │                                    │  │               
>     │
> │        │  │                │  │      │  │                │  │      │  │ 
>      │  │      │  │                                    │▒▒│               
>     │
> │        │  │                │▒▒│      │  │                │  │      │  │ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │  │      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        ├──┤       DAC      ├──┤      ├──┤     Stereo     ├──┤      └──┘ 
>      ├──┤      └──┘      ┌──┐      ┌──┐      ┌──┐      ├──┤      DACL     
>     │
> │        │OO│                │MM│      │OO│                │MM│           
>      │MM│                │MM│      │OO│      │MM│      │MM│               
>     │
> │        └──┘                └──┘      └──┘                └──┘           
>      └──┘                └──┘      └──┘      └──┘      └──┘               
>     │
> │         76                  86        75                  71        74 
>        86        86                                      89               
>      │
> │     <Headphone>Headphone  Line In  Line Out  Line Out    Mic1    Mic1 
> Boos   Mic2    Mic2 Boos AIF1 Slot    DAC    DAC Rever Earpiece  Earpiece 
>       │
> │                                                                         
>                                                                             
>   │
> │                                                                         
>                                                                             
>   │
>
> └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
>
> Thank you.
>
>
> On Wednesday, July 8, 2020 at 1:06:58 PM UTC-3, Chen-Yu Tsai wrote:
>>
>> On Wed, Jul 8, 2020 at 11:59 PM @lex <alex....@gmail.com> wrote: 
>> > 
>> > Hi, 
>> > Can anyone point to a linux-next  kernel with working sound output 
>> Jack, 5.7 linux-next...? Pine64+. 
>>
>> Please at least describe the issue you are facing. 
>>
>> Is the sound card detected? Are you enabling all the needed Kconfig 
>> options? 
>> Have you checked ALSA mixer and enabled the needed controls? 
>>
>> ChenYu 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/501ba3a5-753e-4929-913b-728dede6b6bdo%40googlegroups.com.

Reply via email to