<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 24/03/2015 12:21, Gary Thomas wrote:<br>
</div>
<blockquote cite="mid:551148CE.6070100@mlbassoc.com" type="cite">On
2015-03-24 02:40, Alex J Lennon wrote:
<br>
<blockquote type="cite">
<br>
<br>
On 24/03/2015 09:21, Alex J Lennon wrote:
<br>
<blockquote type="cite">
<br>
On 24/03/2015 08:21, Andreas Müller wrote:
<br>
<blockquote type="cite">On Tue, Mar 24, 2015 at 12:14 AM, Gary
Thomas<a class="moz-txt-link-rfc2396E" href="mailto:gary@mlbassoc.com"><gary@mlbassoc.com></a> wrote:
<br>
<blockquote type="cite">On 2015-03-23 16:22, Andreas Müller
wrote:
<br>
<blockquote type="cite">On Mon, Mar 23, 2015 at 10:43 PM,
Gary Thomas<a class="moz-txt-link-rfc2396E" href="mailto:gary@mlbassoc.com"><gary@mlbassoc.com></a> wrote:
<br>
<blockquote type="cite">On 2015-03-23 14:57, Andreas
Müller wrote:
<br>
<blockquote type="cite">On Mon, Mar 23, 2015 at 4:59
PM, Gary Thomas<a class="moz-txt-link-rfc2396E" href="mailto:gary@mlbassoc.com"><gary@mlbassoc.com></a> wrote:
<br>
<blockquote type="cite">On 2015-03-22 14:21, Andreas
Müller wrote:
<br>
<blockquote type="cite">
<br>
Signed-off-by: Andreas
Müller<a class="moz-txt-link-rfc2396E" href="mailto:schnitzeltony@googlemail.com"><schnitzeltony@googlemail.com></a>
<br>
---
<br>
...-during-boot-by-compiling-SND_BCM2835-int.patch
| 38
<br>
++++++++++++++++++++++
<br>
recipes-kernel/linux/linux-raspberrypi_3.18.bb
| 8 +++--
<br>
2 files changed, 43 insertions(+), 3
deletions(-)
<br>
create mode 100644
<br>
<br>
<br>
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch
<br>
</blockquote>
<br>
<br>
I tried this patch (which downloaded very
strangely using Thunderbird)
<br>
and
<br>
the
<br>
kernel rebuilt fine. I now have the audio
detected, but still no sound
<br>
:-(
<br>
Again I've tried the internal (phono) speakers as
well as HDMI audio.
<br>
<br>
Just to prove a point on the [brand new] hardware,
I installed OpenELEC
<br>
(XBMC)
<br>
and it works fine using the HDMI audio. Sadly
when I tried Raspbian
<br>
and
<br>
Ubuntu
<br>
there was no sound either...
<br>
<br>
Were you (Andreas) able to get any sound with this
patch?
<br>
<br>
</blockquote>
Yes but I have used 3.5mm sound output - Should have
mentioned that in
<br>
commit. I guess there is to enable something else in
kernel config for
<br>
HDMI. Will look into that
<br>
</blockquote>
<br>
I've tried the 3.5mm jack as well but nothing seems to
come out.
<br>
I even tried booting with the HDMI missing (powered
off) in case
<br>
that was causing some confusion.
<br>
<br>
Did you make any changes to config.txt to get this
going?
<br>
</blockquote>
No
<br>
Have my standard xfce-image with xfce4-mixer and as
mentioned out of
<br>
the box: I can hear sound / change volume...
<br>
</blockquote>
Would it be possible to share your [bootable] image?
<br>
<br>
<blockquote type="cite">What does happen if you start
alsamixer - if it is installed on your
<br>
image?
<br>
</blockquote>
alsamixer looks correct.
<br>
<br>
BTW, I've tried this on my RaspberryPi Model B and I don't
get any sound
<br>
from it either :-( Again, booting with test_mode=1 shows
that the hardware
<br>
is working, just not in Linux. I'm sure I've tried this in
the past with
<br>
success so I'm becoming more and more confused...
<br>
<br>
</blockquote>
For sharing I need to create a smaller image - the current
one
<br>
contains all stuff from meta-games, all browsers and more.
Hope to get
<br>
that done tomorrow evening. What is the preferred way of
sharing huge
<br>
files?
<br>
<br>
</blockquote>
Circling around this a little, hello_audio built out of
vc_graphics
<br>
works too over the audio jack
<br>
<br>
Alex
<br>
<br>
</blockquote>
<br>
OK I got some life from GStreamer and my RPIv2
<br>
<br>
Install amixer
<br>
<br>
modprobe snd_bcm2835 (or presumably use an image with audio
built-in)
<br>
<br>
amixer cset numid=3 1 (to set output to audio jack)
<br>
<br>
gst-launch-1.0 audiotestsrc ! alsasink
<br>
<br>
I get a tone out of the audio jack. So some kind of audio
routing defaults issue.
<br>
</blockquote>
<br>
Indeed, this does work - tested on RaspberryPi and RaspberryPi2.
<br>
<br>
Now, to figure out how to make audio over HDMI work.
<br>
<br>
</blockquote>
<br>
I don't have HDMI audio kit with me here but there are some bits and
bobs here which might help<br>
<br>
<a class="moz-txt-link-freetext" href="http://raspberrypi.stackexchange.com/questions/22708/is-there-some-trick-to-getting-aplay-audio-output-working">http://raspberrypi.stackexchange.com/questions/22708/is-there-some-trick-to-getting-aplay-audio-output-working</a><br>
<br>
I'd be wont to try <br>
<br>
<pre style="margin: 0px 0px 1em; padding: 5px; border: 0px; font-size: 13px; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(238, 238, 238);"><code style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit; background-color: rgb(238, 238, 238);">amixer cset numid=3 2</code></pre>
<br>
For starters to try to force HDMI output<br>
<br>
Some other bits and pieces on ALSA in there I see, which might be
relevant<br>
<br>
Cheers, Alex<br>
<br>
<br>
<br>
<br>
</body>
</html>