Audio Cape on BBB rev C

208 views
Skip to first unread message

Marty Linuxhippy

unread,
Mar 23, 2015, 7:13:45 PM3/23/15
to beagl...@googlegroups.com
Hi!  I'm new to the BBB but not to Linux as I've been using it for years.  I just bought the Beaglebone Black Rev. C and updated it by flashing the newest Debian release from 2015-03-01.  So now I have kernel 3.8.13-bone70 and just bought an audio cape for this off eBay.  The seller said it worked with his rev B BBB.

I'm trying to follow this page:

http://elinux.org/BBB_Audio_Cape_RevB_Getting_Started

But I'm getting this error:

root@beaglebone:~# echo BB-BONE-AUDI-02 > /sys/devices/bone_capemgr*/slots
-bash: echo: write error: File exists

Does anybody know what I'm doing wrong or doesn't this cape work with the newest Beaglebone Black?

Marty

Bill Traynor

unread,
Mar 23, 2015, 8:21:24 PM3/23/15
to beagl...@googlegroups.com
On Mon, Mar 23, 2015 at 7:13 PM, Marty Linuxhippy <tux...@gmail.com> wrote:
> -bash: echo: write error: File exists

What does this command produce?

cat /sys/devices/bone_capemgr*/slots

Marty

unread,
Mar 23, 2015, 8:59:36 PM3/23/15
to beagl...@googlegroups.com
Not what that tutorial listed.  My audio cape was plugged in when I did cat /sys/devices/bone_capemgr*/slots:

 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI

*******************************************************

I had already downloaded and compiled BB-BONE-AUDI-02-00A0 with no errors.  That echo command produced the first error.  I don't seem to be getting line 6 from that cat command that the tutorial lists:

6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN


><> Marty <><




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/kT0DKgpHQOU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Mar 23, 2015, 9:29:02 PM3/23/15
to Beagle Board


On Mar 23, 2015 4:13 PM, "Marty Linuxhippy" <tux...@gmail.com> wrote:
>
> Hi!  I'm new to the BBB but not to Linux as I've been using it for years.  I just bought the Beaglebone Black Rev. C and updated it by flashing the newest Debian release from 2015-03-01.  So now I have kernel 3.8.13-bone70 and just bought an audio cape for this off eBay.  The seller said it worked with his rev B BBB.
>
> I'm trying to follow this page:
>
> http://elinux.org/BBB_Audio_Cape_RevB_Getting_Started
>
> But I'm getting this error:
>
> root@beaglebone:~# echo BB-BONE-AUDI-02 > /sys/devices/bone_capemgr*/slots
> -bash: echo: write error: File exists

What does:

dmesg | grep cape

>
> Does anybody know what I'm doing wrong or doesn't this cape work with the newest Beaglebone Black?
>
> Marty
>

> --
> For more options, visit http://beagleboard.org/discuss
> ---

> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Marty

unread,
Mar 24, 2015, 5:29:36 AM3/24/15
to beagl...@googlegroups.com
dmesg | grep cape showed a lot:

[    0.560695] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,00C0,3214BBBK8615'
[    0.560722] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[    0.584814] bone-capemgr bone_capemgr.9: slot #0: 'BeagleBone AUDIO CAPE,00A1,Beagleboardtoys,BB-BONE-AUDI-01'
[    0.614598] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.651706] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.688814] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.695030] bone-capemgr bone_capemgr.9: slot #4: specific override
[    0.695052] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[    0.695067] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[    0.695147] bone-capemgr bone_capemgr.9: slot #5: specific override
[    0.695166] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[    0.695180] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[    0.695251] bone-capemgr bone_capemgr.9: slot #6: specific override
[    0.695268] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[    0.695282] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[    0.695602] bone-capemgr bone_capemgr.9: loader: before slot-0 BB-BONE-AUDI-01:00A1 (prio 0)
[    0.695619] bone-capemgr bone_capemgr.9: loader: check slot-0 BB-BONE-AUDI-01:00A1 (prio 0)
[    0.695694] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    0.695707] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    0.695777] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    0.695789] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    0.695822] bone-capemgr bone_capemgr.9: initialized OK.
[    0.696283] bone-capemgr bone_capemgr.9: loader: after slot-0 BB-BONE-AUDI-01:00A1 (prio 0)
[    0.696302] bone-capemgr bone_capemgr.9: slot #0: Requesting part number/version based 'BB-BONE-AUDI-01-00A1.dtbo
[    0.696318] bone-capemgr bone_capemgr.9: slot #0: Requesting firmware 'BB-BONE-AUDI-01-00A1.dtbo' for board-name 'BeagleBone AUDIO CAPE', version '00A1'
[    0.696708] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    0.698667] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    0.700292] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    0.700307] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    0.700321] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.070829] bone-capemgr bone_capemgr.9: failed to load firmware 'BB-BONE-AUDI-01-00A1.dtbo'
[    1.079721] bone-capemgr bone_capemgr.9: loader: failed to load slot-0 BB-BONE-AUDI-01:00A1 (prio 0)
[    1.089331] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.089357] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.089371] bone-capemgr bone_capemgr.9: loader: after slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.089395] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware 'cape-boneblack-hdmi-00A0.dtbo' for board-name 'Bone-Black-HDMI', version '00A0'
[    1.089424] bone-capemgr bone_capemgr.9: slot #5: dtbo 'cape-boneblack-hdmi-00A0.dtbo' loaded; converting to live tree
[    1.089771] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[    1.090823] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.090845] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.090864] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'
[    1.090879] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree
[    1.091426] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[    1.120725] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[    1.120750] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[    1.120959] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.253451] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[    1.253473] bone-capemgr bone_capemgr.9: loader: done slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[    1.253506] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.253522] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    1.253549] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
[    1.253581] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
[    1.253813] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    1.263412] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    1.270153] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    8.007065] bone-capemgr bone_capemgr.9: part_number 'BB-BONE-AUDI-02', version 'N/A'
[    8.007140] bone-capemgr bone_capemgr.9: slot #7: generic override
[    8.007297] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7
[    8.007317] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-02'
[    8.019293] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-BONE-AUDI-02-00A0.dtbo
[    8.019321] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-BONE-AUDI-02-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[    8.019339] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-BONE-AUDI-02-00A0.dtbo' loaded; converting to live tree
[    8.019615] bone-capemgr bone_capemgr.9: slot #7: BB-BONE-AUDI-02 conflict P9.31 (#5:BB-BONELT-HDMI)
[    8.029302] bone-capemgr bone_capemgr.9: slot #7: Failed verification


><> Marty <><



You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/kT0DKgpHQOU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Bill Traynor

unread,
Mar 24, 2015, 8:44:44 AM3/24/15
to beagl...@googlegroups.com
This looks like a conflict between HDMI and the audio cape. Are you
certain you disabled HDMI as instructed in that tutorial?

"Since this Audio Cape uses the same audio signal from the onboard
HDMI interface, you need to disable the audio portion of the HDMI by
edit the uEnv.txt at /boot/uboot. Add this line to the uEnv.txt file:

optargs=capemgr.disable_partno=BB-BONELT-HDMI"

I'd double check you typed that correctly into uEnv.txt.

Marty

unread,
Mar 24, 2015, 9:37:02 AM3/24/15
to beagl...@googlegroups.com

I copied and pasted that into /boot/uboot/uEnv.txt but created that file with nano since it didn't exist.  What should the permissions be on this file?

><>Sent From Marty's S3<><

Marty

unread,
Mar 24, 2015, 9:40:26 AM3/24/15
to beagl...@googlegroups.com

Actually, how would I know if this file is being read ok?

><>Sent From Marty's S3<><

Robert Nelson

unread,
Mar 24, 2015, 10:24:00 AM3/24/15
to Beagle Board

The march image its located at /boot/uEnv.txt

Marty

unread,
Mar 24, 2015, 10:27:31 AM3/24/15
to beagl...@googlegroups.com

Oh, so the file should already exist? What do u mean by the march image...the image I flashed?

><>Sent From Marty's S3<><

Robert Nelson

unread,
Mar 24, 2015, 11:10:46 AM3/24/15
to Beagle Board
On Tue, Mar 24, 2015 at 9:27 AM, Marty <tux...@gmail.com> wrote:
> Oh, so the file should already exist? What do u mean by the march
> image...the image I flashed?

With the March "2015-03-01" image, the file you need to modify to stop
loading the pins is located at "/boot/uEnv.txt"

Regards,

--
Robert Nelson
https://rcn-ee.com/

Marty

unread,
Mar 24, 2015, 11:13:02 AM3/24/15
to beagl...@googlegroups.com

I don't have that file.  Do I need to reflash?

><>Sent From Marty's S3<><

Marty

unread,
Mar 24, 2015, 11:19:16 AM3/24/15
to beagl...@googlegroups.com

That file was in /boot.  I'll move it to /boot/uboot and then add that line.  Hopefully it works then.

><>Sent From Marty's S3<><

Robert Nelson

unread,
Mar 24, 2015, 11:24:37 AM3/24/15
to Beagle Board
On Tue, Mar 24, 2015 at 10:19 AM, Marty <tux...@gmail.com> wrote:
> That file was in /boot. I'll move it to /boot/uboot and then add that line.
> Hopefully it works then.

Stop! Don't do that... It's suppost to be in "/boot/uEnv.txt"...

Marty

unread,
Mar 24, 2015, 11:28:30 AM3/24/15
to beagl...@googlegroups.com

Yeah... That didn't work.  No harm done since I just copied the file.  So how do I get the file that should be in /boot/uboot?

><>Sent From Marty's S3<><

Robert Nelson

unread,
Mar 24, 2015, 11:47:26 AM3/24/15
to Beagle Board


On Mar 24, 2015 8:28 AM, "Marty" <tux...@gmail.com> wrote:
>
> Yeah... That didn't work.  No harm done since I just copied the file.  So how do I get the file that should be in /boot/uboot?

You don't.. Everything is in /boot/uEnv.txt now, just open it and uncomment the line to disable HDMI audio.

>
> ><>Sent From Marty's S3<><
>
> On Mar 24, 2015 11:24 AM, "Robert Nelson" <robert...@gmail.com> wrote:
>>
>> On Tue, Mar 24, 2015 at 10:19 AM, Marty <tux...@gmail.com> wrote:
>> > That file was in /boot.  I'll move it to /boot/uboot and then add that line.
>> > Hopefully it works then.
>>
>> Stop! Don't do that... It's suppost to be in "/boot/uEnv.txt"...
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/kT0DKgpHQOU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---

> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Marty

unread,
Mar 24, 2015, 12:05:39 PM3/24/15
to beagl...@googlegroups.com

That file isn't on my install in that location.  I'll redownload the flash file tonight and flash again.  Where should I download from?  This is where I got it before:


https://rcn-ee.com/rootfs/bb.org/release/2015-03-01/lxde-4gb/BBB-eMMC-flasher-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz


I checked the md5sum code and it checked out.


><>Sent From Marty's S3<><

Marty

unread,
Mar 24, 2015, 12:13:07 PM3/24/15
to beagl...@googlegroups.com
The flashing did only take 8 minutes on my rev C and I read it should take 25045 minutes.  Maybe that's a bad image?

><> Marty <><


Marty

unread,
Mar 24, 2015, 12:13:53 PM3/24/15
to beagl...@googlegroups.com
that should be 25-45 minutes.

><> Marty <><


Robert Nelson

unread,
Mar 24, 2015, 12:43:16 PM3/24/15
to Beagle Board
On Tue, Mar 24, 2015 at 11:13 AM, Marty <tux...@gmail.com> wrote:
> that should be 25-45 minutes.

Things average 5-6 minutes a GB...

Marty

unread,
Mar 24, 2015, 12:49:16 PM3/24/15
to beagl...@googlegroups.com

Good... Then 8 minutes is ok on the rev c.  I was thinking those numbers musta been good for the rev b.  Think that's an OK download place...BeagleBoard.org took me there?

><>Sent From Marty's S3<><

Marty

unread,
Mar 24, 2015, 2:40:47 PM3/24/15
to beagl...@googlegroups.com
ok, I think I got it by NOT following that tutorial and following advice here.  Now I got this:

root@beaglebone:/home/debian# cat /sys/devices/bone_capemgr*/slots
 0: 54:PF--- 
 1: 55:PF--- 
 2: 56:PF--- 
 3: 57:PF--- 
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-02


What I did as root was edit /boot/uEnv.txt and uncomment the audio cape lines so that it looks like this:


uname_r=3.8.13-bone70
#dtb=
cmdline=quiet init=/lib/systemd/systemd

##Example
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Disable HDMI/eMMC
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

##Disable HDMI
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

##Disable eMMC
#cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G

##Audio Cape (needs HDMI Audio disabled)
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
cape_enable=capemgr.enable_partno=BB-BONE-AUDI-02


##enable BBB: eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

uuid=c92d7bef-e149-4c25-83f4-fffb66c655cb

Marty

unread,
Mar 24, 2015, 2:50:49 PM3/24/15
to beagl...@googlegroups.com
mplayer isn't happy now.  It ends with this:

Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


><> Marty <><


Bill Traynor

unread,
Mar 24, 2015, 3:46:49 PM3/24/15
to beagl...@googlegroups.com
Which part of the tutorial did you not do? Note that it is a wiki, so
when things change, you can always update the tutorial.

On Tue, Mar 24, 2015 at 2:40 PM, Marty <tux...@gmail.com> wrote:
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an

Marty

unread,
Mar 24, 2015, 3:51:41 PM3/24/15
to beagl...@googlegroups.com

I unconsumed both lines under audio cape but now mplayer doesn't work so I'm not thinking this wiki needs to be revised by me yet.  The wiki is for the rev b and not my c, though.

><>Sent From Marty's S3<><

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/kT0DKgpHQOU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Bill Traynor

unread,
Mar 24, 2015, 4:06:34 PM3/24/15
to beagl...@googlegroups.com
Feel free to add Rev C notes ;)

Robert Nelson

unread,
Mar 24, 2015, 4:22:08 PM3/24/15
to Beagle Board


On Mar 24, 2015 12:51 PM, "Marty" <tux...@gmail.com> wrote:
>
> I unconsumed both lines under audio cape but now mplayer doesn't work so I'm not thinking this wiki needs to be revised by me yet.  The wiki is for the rev b and not my c, though.

The wiki was written for the old may 2014 release, the march 2015 is now the official release, it will take time for 'all' wiki's will be updated. Please update it for us. ;)

Marty

unread,
Mar 24, 2015, 4:25:52 PM3/24/15
to beagl...@googlegroups.com

Wow, this is a new rev c!

><>Sent From Marty's S3<><

Bill Traynor

unread,
Mar 24, 2015, 4:32:07 PM3/24/15
to beagl...@googlegroups.com
Don't overwrite old content though. Be sure to note that for your
board, things are different.

Marty

unread,
Mar 24, 2015, 4:35:40 PM3/24/15
to beagl...@googlegroups.com

Yeah I'm not sure what I did is the correct way of doing things.  Since I don't have sound yet I'm thinking not but maybe somebody will build on that and set me straight :)

><>Sent From Marty's S3<><

Robert Nelson

unread,
Mar 24, 2015, 4:38:59 PM3/24/15
to Beagle Board


On Mar 24, 2015 1:35 PM, "Marty" <tux...@gmail.com> wrote:
>
> Yeah I'm not sure what I did is the correct way of doing things.  Since I don't have sound yet I'm thinking not but maybe somebody will build on that and set me straight :)

The easiest thing to do is add the value of `cat /etc/dogtag` as that tells everyone what version they have and how it's setup.

Jesse Cobra

unread,
Mar 24, 2015, 4:50:25 PM3/24/15
to beagl...@googlegroups.com

Did you disable HDMI audio?

What does aplay -l (or is it -L) output.

Does speaker-test work?

Marty

unread,
Mar 24, 2015, 6:54:45 PM3/24/15
to beagl...@googlegroups.com
HDMI audio appears to be disabled since BB-BONELT-HDMIN shows up with cat /sys/devices/bone_capemgr*/slots.  That was a good idea, Jesse, about checking with aplay -L.  I hadn't tried that for this (though that is how I got sound to work through a cheap USB adapter) until now.  Unfortunately, it does not list any of the devices that that capemgr lists and no sound works except for a USB adapter (mplayer -ao alsa:device=default=Device -playlist filename.pls is how u stream internet music with a USB soundcard).

><> Marty <><


Marty

unread,
Mar 25, 2015, 6:23:46 AM3/25/15
to beagl...@googlegroups.com

So does the audio cape work on the  rev C with the may 2014 image?

><>Sent From Marty's S3<><

Colin Bester

unread,
Jun 29, 2015, 5:41:35 PM6/29/15
to beagl...@googlegroups.com
Has anyone come right using audio card (rev B) together with 4DCAPE-43T and BBB Rev C running kernel 3.8.13-bone70?

My setup works flawless using kernel 3.8.13-bone50 but after updating to use 3.8.13-bone70 there seems to be an issue when LCD is connected.

"aplay -l" shows audio device and running "aplay mytunes.wav" just makes a single click sound and nothing more (no music).

If I disconnect the LCD then aplay works just fine.

On prior kernel I did modify BB-BONE-AUDI-02 as the dts file specified exclusive gpio1_18 and gpio1_19 use (and as far I recall, these pins weren't even used) causing conflict with LCD Cape overlay - until updating kernal to bone70.

dts snippet:

        exclusive
-use =
               
/* the pin header uses */
               
"P9.31",        /* mcasp0: mcasp0_aclkx */
               
"P9.29",        /* mcasp0: mcasp0_fsx */
               
"P9.28",        /* mcasp0: mcasp0_axr2 */
               
"P9.25",        /* mcasp0: mcasp0_ahclkx */
               
/* the hardware ip uses */
               
/*"gpio1_18", "gpio1_19",*/
               
"mcasp0";

root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots 

 0: 54:PF---
 
1: 55:PF---
 
2: 56:PF---

 
3: 57:P---L 4D 4.3 LCD CAPE- 4DCAPE-43T     ,00A1,4D SYSTEMS      ,BB-BONE-LCD4-01

 
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-
HDMI
 
8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-03



g...@novadsp.com

unread,
Jun 29, 2015, 8:22:57 PM6/29/15
to beagl...@googlegroups.com

Hello Colin.

 

Keenly interested in getting a known good setup. Which distro/rfs package were you using with that kernel?

 

Thx++

 

--

Colin Bester

unread,
Jun 29, 2015, 8:45:27 PM6/29/15
to beagl...@googlegroups.com
No problem. I am not at my desk right now but will forward info once I'm back at desk.
Pretty silly of me not to state that I'm running the Debian distro as this is an important piece of the equation :-)

Excuse my ignorance but what is 'rfs'?


Sent from my iPhone
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/kT0DKgpHQOU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Colin Bester

unread,
Jun 30, 2015, 3:48:41 AM6/30/15
to beagl...@googlegroups.com
What works for me:
Debian emmc flasher image: BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img
BBB Rev C Board
4D Systems 4DCAPE -43T LCD4
Audio Cape (Rev B1)

I basically followed instructions for audio cape from http://elinux.org/BBB_Audio_Cape_RevB_Getting_Started but needed to edit the dts file before compiling, removing the exclusive use of gpio1_18 and gpio1_19.

Colin Bester

unread,
Jun 30, 2015, 4:39:02 AM6/30/15
to beagl...@googlegroups.com
Some more follow up.

If I disable (via capemgr) loading of BB-BONE-LCD4-01 with LCD connected then audio works - running dmesg after trying to run aplay with and without BB-BONE-LCD4-01 loaded shows two different results.

With BB-BONE-LCD4-01 loaded (enabled):
[  323.373068] bone-capemgr bone_capemgr.9: slot #14: Requesting part number/version based 'BB-BONE-AUDI-03-00A0.dtbo
[  323.373129] bone-capemgr bone_capemgr.9: slot #14: Requesting firmware 'BB-BONE-AUDI-03-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[  323.373457] bone-capemgr bone_capemgr.9: slot #14: dtbo 'BB-BONE-AUDI-03-00A0.dtbo' loaded; converting to live tree
[  323.376959] bone-capemgr bone_capemgr.9: slot #14: #4 overlays
[  323.420327] of_get_named_gpio_flags: can't parse gpios property
[  323.427162] pinctrl-single 44e10800.pinmux: pin 44e10998 already requested by gpio_keys.13; cannot claim for 48038000.mcasp
[  323.439210] pinctrl-single 44e10800.pinmux: pin-102 (48038000.mcasp) status -22
[  323.447022] pinctrl-single 44e10800.pinmux: could not request pin 102 on device pinctrl-single
[  323.492148] davinci-mcasp 48038000.mcasp: pins are not configured from the driver
[  323.501912] 1-0018 supply IOVDD not found, using dummy regulator
[  323.502111] 1-0018 supply DVDD not found, using dummy regulator
[  323.502290] 1-0018 supply AVDD not found, using dummy regulator
[  323.502438] 1-0018 supply DRVDD not found, using dummy regulator
[  323.527081] davinci_evm sound.19:  tlv320aic3x-hifi <-> 48038000.mcasp mapping ok
[  323.569598] bone-capemgr bone_capemgr.9: slot #14: Applied #4 overlays.

With BB-BONE-LCD4-01 disabled:
[  152.155372] bone-capemgr bone_capemgr.9: part_number 'BB-BONE-AUDI-03', version 'N/A'
[  152.155561] bone-capemgr bone_capemgr.9: slot #12: generic override
[  152.155606] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 12
[  152.155654] bone-capemgr bone_capemgr.9: slot #12: 'Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-03'
[  152.157917] bone-capemgr bone_capemgr.9: slot #12: Requesting part number/version based 'BB-BONE-AUDI-03-00A0.dtbo
[  152.157980] bone-capemgr bone_capemgr.9: slot #12: Requesting firmware 'BB-BONE-AUDI-03-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[  152.161585] bone-capemgr bone_capemgr.9: slot #12: dtbo 'BB-BONE-AUDI-03-00A0.dtbo' loaded; converting to live tree
[  152.163815] bone-capemgr bone_capemgr.9: slot #12: #4 overlays
[  152.187525] of_get_named_gpio_flags: can't parse gpios property
[  152.201242] 1-0018 supply IOVDD not found, using dummy regulator
[  152.201434] 1-0018 supply DVDD not found, using dummy regulator
[  152.201606] 1-0018 supply AVDD not found, using dummy regulator
[  152.201756] 1-0018 supply DRVDD not found, using dummy regulator
[  152.220127] davinci_evm sound.15:  tlv320aic3x-hifi <-> 48038000.mcasp mapping ok
[  152.246252] bone-capemgr bone_capemgr.9: slot #12: Applied #4 overlays.

Running same test on 3.8.13-bone50 shows no such error.

Note specifically error message regarding pinctrl-single 44e10800.pinmux with LCD4 loaded.

Is this a red herring or indication of conflict? 

g...@novadsp.com

unread,
Jun 30, 2015, 5:23:23 AM6/30/15
to beagl...@googlegroups.com

Excellent stuff. Thank you.  The dmesg spw below is from your bone70 installation (?). Let me try and get that bone50 set up to work first.

 

rfs == root file system (in case you were using something generated by Buildroot for example)

 

BR

 

Jerry.

 

From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of Colin Bester
Sent: 30 June 2015 09:39
To: beagl...@googlegroups.com
Subject: Re: [beagleboard] Audio Cape on BBB rev C

 

Some more follow up.

--

Colin Bester

unread,
Jun 30, 2015, 5:39:25 AM6/30/15
to beagl...@googlegroups.com
Ah, gotcha - you had me there with rfs :-). 

yes the dmesg outputs shown are using the bone70 installation. 

glad to have someone else looking at this as I may just be missing something simple - I am wanting to move up to bone70 to make use of the improved cloning scripts as I need to clone quite a few boards in the very near future.

Colin Bester

unread,
Jun 30, 2015, 12:49:33 PM6/30/15
to beagl...@googlegroups.com
I decided to create a new post specifically to this issue and version as this thread covers a huge span of time with many updates in between.

anilt...@gmail.com

unread,
Mar 11, 2016, 9:15:41 AM3/11/16
to BeagleBoard
Hi all ,

I am working on the beagle bone black ,actually what i want to do is ,play a audio in BBB. i am using Wolf son audio card to interface with the BBB, by using YOCTO ,the card specific information i given in .dts or .dtsi file  file actually the card is specific to raspberry pi but i want  to use with BBB .In wolfson card having PCM port there is no PCM port  on BBB , i'm using MCASP to interface the card with BBB the data transmission through i2c .i build images in yocto i took that images and booting the board after booting the kernel  i checked in /proc directory in this there is no asound and cards. can you please tell me the what i was doing wrong in this .

 can you please give me the suggestion ,how to play the audio by using that card .
Reply all
Reply to author
Forward
0 new messages