From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 35C0DE0085D; Mon, 23 Mar 2015 12:01:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AC110E006DA for ; Mon, 23 Mar 2015 12:01:54 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id D359CF811DF; Mon, 23 Mar 2015 13:01:53 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 418D7F811DF; Mon, 23 Mar 2015 13:01:53 -0600 (MDT) Message-ID: <55106321.6030107@mlbassoc.com> Date: Mon, 23 Mar 2015 13:01:53 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <1427055667-2226-1-git-send-email-schnitzeltony@googlemail.com> <55103860.7010503@mlbassoc.com> <5510428C.4050606@dynamicdevices.co.uk> <55104898.4090400@mlbassoc.com> <551049D0.3060503@dynamicdevices.co.uk> <55104E79.2060802@mlbassoc.com> In-Reply-To: Subject: Re: [meta-raspberrypi][PATCH] make sound work out of the box for raspberrypi2 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 19:01:58 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2015-03-23 11:41, Andrei Gherzan wrote: > > > On Mon, Mar 23, 2015 at 6:33 PM, Gary Thomas > wrote: > > On 2015-03-23 11:13, Alex J Lennon wrote: > > > > On 23/03/2015 18:08, Gary Thomas wrote: > > On 2015-03-23 10:42, Alex J Lennon wrote: > > > > On 23/03/2015 16:59, Gary Thomas wrote: > > On 2015-03-22 14:21, Andreas Müller wrote: > > Signed-off-by: Andreas Müller > > --- > ...-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? > > > Sorry to jump in on your conversation Gary but I am also doing some bits > and pieces with meta-raspberrypi myself to test out my new-ish RPiv2. > > I'll have a look at changing the kernel configuration here later, but I > did also try changing TEST_MODE in the config.txt which is billed as > giving analogue audio and video out at startup. Sure enough I hear the > startup beeps. > > Perhaps this would enable you to verify the hardware is working too? > > > Verified - this works. Still no sound when I boot Poky/Yocto. > > Have you tried audio output from Linux? > > > OK that's something then. I'm in the middle of some i.MX6 builds at the > minute but will look at this with the meta-raspberrypi kernel later and > come back to you. I suspect I will see the same as you. > > I don't have anything capable of HDMI audio about here so will output a > wav file or something to the analogue jack. What's your simplest test case? > > > Use gstreamer: > # gst-launch audiotestsrc ! alsasink > > > I think I tested sound with omxplayer on rpi2... this is pretty strange. I just tried it with omxplayer - still nothing, sorry. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------