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                  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 
>       │
> │                                                                         
>                                                                             
>   │
> │                                                                         
>                                                                             
>   │
>
> └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
> 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 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<span style="color
>>
>

-- 
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/c47a45b4-05f5-42b1-9660-20d2169718d1o%40googlegroups.com.

Reply via email to