Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound on S905X3 #26

Open
phodina opened this issue May 22, 2023 · 1 comment
Open

No sound on S905X3 #26

phodina opened this issue May 22, 2023 · 1 comment

Comments

@phodina
Copy link

phodina commented May 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants