I had a similar issue with this. I had to change this commands a little. export SLOTS=`ls /sys/devices/bone_capemgr.*/slots` echo BB-BONE-AUDI-02 > $SLOTS
Regards, On Tue, May 20, 2014 at 4:26 PM, John Syn <[email protected]> wrote: > > From: Eric Fort <[email protected]> > Reply-To: <[email protected]> > Date: Monday, May 19, 2014 at 11:21 PM > To: beagleboard <[email protected]> > Subject: Re: [beagleboard] help getting audio cape rev b1 working > > John, > > here's what happens when I use your .dts file: > > root@beaglebone:~# export SLOTS=/sys/devices/bone_capemgr.*/slots > root@beaglebone:~# echo BB-BONE-AUDI-02 > $SLOTS > -bash: echo: write error: Invalid argument > > That is very strange. How did you compile the audio cape DTS? I just place > it in the firmware/cape folder and updated the makefile so that it is > compiled when I build the kernel. > > Regards, > John > > > > and when I use the one linked to in the instructions > (http://elinux.org/images/1/10/BB-BONE-AUDI-02-00A0.zip) - yes I extracted > the file from the zip archive first...): > > root@beaglebone:~# export SLOTS=/sys/devices/bone_capemgr.*/slots > root@beaglebone:~# echo BB-BONE-AUDI-02 > $SLOTS > > (no errors) > > Thanks, > > Eric > > > > > On Mon, May 19, 2014 at 7:09 PM, John Syn <[email protected]> wrote: >> >> >> From: Eric Fort <[email protected]> >> Reply-To: <[email protected]> >> Date: Monday, May 19, 2014 at 6:56 PM >> To: beagleboard <[email protected]> >> Subject: [beagleboard] help getting audio cape rev b1 working >> >> I have followed the instructions found at >> http://elinux.org/CircuitCo:Audio_Cape_RevB#Audio_Cape_Revision_B1 and I'm >> just getting static when I try speaker-test -f 600 or aplay filename.wav. >> the wav file plays fine on my windows laptop and aplay identifies it >> properly but just static for audio. what may I have missed? >> >> Try the attached DTO. I generated this myself before Circuitco published >> theirs. When Circuitco published their DTO I described what I thought were >> problems but no one responded. >> >> Regards, >> John >> >> >> >> here's dmesg: >> >> root@beaglebone:~# dmesg|tail >> [ 1088.018924] bone-capemgr bone_capemgr.8: slot #4: Requesting firmware >> 'BB-BONE-AUDI-02-00A0.dtbo' for board-name 'Override Board Name', version >> '00A0' >> [ 1088.028213] bone-capemgr bone_capemgr.8: slot #4: dtbo >> 'BB-BONE-AUDI-02-00A0.dtbo' loaded; converting to live tree >> [ 1088.029031] bone-capemgr bone_capemgr.8: slot #4: #4 overlays >> [ 1088.059524] of_get_named_gpio_flags: can't parse gpios property >> [ 1088.071612] 1-0018 supply IOVDD not found, using dummy regulator >> [ 1088.071867] 1-0018 supply DVDD not found, using dummy regulator >> [ 1088.072049] 1-0018 supply AVDD not found, using dummy regulator >> [ 1088.072277] 1-0018 supply DRVDD not found, using dummy regulator >> [ 1088.098289] davinci_evm sound.10: tlv320aic3x-hifi <-> 48038000.mcasp >> mapping ok >> [ 1088.134015] bone-capemgr bone_capemgr.8: slot #4: Applied #4 overlays. >> >> and a listing of slots showing the card: >> >> root@beaglebone:~# cat /sys/devices/bone_capemgr.*/slots >> 0: 54:PF--- >> 1: 55:PF--- >> 2: 56:PF--- >> 3: 57:PF--- >> 4: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-02 >> >> >> Thanks, >> >> Eric >> >> -- >> 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 [email protected]. >> 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 [email protected]. >> 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 [email protected]. > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
