Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62597 > unrolled thread

Bug#856505: snd_bcm2835 included on 4.19 kernel in experimental

Started byeHenry Berg <ehenry.berg@gmail.com>
First post2018-11-29 21:50 +0100
Last post2018-11-29 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#856505: snd_bcm2835 included on 4.19 kernel in experimental eHenry Berg <ehenry.berg@gmail.com> - 2018-11-29 21:50 +0100

#62597 — Bug#856505: snd_bcm2835 included on 4.19 kernel in experimental

FromeHenry Berg <ehenry.berg@gmail.com>
Date2018-11-29 21:50 +0100
SubjectBug#856505: snd_bcm2835 included on 4.19 kernel in experimental
Message-ID<wZBq2-6MB-19@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web