(05-01-2016, 08:34 AM)sadko Wrote:(05-01-2016, 06:58 AM)longsleep Wrote: No other advice as it works for me.
Can you share your output for amixer output below please?
>amixer -c 0 contents
Why? First card is hdmi - i thought you try to play through the codec driver (which is card 1). Also why so complicated - with my settings it works just fine with Pulseaudio - you can easily redirect streams with pavucontrol between HDMI and jack.
For the sake of feedback
This is HDMI:
Code:
ubuntu@pine64-2gb:~$ amixer -c 0 contents
numid=1,iface=MIXER,name='hdmi audio format Function'
; type=ENUMERATED,access=rw------,values=1,items=14
; Item #0 'null'
; Item #1 'pcm'
; Item #2 'AC3'
; Item #3 'MPEG1'
; Item #4 'MP3'
; Item #5 'MPEG2'
; Item #6 'AAC'
; Item #7 'DTS'
; Item #8 'ATRAC'
; Item #9 'ONE_BIT_AUDIO'
; Item #10 'DOLBY_DIGITAL_PLUS'
; Item #11 'DTS_HD'
; Item #12 'MAT'
; Item #13 'WMAPRO'
: values=1
And this is the one for the audio jack.
Code:
ubuntu@pine64-2gb:~$ amixer -c 1 contents
numid=112,iface=MIXER,name='Headphone Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=29,iface=MIXER,name='Phoneout Mixer Lout_Mixer_Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=26,iface=MIXER,name='Phoneout Mixer MIC1 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=27,iface=MIXER,name='Phoneout Mixer MIC2 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=28,iface=MIXER,name='Phoneout Mixer Rout_Mixer_Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=23,iface=MIXER,name='Phoneout gain control'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=-4.50dB,step=1.50dB,mute=0
numid=22,iface=MIXER,name='ADC input gain control'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=-4.50dB,step=1.50dB,mute=0
numid=10,iface=MIXER,name='ADC volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=31,iface=MIXER,name='ADCL Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'ADC'
; Item #1 'DMIC'
: values=1
numid=30,iface=MIXER,name='ADCR Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'ADC'
; Item #1 'DMIC'
: values=1
numid=25,iface=MIXER,name='I2S HUB FUNC'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=97,iface=MIXER,name='AIF1 AD0L Mixer ADCL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=95,iface=MIXER,name='AIF1 AD0L Mixer AIF1 DA0L Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=96,iface=MIXER,name='AIF1 AD0L Mixer AIF2 DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=98,iface=MIXER,name='AIF1 AD0L Mixer AIF2 DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=93,iface=MIXER,name='AIF1 AD0R Mixer ADCR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=91,iface=MIXER,name='AIF1 AD0R Mixer AIF1 DA0R Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=94,iface=MIXER,name='AIF1 AD0R Mixer AIF2 DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=92,iface=MIXER,name='AIF1 AD0R Mixer AIF2 DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=90,iface=MIXER,name='AIF1 AD1L Mixer ADCL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=89,iface=MIXER,name='AIF1 AD1L Mixer AIF2 DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=88,iface=MIXER,name='AIF1 AD1R Mixer ADCR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=87,iface=MIXER,name='AIF1 AD1R Mixer AIF2 DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=5,iface=MIXER,name='AIF1 ADC timeslot 0 mixer gain'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=0,0
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=1,iface=MIXER,name='AIF1 ADC timeslot 0 volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=6,iface=MIXER,name='AIF1 ADC timeslot 1 mixer gain'
; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
: values=0,0
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=2,iface=MIXER,name='AIF1 ADC timeslot 1 volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=3,iface=MIXER,name='AIF1 DAC timeslot 0 volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=153,153
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=4,iface=MIXER,name='AIF1 DAC timeslot 1 volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=102,iface=MIXER,name='AIF1IN0L Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_DA0L'
; Item #1 'AIF1_DA0R'
; Item #2 'SUM_AIF1DA0L_AIF1DA0R'
; Item #3 'AVE_AIF1DA0L_AIF1DA0R'
: values=0
numid=101,iface=MIXER,name='AIF1IN0R Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_DA0R'
; Item #1 'AIF1_DA0L'
; Item #2 'SUM_AIF1DA0L_AIF1DA0R'
; Item #3 'AVE_AIF1DA0L_AIF1DA0R'
: values=0
numid=100,iface=MIXER,name='AIF1IN1L Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_DA1L'
; Item #1 'AIF1_DA1R'
; Item #2 'SUM_AIF1DA1L_AIF1DA1R'
; Item #3 'AVE_AIF1DA1L_AIF1DA1R'
: values=0
numid=99,iface=MIXER,name='AIF1IN1R Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_DA1R'
; Item #1 'AIF1_DA1L'
; Item #2 'SUM_AIF1DA1L_AIF1DA1R'
; Item #3 'AVE_AIF1DA1L_AIF1DA1R'
: values=1
numid=106,iface=MIXER,name='AIF1OUT0L Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_AD0L'
; Item #1 'AIF1_AD0R'
; Item #2 'SUM_AIF1AD0L_AIF1AD0R'
; Item #3 'AVE_AIF1AD0L_AIF1AD0R'
: values=0
numid=105,iface=MIXER,name='AIF1OUT0R Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_AD0R'
; Item #1 'AIF1_AD0L'
; Item #2 'SUM_AIF1AD0L_AIF1AD0R'
; Item #3 'AVE_AIF1AD0L_AIF1AD0R'
: values=0
numid=104,iface=MIXER,name='AIF1OUT1L Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_AD1L'
; Item #1 'AIF1_AD1R'
; Item #2 'SUM_AIF1ADC1L_AIF1ADC1R'
; Item #3 'AVE_AIF1ADC1L_AIF1ADC1R'
: values=0
numid=103,iface=MIXER,name='AIF1OUT1R Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF1_AD1R'
; Item #1 'AIF1_AD1L'
; Item #2 'SUM_AIF1ADC1L_AIF1ADC1R'
; Item #3 'AVE_AIF1ADC1L_AIF1ADC1R'
: values=0
numid=9,iface=MIXER,name='AIF2 ADC mixer gain'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=0,0
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=7,iface=MIXER,name='AIF2 ADC volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=55,iface=MIXER,name='AIF2 ADL Mixer ADCL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=52,iface=MIXER,name='AIF2 ADL Mixer AIF1 DA0L Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=53,iface=MIXER,name='AIF2 ADL Mixer AIF1 DA1L Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=54,iface=MIXER,name='AIF2 ADL Mixer AIF2 DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=51,iface=MIXER,name='AIF2 ADR Mixer ADCR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=48,iface=MIXER,name='AIF2 ADR Mixer AIF1 DA0R Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=49,iface=MIXER,name='AIF2 ADR Mixer AIF1 DA1R Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=50,iface=MIXER,name='AIF2 ADR Mixer AIF2 DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=8,iface=MIXER,name='AIF2 DAC volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=57,iface=MIXER,name='AIF2INL Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF2_DACL'
; Item #1 'AIF2_DACR'
; Item #2 'SUM_AIF2DACL_AIF2DACR'
; Item #3 'AVE_AIF2DACL_AIF2DACR'
: values=0
numid=108,iface=MIXER,name='AIF2INL Mux VIR switch aif2inl aif3'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=110,iface=MIXER,name='AIF2INL Mux switch aif2inl aif2'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=56,iface=MIXER,name='AIF2INR Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF2_DACR'
; Item #1 'AIF2_DACL'
; Item #2 'SUM_AIF2DACL_AIF2DACR'
; Item #3 'AVE_AIF2DACL_AIF2DACR'
: values=0
numid=107,iface=MIXER,name='AIF2INR Mux VIR switch aif2inr aif3'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=109,iface=MIXER,name='AIF2INR Mux switch aif2inr aif2'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=59,iface=MIXER,name='AIF2OUTL Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF2_ADCL'
; Item #1 'AIF2_ADCR'
; Item #2 'SUM_AIF2_ADCL_AIF2_ADCR'
; Item #3 'AVE_AIF2_ADCL_AIF2_ADCR'
: values=0
numid=58,iface=MIXER,name='AIF2OUTR Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'AIF2_ADCR'
; Item #1 'AIF2_ADCL'
; Item #2 'SUM_AIF2_ADCL_AIF2_ADCR'
; Item #3 'AVE_AIF2_ADCL_AIF2_ADCR'
: values=0
numid=47,iface=MIXER,name='AIF3OUT Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'AIF2 ADC left channel'
; Item #1 'AIF2 ADC right channel'
: values=0
numid=12,iface=MIXER,name='DAC mixer gain'
; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
: values=0,0
| dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=11,iface=MIXER,name='DAC volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0
: values=0,0
| dBscale-min=-119.25dB,step=0.75dB,mute=0
numid=83,iface=MIXER,name='DACL Mixer ADCL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=86,iface=MIXER,name='DACL Mixer AIF1DA0L Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=85,iface=MIXER,name='DACL Mixer AIF1DA1L Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=84,iface=MIXER,name='DACL Mixer AIF2DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=79,iface=MIXER,name='DACR Mixer ADCR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=82,iface=MIXER,name='DACR Mixer AIF1DA0R Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=81,iface=MIXER,name='DACR Mixer AIF1DA1R Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=80,iface=MIXER,name='DACR Mixer AIF2DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=60,iface=MIXER,name='EAR Mux'
; type=ENUMERATED,access=rw------,values=1,items=4
; Item #0 'DACR'
; Item #1 'DACL'
; Item #2 'Right Analog Mixer'
; Item #3 'Left Analog Mixer'
: values=0
numid=113,iface=MIXER,name='Earpiece Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=111,iface=MIXER,name='External Speaker Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=63,iface=MIXER,name='HP_L Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'DACL HPL Switch'
; Item #1 'Left Analog Mixer HPL Switch'
: values=0
numid=64,iface=MIXER,name='HP_R Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'DACR HPR Switch'
; Item #1 'Right Analog Mixer HPR Switch'
: values=0
numid=42,iface=MIXER,name='LADC input Mixer LINEINL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=40,iface=MIXER,name='LADC input Mixer MIC1 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=41,iface=MIXER,name='LADC input Mixer MIC2 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=45,iface=MIXER,name='LADC input Mixer PHONINP Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=46,iface=MIXER,name='LADC input Mixer PHONINP-PHONINN Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=43,iface=MIXER,name='LADC input Mixer l_output mixer Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=44,iface=MIXER,name='LADC input Mixer r_output mixer Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=21,iface=MIXER,name='LINEINL/R to L_R output mixer gain'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=-4.50dB,step=1.50dB,mute=0
numid=73,iface=MIXER,name='Left Output Mixer DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=72,iface=MIXER,name='Left Output Mixer DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=74,iface=MIXER,name='Left Output Mixer LINEINL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=76,iface=MIXER,name='Left Output Mixer MIC1Booststage Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=75,iface=MIXER,name='Left Output Mixer MIC2Booststage Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=77,iface=MIXER,name='Left Output Mixer PHONEINP Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=78,iface=MIXER,name='Left Output Mixer PHONEINP-PHONEINN Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=18,iface=MIXER,name='MIC1 boost AMP gain control'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=0.00dB,step=2.00dB,mute=0
numid=17,iface=MIXER,name='MIC1_G boost stage output mixer control'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=-4.50dB,step=1.50dB,mute=0
numid=19,iface=MIXER,name='MIC2 BST stage to L_R outp mixer gain'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=-4.50dB,step=1.50dB,mute=0
numid=32,iface=MIXER,name='MIC2 SRC'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'MIC3'
; Item #1 'MIC2'
: values=1
numid=20,iface=MIXER,name='MIC2 boost AMP gain control'
; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
: values=0
| dBscale-min=0.00dB,step=2.00dB,mute=0
numid=35,iface=MIXER,name='RADC input Mixer LINEINR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=33,iface=MIXER,name='RADC input Mixer MIC1 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=34,iface=MIXER,name='RADC input Mixer MIC2 boost Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=38,iface=MIXER,name='RADC input Mixer PHONINN Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=39,iface=MIXER,name='RADC input Mixer PHONINN-PHONINP Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=37,iface=MIXER,name='RADC input Mixer l_output mixer Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=36,iface=MIXER,name='RADC input Mixer r_output mixer Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=65,iface=MIXER,name='Right Output Mixer DACL Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=66,iface=MIXER,name='Right Output Mixer DACR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=67,iface=MIXER,name='Right Output Mixer LINEINR Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=69,iface=MIXER,name='Right Output Mixer MIC1Booststage Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=68,iface=MIXER,name='Right Output Mixer MIC2Booststage Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=70,iface=MIXER,name='Right Output Mixer PHONEINN Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=71,iface=MIXER,name='Right Output Mixer PHONEINN-PHONEINP Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=61,iface=MIXER,name='SPK_L Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'MIXEL Switch'
; Item #1 'MIXL MIXR Switch'
: values=0
numid=62,iface=MIXER,name='SPK_R Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'MIXER Switch'
; Item #1 'MIXR MIXL Switch'
: values=0
numid=24,iface=MIXER,name='SRC FUCTION'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=13,iface=MIXER,name='digital volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=63,step=0
: values=0
| dBscale-min=-73.08dB,step=1.16dB,mute=0
numid=14,iface=MIXER,name='earpiece volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
: values=0
| dBscale-min=-43.50dB,step=1.50dB,mute=0
numid=16,iface=MIXER,name='headphone volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=63,step=0
: values=44
| dBscale-min=-63.00dB,step=1.00dB,mute=0
numid=15,iface=MIXER,name='speaker volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
: values=0
| dBscale-min=-48.00dB,step=1.50dB,mute=0
@sadko just saw from your aplay -l that your hdmiaudio is card 1 - means your Kernel is outdated.