Re: [linux-sunxi] Pine64+ sound output Jack [Works]

2020-07-08 Thread @lex
Oops, sorry for the noise. Unmuting some controls were enough to get the 
sound. 
I get noise with aplay -D sysdefault:CARD=0 
/usr/share/sounds/alsa/Front_Right.wav but works after installing Gnome!


On Wednesday, July 8, 2020 at 3:50:02 PM UTC-3, @lex wrote:
>
> Post was inncompçlete, here is my configuration:
>
>
> ┌── 
> 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  8675  7174 
>8686  89   
>  │
> │ Headphone  Line In  Line Out  Line OutMic1Mic1 
> Boos   Mic2Mic2 Boos AIF1 SlotDACDAC Rever Earpiece  Earpiece 
>   │
> │ 
> 
>   │
> │ 
> 
>   │
>
> 

Re: [linux-sunxi] Pine64+ sound output Jack

2020-07-08 Thread @lex

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 

Re: [linux-sunxi] Pine64+ sound output Jack

2020-07-08 Thread @lex
Kernel and DT configuration:

 {
 status = "okay";
};


_analog {
 cpvdd-supply = <_eldo1>;
 status = "okay";
};


 {
 status = "okay";
};


 {
 simple-audio-card,aux-devs = <_analog>;
 simple-audio-card,widgets = "Microphone", "Microphone Jack",
 "Headphone", "Headphone Jack";
 simple-audio-card,routing =
 "Left DAC", "AIF1 Slot 0 Left",
 "Right DAC", "AIF1 Slot 0 Right",
 "Headphone Jack", "HP",
 "AIF1 Slot 0 Left ADC", "Left ADC",
 "AIF1 Slot 0 Right ADC", "Right ADC",
 "MIC2", "Microphone Jack";
 status = "okay";
};


CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_PCM_ELD=y
CONFIG_SND_PCM_IEC958=y
CONFIG_SND_DMAENGINE_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_VERBOSE=y
CONFIG_SND_PCM_XRUN_DEBUG=y
# CONFIG_SND_CTL_VALIDATION is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
# CONFIG_SND_SEQUENCER_OSS is not set
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
CONFIG_SND_SEQ_VIRMIDI=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AC97_POWER_SAVE is not set




On Wednesday, July 8, 2020 at 3:50:02 PM UTC-3, @lex wrote:
>
> Post was inncompçlete, here is my configuration:
>
>
> ┌── 
> 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 
>   │
> │ 
> 
>   │
> │ 
> 
>   │
> │┌──┐┌──┐  ┌──┐┌──┐  ┌──┐ 
>  ┌──┐  ┌──┐┌──┐   
> │
> ││  ││  │  │  ││  │  │  │ 
>  │  │  │  ││  │   
> │
> ││  ││  │  │  ││  │  │  │ 
>  │  │  │  ││▒▒│   
> │
> ││  ││▒▒│  │  ││  │  │  │ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││  │  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒││▒▒│   
> │
> ││▒▒││▒▒│  │▒▒││▒▒│  │▒▒│ 
>  │▒▒│  │▒▒│  

Re: [linux-sunxi] Pine64+ sound output Jack

2020-07-08 Thread @lex
Post was inncompçlete, here is my configuration:


┌── 
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  8675  7174   
 8686  89   
 │
│ Headphone  Line In  Line Out  Line OutMic1Mic1 Boos 
  Mic2Mic2 Boos AIF1 SlotDACDAC Rever Earpiece  Earpiece   │
│   

│
│   

│
└───┘
1

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 

Re: [linux-sunxi] Pine64+ sound output Jack

2020-07-08 Thread Chen-Yu Tsai
On Wed, Jul 8, 2020 at 11:59 PM @lex  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/CAGb2v64Vq%3DNrPP89GQXXHeW%2BFym%3DxrG14V0RNzOx-jn3fj7DdA%40mail.gmail.com.