Skip to contentSkip to conversation

ALSA sound on beagleboard

DISCUSSION Rick Bronson 3 participants 3 messages Oct 22, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to get arecord working on the beagleboard. I've enabled:

CONFIG_SND_OMAP_SOC=y
CONFIG_SND_OMAP_SOC_MCBSP=y
CONFIG_SND_SOC_TWL4030=y

But I get this upon boot:

Advanced Linux Sound Architecture Driver Version 1.0.17. ASoC version 0.13.2
ALSA device list:
No soundcards found.

Please give me a clue on where to start.

Thanks much.

Rick Bronson

#1 lore raw
Quoted 1 line · you

  Please give me a clue on where to start.

This patch came on linux-omap a while back. I'm not sure why it isn't merged yet. The clock framework crapped out on me because of a lockdep problem ... maybe it'll work OK if you don't enable lockdep.

- Dave

================
From: Felipe Contreras <[email protected]>
Subject: [PATCH] alsa: add Beagleboard SoC configuration.

This is exactly the same as the overo configuration. It might make sense to have them in a single one.

# CHANGED to not spew messages about beagle on non-beagle boards

---
This was suggested by Koen Kooi.

 sound/soc/omap/Kconfig       |    8 ++
 sound/soc/omap/Makefile      |    2 
 sound/soc/omap/omap3beagle.c |  149 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 159 insertions(+)
 create mode 100644 sound/soc/omap/omap3beagle.c
sound/soc/omap/Kconfig +8 -0
@@ -22,3 +22,11 @@ config SND_OMAP_SOC_OVERO
 	help
 	  Say Y if you want to add support for SoC audio on the Gumstix Overo.
 
+config SND_OMAP_SOC_OMAP3_BEAGLE
+	tristate "SoC Audio support for OMAP3 Beagle"
+	depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE
+	select SND_OMAP_SOC_MCBSP
+	select SND_SOC_TWL4030
+	help
+	  Say Y if you want to add support for SoC audio on the Beagleboard.
+
sound/soc/omap/Makefile +2 -0
@@ -8,7 +8,9 @@ obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-
 # OMAP Machine Support
 snd-soc-n810-objs := n810.o
 snd-soc-overo-objs := overo.o
+snd-soc-omap3beagle-objs := omap3beagle.o
 
 obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o
 obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o
+obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o
 
sound/soc/omap/omap3beagle.c new file +149 -0

149 lines not on this page · raw message

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 7 lines · David Brownell
Quoted 1 line · you

Please give me a clue on where to start.

This patch came on linux-omap a while back. I'm not sure why it isn't merged yet. The clock framework crapped out on me because of a lockdep problem ... maybe it'll work OK if you don't enable lockdep.

Hmm, I don't know about that lockdep problem, but I don't know anything about the driver anyway. I just copy-pasted the overo stuff.

I've reposted the patch, maybe it will get merged and the issues will be resolved eventually.

Signature · 1 line
Felipe Contreras