make sound work out of the box for raspberrypi2
PATCH 1/1 make sound work out of the box for raspberrypi2
--- ...-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
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch new file +38 -0
@@ -0,0 +1,38 @@ +From dc6d02c68956a1833bd30159d4e411f1515db66e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +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 <[email protected]> +--- + 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 +
recipes-kernel/linux/linux-raspberrypi_3.18.bb +5 -3
@@ -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
Signature · 1 line
1.9.3
Quoted 6 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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?
Quoted 63 lines
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch new file +38
-0@@ -0,0 +1,38 @@ +From dc6d02c68956a1833bd30159d4e411f1515db66e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +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 <[email protected]> +--- + 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 +recipes-kernel/linux/linux-raspberrypi_3.18.bb +5
-3@@ -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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 16 lines · Gary Thomas
Quoted 8 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.
Quoted 7 lines
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?
The docs would seem to indicate that it should output a/v for the configured number of seconds whereas I see this continuously until I power cycle, but maybe that is a typo.
http://www.raspberrypi.org/documentation/configuration/config-txt.md
Regards, Alex
Quoted 30 lines · Alex J Lennon
Quoted 16 lines · Gary Thomas
Quoted 8 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.Quoted 7 lines
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.
Quoted 6 lines
I'll have a look at changing the kernel configuration here later, but I did also try changing
TEST_MODEin 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?
Quoted 9 lines
The docs would seem to indicate that it should output a/v for the configured number of seconds whereas I see this continuously until I power cycle, but maybe that is a typo.
http://www.raspberrypi.org/documentation/configuration/config-txt.md
Regards, Alex
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 37 lines · Gary Thomas
Quoted 36 lines · Alex J Lennon
Quoted 17 lines · Gary Thomas
Quoted 9 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.Quoted 7 lines
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_MODEin the config.txt which is billed as giving analogue audio and video out at startup. Sure enough I hear the startup beeps.
Quoted 5 lines
Quoted 1 line
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?
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
Quoted 44 lines · Alex J Lennon
Quoted 41 lines · Gary Thomas
Quoted 31 lines · Alex J Lennon
Quoted 17 lines · Gary Thomas
Quoted 9 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.Quoted 7 lines
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.
Quoted 6 lines
I'll have a look at changing the kernel configuration here later, but I did also try changing
TEST_MODEin 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.
Quoted 8 lines
Quoted 1 line
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
Quoted 6 lines
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 60 lines · Gary Thomas
Quoted 58 lines · Alex J Lennon
Quoted 42 lines · Gary Thomas
Quoted 40 lines · Alex J Lennon
Quoted 19 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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 100644recipes-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.Quoted 8 lines
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_MODEin the config.txt which is billed as giving analogue audio and video out at startup. Sure enough I hear the startup beeps.Quoted 7 lines
Quoted 2 lines
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.
Quoted 7 lines
Quoted 4 lines
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.
Signature · 3 lines
*Andrei Gherzan* *e: **[email protected] <[email protected]>* *w: *www.gherzan.ro
Quoted 67 lines · Andrei Gherzan
On Mon, Mar 23, 2015 at 6:33 PM, Gary Thomas <[email protected] <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>>---
...-during-boot-by-compiling-__SND_BCM2835-int.patch | 38
++++++++++++++++++++++
recipes-kernel/linux/linux-__raspberrypi_3.18.bb <http://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.patchI 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_MODEin 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?
Quoted 5 lines
Use gstreamer:
# gst-launch audiotestsrc ! alsasinkI think I tested sound with omxplayer on rpi2... this is pretty strange.
I just tried it with omxplayer - still nothing, sorry.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 17 lines · Gary Thomas
Quoted 9 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.
Quoted 8 lines
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?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
Andreas
Quoted 24 lines · Andreas Müller
Quoted 23 lines · Gary Thomas
Quoted 9 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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...
Quoted 5 lines
Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Did you make any changes to config.txt to get this going?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 39 lines · Gary Thomas
Quoted 31 lines · Andreas Müller
Quoted 29 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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...Quoted 5 lines
Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
Quoted 5 lines
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Did you make any changes to config.txt to get this going?
No
Quoted 1 line
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...
What does happen if you start alsamixer - if it is installed on your image?
Andreas
Quoted 44 lines · Andreas Müller
Quoted 43 lines · Gary Thomas
Quoted 31 lines · Andreas Müller
Quoted 29 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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...Quoted 5 lines
Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Quoted 5 lines
Quoted 1 line
Did you make any changes to config.txt to get this going?
No
Quoted 1 line
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...
Would it be possible to share your [bootable] image?
Quoted 2 lines
What does happen if you start alsamixer - if it is installed on your image?
alsamixer looks correct.
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound from it either :-( Again, booting with test_mode=1 shows that the hardware is working, just not in Linux. I'm sure I've tried this in the past with success so I'm becoming more and more confused...
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 70 lines · Gary Thomas
Quoted 53 lines · Andreas Müller
Quoted 51 lines · Gary Thomas
Quoted 37 lines · Andreas Müller
Quoted 34 lines · Gary Thomas
Quoted 12 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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 100644Quoted 1 line
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patchI 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...Quoted 5 lines
Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Quoted 7 lines
Quoted 1 line
Did you make any changes to config.txt to get this going?
No
Quoted 2 lines
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...
Would it be possible to share your [bootable] image?
Quoted 3 lines
What does happen if you start alsamixer - if it is installed on your image?
Quoted 7 lines
alsamixer looks correct.
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound from it either :-( Again, booting with test_mode=1 shows that the hardware is working, just not in Linux. I'm sure I've tried this in the past with success so I'm becoming more and more confused...
For sharing I need to create a smaller image - the current one contains all stuff from meta-games, all browsers and more. Hope to get that done tomorrow evening. What is the preferred way of sharing huge files?
Andreas
Quoted 66 lines · Andreas Müller
Quoted 58 lines · Gary Thomas
Quoted 46 lines · Andreas Müller
Quoted 45 lines · Gary Thomas
Quoted 33 lines · Andreas Müller
Quoted 31 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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 100644Quoted 1 line
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patchI 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...Quoted 5 lines
Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Quoted 5 lines
Quoted 1 line
Did you make any changes to config.txt to get this going?
No
Quoted 1 line
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...
Would it be possible to share your [bootable] image?
Quoted 2 lines
What does happen if you start alsamixer - if it is installed on your image?
Quoted 7 lines
alsamixer looks correct.
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound from it either :-( Again, booting with test_mode=1 shows that the hardware is working, just not in Linux. I'm sure I've tried this in the past with success so I'm becoming more and more confused...
Quoted 5 lines
For sharing I need to create a smaller image - the current one contains all stuff from meta-games, all browsers and more. Hope to get that done tomorrow evening. What is the preferred way of sharing huge files?
Circling around this a little, hello_audio built out of vc_graphics works too over the audio jack
Alex
Quoted 65 lines · Alex J Lennon
Quoted 58 lines · Andreas Müller
Quoted 48 lines · Gary Thomas
Quoted 37 lines · Andreas Müller
Quoted 36 lines · Gary Thomas
Quoted 34 lines · Andreas Müller
Quoted 21 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- ...-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.patchI 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.Quoted 9 lines
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?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
Quoted 8 lines
Quoted 5 lines
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Did you make any changes to config.txt to get this going?
No
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...Would it be possible to share your [bootable] image?
Quoted 9 lines
Quoted 2 lines
What does happen if you start alsamixer - if it is installed on your image?
alsamixer looks correct.
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound from it either :-( Again, booting with test_mode=1 shows that the hardware is working, just not in Linux. I'm sure I've tried this in the past with success so I'm becoming more and more confused...
Quoted 5 lines
For sharing I need to create a smaller image - the current one contains all stuff from meta-games, all browsers and more. Hope to get that done tomorrow evening. What is the preferred way of sharing huge files?
Quoted 5 lines
Circling around this a little,
hello_audiobuilt out ofvc_graphicsworks too over the audio jackAlex
OK I got some life from GStreamer and my RPIv2
Install amixer
modprobe snd_bcm2835 (or presumably use an image with audio built-in)
amixer cset numid=3 1 (to set output to audio jack)
gst-launch-1.0 audiotestsrc ! alsasink
I get a tone out of the audio jack. So some kind of audio routing defaults issue.
Alex
Quoted 78 lines · Alex J Lennon
Quoted 65 lines · Alex J Lennon
Quoted 58 lines · Andreas Müller
Quoted 48 lines · Gary Thomas
Quoted 37 lines · Andreas Müller
Quoted 36 lines · Gary Thomas
Quoted 34 lines · Andreas Müller
Quoted 21 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller<[email protected]>--- ...-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.patchI 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.Quoted 9 lines
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?
Yes but I have used 3.5mm sound output - Should have mentioned that in commit. I guess there is to enable something else in kernel config for HDMI. Will look into that
Quoted 8 lines
Quoted 5 lines
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Did you make any changes to config.txt to get this going?
No
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...Would it be possible to share your [bootable] image?
Quoted 9 lines
Quoted 2 lines
What does happen if you start alsamixer - if it is installed on your image?
alsamixer looks correct.
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound from it either :-( Again, booting with test_mode=1 shows that the hardware is working, just not in Linux. I'm sure I've tried this in the past with success so I'm becoming more and more confused...
Quoted 5 lines
For sharing I need to create a smaller image - the current one contains all stuff from meta-games, all browsers and more. Hope to get that done tomorrow evening. What is the preferred way of sharing huge files?
Quoted 5 lines
Circling around this a little,
hello_audiobuilt out ofvc_graphicsworks too over the audio jackAlex
OK I got some life from GStreamer and my RPIv2
Install amixer
Quoted 7 lines
modprobe
snd_bcm2835(or presumably use an image with audio built-in)amixer cset numid=3 1 (to set output to audio jack)
gst-launch-1.0 audiotestsrc ! alsasink
I get a tone out of the audio jack. So some kind of audio routing defaults issue.
Indeed, this does work - tested on RaspberryPi and RaspberryPi2.
Now, to figure out how to make audio over HDMI work.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 98 lines · Gary Thomas
Quoted 97 lines · Alex J Lennon
Quoted 80 lines · Alex J Lennon
Quoted 73 lines · Andreas Müller
Quoted 63 lines · Gary Thomas
Quoted 48 lines · Andreas Müller
Quoted 46 lines · Gary Thomas
Quoted 44 lines · Andreas Müller
Quoted 35 lines · Gary Thomas
Quoted 11 lines · Andreas Müller
Signed-off-by Andreas Müller<[email protected]>--- ...-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 100644Quoted 2 lines
recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patchI 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...Quoted 2 lines
Were you (Andreas) able to get any sound with this patch?
Yes but I have used 3.5mm sound output - Should have mentioned that in
commit. I guess there is to enable something else in kernel config for
HDMI. Will look into thatQuoted 8 lines
Quoted 5 lines
I've tried the 3.5mm jack as well but nothing seems to come out. I even tried booting with the HDMI missing (powered off) in case that was causing some confusion.
Did you make any changes to config.txt to get this going?
No
Have my standard xfce-image with xfce4-mixer and as mentioned out of the box: I can hear sound / change volume...Would it be possible to share your [bootable] image?
Quoted 2 lines
What does happen if you start alsamixer - if it is installed on your image?
alsamixer looks correct.
Quoted 8 lines
BTW, I've tried this on my RaspberryPi Model B and I don't get any sound
from it either :-( Again, booting with test_mode=1 shows that the hardware
is working, just not in Linux. I'm sure I've tried this in the past with
success so I'm becoming more and more confused...Quoted 5 lines
For sharing I need to create a smaller image - the current one contains all stuff from meta-games, all browsers and more. Hope to get that done tomorrow evening. What is the preferred way of sharing huge files?
Quoted 5 lines
Circling around this a little,
hello_audiobuilt out ofvc_graphicsworks too over the audio jackAlex
OK I got some life from GStreamer and my RPIv2
Install amixer
modprobe
snd_bcm2835(or presumably use an image with audio built-in)amixer cset numid=3 1 (to set output to audio jack)
Quoted 9 lines
Quoted 4 lines
gst-launch-1.0 audiotestsrc ! alsasink
I get a tone out of the audio jack. So some kind of audio routing defaults issue.
Indeed, this does work - tested on RaspberryPi and RaspberryPi2.
Now, to figure out how to make audio over HDMI work.
I don't have HDMI audio kit with me here but there are some bits and bobs here which might help
I'd be wont to try
|amixer cset numid=3 2|
For starters to try to force HDMI output
Some other bits and pieces on ALSA in there I see, which might be relevant
Cheers, Alex