Sound issues with the 5.10.x kernel (alsa)

Ryutaroh Matsumoto ryutaroh at ict.e.titech.ac.jp
Mon Mar 29 00:13:25 BST 2021


Hi Stefan, thank you for your response.

> i assume you set this option in the config.txt? This shouldn't have any
> affect for the mainline kernel / DT.

I am aware of that...
I did "snd_bcm2835 enable_hdmi=0" in /etc/modules.
"modinfo snd_bcm2835" shows as below. Doesn't it indicate snd_bcm2835 having
an option enable_hdmi???

It seems that the contention of grabbing HDMI audio output between vc4.ko
and snd_bcm2835.ko can be addressed if snd_bcm2835.ko honors the
option enable_hdmi with its default =0, but currently enable_hdmi seems
having no effect in behavior of snd_bcm2835...

# modinfo snd_bcm2835
filename:       /lib/modules/5.10.0-5-rt-arm64/kernel/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko
alias:          platform:bcm2835_audio
license:        GPL
description:    Alsa driver for BCM2835 chip
author:         Dom Cobley
depends:        snd-pcm,vchiq,snd
staging:        Y
intree:         Y
name:           snd_bcm2835
vermagic:       5.10.0-5-rt-arm64 SMP preempt_rt mod_unload modversions aarch64
sig_id:         PKCS#7
signer:         Debian Secure Boot CA
sig_key:        4B:6E:F5:AB:CA:66:98:25:17:8E:05:2C:84:66:7C:CB:C0:53:1F:8C
sig_hashalgo:   sha256
signature:      omitted, too long.
parm:           force_bulk:Force use of vchiq bulk for audio (bool)
parm:           enable_hdmi:Enables HDMI virtual audio device (bool)
parm:           enable_headphones:Enables Headphones virtual audio device (bool)
parm:           enable_compat_alsa:Enables ALSA compatibility virtual audio device (bool)
parm:           num_channels:Number of audio channels (default: 8) (int)

Best regards, Ryutaroh



More information about the linux-rpi-kernel mailing list