[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856505: snd_bcm2835 included on 4.19 kernel in experimental



Hi!

This is my souces.list, but I got your message:
# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free
#
I have been working with Dkms with this:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/drivers/staging/vc04_services
with branch staging-testing.
I got both vchiq.ko and snd-bcm2835.ko compiled and installed, but I
think I am in the same situation like you.

This is what Raspian give:
nov 24 16:36:03 raspberrypi kernel: snd_bcm2835: module is from the
staging directory, the quality is unknown, you have been warned.
nov 24 16:36:03 raspberrypi kernel: bcm2835_alsa bcm2835_alsa: card
created with 8 channels

Debian armhf with gregkh driver source give this:
Nov 28 21:04:46 irena kernel: vchiq: loading out-of-tree module taints kernel.
Nov 28 21:04:46 irena kernel: vchiq: vchiq_init_state: slot_zero =
61f93cc4, is_master = 0
Nov 28 21:04:46 irena systemd-modules-load[190]: Inserted module 'snd_bcm2835'

lsmod and /proc/modules look okay i.e. modules have been loaded.
/proc/asound is not populated with the new driver i.e. we do not have
communication interface with the hardware.

I just recently got the modules installed. I think like you that the
dtb is the culprit. I have not studied how I can get dts compiled
without the whole kernel yet, but maybe you can test the below.
Here is a link:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/drivers/staging/vc04_services/bcm2835-audio/TODO
audio: audio {
	compatible = "brcm,bcm2835-audio";
	brcm,pwm-channels = <8>;
};

I think the 4 rows with audio should be inserted into this
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/arch/arm/boot/dts/bcm283x.dtsi
after
vc4: gpu {
	compatible = "brcm,bcm2835-vc4";
};

Can you put these 4 rows in bcm283x.dtsi in Debian. Test the new dtb
you got after this. Is /proc/asound populated with the new driver now?

4 °C in Aland Islands regards,
Evald


Reply to: