[alsa-devel] twl4030 and Puredata/jack
Gabriel M. Beddingfield
gabrbedd at gmail.com
Sat Mar 9 21:21:20 CET 2013
On 03/08/2013 07:31 AM, Anders Alex wrote:
> I will paste a couple of use-cases and their corresponding dmesg output:
>
> When I run ~$ pd -alsa I get:
>
> snd_pcm_hw_params (input): Invalid argument
> snd_pcm_hw_params (output): Invalid argument
>
> and:
> [201429.385345] omap_mcbsp_dai_hw_params: not enough bandwidth for desired
> rate and channels
> [201429.385375] asoc: interface omap-mcbsp-dai.1 hw params failed
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?
> With 'jackd -d alsa -S' (need s16_le):
>
> loading driver ..
> creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|16bit
> control device hw:0
> configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
> ALSA: final selected sample format for capture: 16bit little-endian
> ALSA: use 2 periods for capture
> ALSA: cannot set hardware parameters for capture
> ALSA: cannot configure capture channel
Looking at the source, it looks like hw:0,0 has no capture port. Try
adding the -P parameter to jackd. Playback only.
Also, post the output of:
$ cat /proc/asound/devices
-gabriel
More information about the Alsa-devel
mailing list