Skip to content

No sound on S905X3 #26

Open
Open
@phodina

Description

@phodina

Hi @unifreq, @ophub ,
thanks for your work on maintaining the Linux kernel!

I've used your patches to build mainline for X96 Max Plus 4G/32G 100M LAN.

My aim is to package it for PostmarketOS which is based on Alpine to give more use to these cool devices.

However, there seems to be an issue with the sound as ALSA can't detect any card. Any hint about what's wrong?

I'm using mainline u-boot with some binaries for the early stages and mainline kernel.

There are just 2 partitions - boot and system.

Here's what I get when trying to query ALSA:

$ alsamixer
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5704:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1529:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory

Here's the kernel config.txt

I've tried all the DTS from the arch/arm64/boot/dts/amlogic/meson-sm1-* but none got the audio working. All booted but some had ethernet issues.

Any idea how to fix that? The sound worked with the stock Android.

Could there be also some issue with the mainline u-boot?
Or does the kernel initialize itself the Audio?

I've got X96 Mini that also runs mainline u-boot and Linux kernel. There are these following entries in /sys

$ ls /sys/class/sound/
card0      controlC0  pcmC0D0p   pcmC0D1p   timer

However, on X96 Max it's empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions