From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Anders Alex <alibobar@gmail.com>
Cc: alsa-devel@alsa-project.org,
"Gražvydas Ignotas" <notasas@gmail.com>,
"Gabriel M. Beddingfield" <gabrbedd@gmail.com>
Subject: Re: twl4030 and Puredata/jack
Date: Mon, 11 Mar 2013 11:42:11 +0100 [thread overview]
Message-ID: <513DB503.5020109@ti.com> (raw)
In-Reply-To: <CAAuz6apRE90QU5Hm-+jeEB4nxcZHUNp4_Hhfcgb_p7854FiwBw@mail.gmail.com>
On 03/11/2013 02:42 AM, Anders Alex wrote:
> On Sat, Mar 9, 2013 at 9:21 PM, Gabriel M. Beddingfield
> <gabrbedd@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@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
--
Péter
next prev parent reply other threads:[~2013-03-11 10:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 15:31 twl4030 and Puredata/jack Anders Alex
2013-03-09 20:21 ` Gabriel M. Beddingfield
2013-03-11 1:42 ` Anders Alex
2013-03-11 10:42 ` Peter Ujfalusi [this message]
2013-03-11 16:57 ` Grazvydas Ignotas
2013-03-11 13:45 ` Peter Ujfalusi
2013-03-11 17:31 ` Peter Ujfalusi
2013-03-11 18:21 ` Anders Alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513DB503.5020109@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alibobar@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=gabrbedd@gmail.com \
--cc=notasas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.