From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH] make sound work out of the box for raspberrypi2
Date: Mon, 23 Mar 2015 09:59:28 -0600 [thread overview]
Message-ID: <55103860.7010503@mlbassoc.com> (raw)
In-Reply-To: <1427055667-2226-1-git-send-email-schnitzeltony@googlemail.com>
On 2015-03-22 14:21, Andreas Müller wrote:
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
> ...-during-boot-by-compiling-SND_BCM2835-int.patch | 38 ++++++++++++++++++++++
> recipes-kernel/linux/linux-raspberrypi_3.18.bb | 8 +++--
> 2 files changed, 43 insertions(+), 3 deletions(-)
> create mode 100644 recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch
I tried this patch (which downloaded very strangely using Thunderbird) and the
kernel rebuilt fine. I now have the audio detected, but still no sound :-(
Again I've tried the internal (phono) speakers as well as HDMI audio.
Just to prove a point on the [brand new] hardware, I installed OpenELEC (XBMC)
and it works fine using the HDMI audio. Sadly when I tried Raspbian and Ubuntu
there was no sound either...
Were you (Andreas) able to get any sound with this patch?
> diff --git a/recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch b/recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch
> new file mode 100644
> index 0000000..cb06253
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch
> @@ -0,0 +1,38 @@
> +From dc6d02c68956a1833bd30159d4e411f1515db66e Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> +Date: Wed, 18 Mar 2015 23:51:37 +0100
> +Subject: [PATCH] start sound during boot by compiling SND_BCM2835 into kernel
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +---
> + arch/arm/configs/bcm2709_defconfig | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig
> +index b5bf4cb..426f2ed 100644
> +--- a/arch/arm/configs/bcm2709_defconfig
> ++++ b/arch/arm/configs/bcm2709_defconfig
> +@@ -765,7 +765,7 @@ CONFIG_LOGO=y
> + # CONFIG_LOGO_LINUX_MONO is not set
> + # CONFIG_LOGO_LINUX_VGA16 is not set
> + CONFIG_SOUND=y
> +-CONFIG_SND=m
> ++CONFIG_SND=y
> + CONFIG_SND_SEQUENCER=m
> + CONFIG_SND_SEQ_DUMMY=m
> + CONFIG_SND_MIXER_OSS=m
> +@@ -778,7 +778,7 @@ CONFIG_SND_VIRMIDI=m
> + CONFIG_SND_MTPAV=m
> + CONFIG_SND_SERIAL_U16550=m
> + CONFIG_SND_MPU401=m
> +-CONFIG_SND_BCM2835=m
> ++CONFIG_SND_BCM2835=y
> + CONFIG_SND_USB_AUDIO=m
> + CONFIG_SND_USB_UA101=m
> + CONFIG_SND_USB_CAIAQ=m
> +--
> +1.9.3
> +
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> index 921e702..053e892 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> @@ -1,8 +1,10 @@
> LINUX_VERSION ?= "3.18.5"
>
> SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
> - file://sl030raspberrypii2ckernel.patch \
> - "
> +SRC_URI = " \
> + git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
> + file://sl030raspberrypii2ckernel.patch \
> + file://0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch \
> +"
>
> require linux-raspberrypi.inc
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2015-03-23 15:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-22 20:21 [meta-raspberrypi][PATCH] make sound work out of the box for raspberrypi2 Andreas Müller
2015-03-23 15:59 ` Gary Thomas [this message]
2015-03-23 16:42 ` Alex J Lennon
2015-03-23 17:08 ` Gary Thomas
2015-03-23 17:13 ` Alex J Lennon
2015-03-23 17:33 ` Gary Thomas
2015-03-23 17:41 ` Andrei Gherzan
2015-03-23 19:01 ` Gary Thomas
2015-03-23 20:57 ` Andreas Müller
2015-03-23 21:43 ` Gary Thomas
2015-03-23 22:22 ` Andreas Müller
2015-03-23 23:14 ` Gary Thomas
2015-03-24 7:21 ` Andreas Müller
2015-03-24 8:21 ` Alex J Lennon
2015-03-24 8:40 ` Alex J Lennon
2015-03-24 11:21 ` Gary Thomas
2015-03-24 11:31 ` Alex J Lennon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55103860.7010503@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.