All of lore.kernel.org
 help / color / mirror / Atom feed
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 11:33:45 -0600	[thread overview]
Message-ID: <55104E79.2060802@mlbassoc.com> (raw)
In-Reply-To: <551049D0.3060503@dynamicdevices.co.uk>

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 <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?
>>>
>>> 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 might also have a look and see if I can get anything out of the
> GStreamer1.0 audio/video playback as I'm looking at that too at the minute.
>
> Regards, Alex
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2015-03-23 17:33 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
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 [this message]
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=55104E79.2060802@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.