[alsa-devel] twl4030 and Puredata/jack

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Mar 11 11:42:11 CET 2013


On 03/11/2013 02:42 AM, Anders Alex wrote:
> On Sat, Mar 9, 2013 at 9:21 PM, Gabriel M. Beddingfield
> <gabrbedd at gmail.com>wrote:
> 
>> Strange.  In kernel 3.2, omap-mcbsp-dai.1 (McBSP1) is used for the codec.
>>  But in the mainline it's omap-mcbsp-dai.2.
>>
>> So the question is... how is the board wired?  And does your kernel match
>> the board?
> 
> 1) no idea 2) it should, yes.

McBSP2 is connected to PCM1773 for playback
McBSP4 is connected to TWL4030 for capture

Both codec is slave, but the CLKS of McBSP is connected to TWL4030's CLKS out
256fs.

Since both PCM is hooked with the twl4030 codec driver, only stereo stream is
supported because the twl4030 does not support mono on the HiFi DAI (it
supports stereo or four channel).
They needed to do this so when they do playback through the PCM1773 they need
to power on the twl4030 codec and receive the 256fs from it.

Gražvydas Ignotas can correct me if I'm mistaken...

>> Looking at the source, it looks like hw:0,0 has no capture port.  Try
>> adding the -P parameter to jackd.  Playback only.
>>
> Hmm, when I do that I get:
> 
> [419034.693756] Alignment trap: not handling instruction edc46a06 at
> [<4022ce2c>]
> [419034.693878] Unhandled fault: alignment exception (0x801) at 0x4019e1e6
> 
> In dmesg.
> Apparently this is/was a known issue on jack2 and has been fixed there.
> No idea about jack1 (which I'm currently running). Will try to compile
> latest jack2 and report back on this.
> 
> 
> Also, post the output of:
>>
>>    $ cat /proc/asound/devices
>>
> 
> $ cat /proc/asound/devices
>   0: [ 0]   : control
>   1:        : sequencer
>  16: [ 0- 0]: digital audio playback
>  17: [ 0- 1]: digital audio playback
>  24: [ 0- 0]: digital audio capture
>  25: [ 0- 1]: digital audio capture
>  33:        : time
> 
> 
>>
>> -gabriel
>>
>>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


-- 
Péter


More information about the Alsa-devel mailing list