Rock Pi 4c: no 3.5 jack audio on Armbian focal


mkr

Recommended Posts

Armbianmonitor:

My system has:

 

$uname -a 
Linux rkpi 5.8.11-rockchip64 #20.08.4 SMP PREEMPT Wed Sep 23 17:51:13 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux

 

Sound stack seems to be loaded, but alsa/pulseaudio sees only hdmi-output device (aplay log below). How to enable analog ouput on 3.5 mm jack?

 

 

$sudo aplay -lL
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
sysdefault:CARD=hdmisound
    hdmi-sound, ff8a0000.i2s-i2s-hifi i2s-hifi-0
    Default Audio Device
dmix:CARD=hdmisound,DEV=0
    hdmi-sound, ff8a0000.i2s-i2s-hifi i2s-hifi-0
    Direct sample mixing device
dsnoop:CARD=hdmisound,DEV=0
    hdmi-sound, ff8a0000.i2s-i2s-hifi i2s-hifi-0
    Direct sample snooping device
hw:CARD=hdmisound,DEV=0
    hdmi-sound, ff8a0000.i2s-i2s-hifi i2s-hifi-0
    Direct hardware device without any conversions
plughw:CARD=hdmisound,DEV=0
    hdmi-sound, ff8a0000.i2s-i2s-hifi i2s-hifi-0
    Hardware device with all software conversions
usbstream:CARD=hdmisound
    hdmi-sound
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 

 

 

Link to post
Share on other sites
Donate and support the project!

Hi

I have the same problem @

Linux rockpi-4c 5.8.13-rockchip64 #20.08.8 SMP PREEMPT Mon Oct 5 15:59:02 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux

NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Armbian 20.08.9 Bionic"
VERSION_ID="18.04"
 

**** List of PLAYBACK Hardware Devices ****
card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


My experience shows that the original Radxa kernel 4.4.153 shows audio devices and the Alsamixer offers many options.
It would be very nice if the same behavior occurs in the armbian (without the old legacy kernel).

 

 

Link to post
Share on other sites
On 9/28/2020 at 9:10 PM, mkr said:

How to enable analog ouput on 3.5 mm jack?

 

On 10/12/2020 at 4:09 PM, britus said:

It would be very nice if the same behavior occurs in the armbian (without the old legacy kernel).

 

It is fixed in master as of https://github.com/armbian/build/commit/1c29779e573956461b985c03cd293f5cf6ae1609

It will be part of v20.11 release.

 

If you want it sooner... Put the following content into fix-es8316.dts file.

Spoiler

/dts-v1/;
/plugin/;

/ {
        compatible = "rockchip,rk3399";

        fragment@0 {
                target = <&i2s0_8ch_bus>;


                __overlay__ {
                        rockchip,pins =
                                <3 24 1 &pcfg_pull_none>,
                                <3 25 1 &pcfg_pull_none>,
                                <3 26 1 &pcfg_pull_none>,
                                <3 27 1 &pcfg_pull_none>,
                                <3 31 1 &pcfg_pull_none>;
                };
        };
};

 

Run "armbian-add-overlay fix-es8316.dts", reboot and enjoy!

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...