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: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Colin Bester
Sent: 30 June 2015 09:39
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] Audio Cape on BBB rev C

 

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? 


On Monday, June 29, 2015 at 4:41:35 PM UTC-5, Colin Bester wrote:

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

 

 

 

-- 
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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to