Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - lib 0001575]: Multi ice1712 cards don't work in duplex mode
Date: Thu, 22 Dec 2005 00:57:13 +0100	[thread overview]
Message-ID: <a9f903be62efb5e29a7f120127a49451@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1575> 
======================================================================
Reported By:                johnrigg
Assigned To:                
======================================================================
Project:                    ALSA - lib
Issue ID:                   1575
Category:                   1_pcm - digital audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-18-2005 01:12 CET
Last Modified:              12-22-2005 00:57 CET
======================================================================
Summary:                    Multi ice1712 cards don't work in duplex mode
Description: 
ice 1712 cards have 12 capture channels and 10 playback. This prevents
multi pcm
plugin from working in duplex mode. If I use following in .asoundrc:

slaves.a.pcm "hw:0,0"
slaves.a.channels 12
slaves.b.pcm "hw:1,0"
slaves.b.channels 12

I can only start jackd with -C option. Attempting to start with both -C
and -P
just produces error message 
ALSA: no playback configurations available (Invalid argument)
ALSA: cannot configure playback channel

Similarly if I set channels to 10 I can only start jackd with -P option.
Using
both -C and -P gives error
ALSA: no playback configurations available (invalid argument)
ALSA: cannot configure capture channel

These cards don't have separate subdevices for capture and playback, so
it
isn't possible to define two different multi configs and combine them with
asym
plugin. If channels is set to anything other than 10 or 12 (eg. 8) it
produces error eg. ALSA: cannot set channel count to 8 for capture.

I can use one card at a time in duplex mode with
`jackd -d alsa -d hw:0'  or `jackd -d alsa -d hw:1'.
jack is obviously happy to run with 12 capture and 10 playback channels, 
it just appears that the multi plugin can't deal with this.
======================================================================

----------------------------------------------------------------------
 Roman - 12-21-05 23:59 
----------------------------------------------------------------------
We have almost the same problem with 2 x M-Audio Delta 1010.

Tried:
jackd 0.100.0 incl. MMAP_COMPLEX
alsa-lib-1.0.10
alsa-driver-1.0.10
kernel 2.6.13-15-smp

Used Patches:
envy24control-wc-patch
pcm_multi-patch
mmap_complex-patch-0.100.7

Getting error messages like:
poll time out, polled for XXX usecs

Playback alone works with:
jackd -dalsa -r48000 -p2048 -n2 -Pmulti_playback&
Capture only works with:
jachd -dalsa -r4800 -p2048 -n2 -Cmulti_capture &

It is impossible to set the settings for the second soundcard for
synchronizing to word clock in envy24control. It seems that it does not
matter which soundcard is selected during doing changes. After selecting
the profile from the previous changed soundcard the settings seem to get
lost.

----------------------------------------------------------------------
 johnrigg - 12-22-05 00:57 
----------------------------------------------------------------------
I just noticed a couple of days ago that envy24control from
alsa-tools-1.0.10
with the patch for the word clock doesn't work on 2.6.13 kernel, only on
2.6.14
(and hopefully 2.6.15-rc?). On 2.6.13 it can't read word clock status (the
thing the patch fixes on 2.6.14). Maybe if you try removing the patch it
will work again on 2.6.13.
envy24control also has another quirk. The second card can't be locked to
the word clock input without clicking on the S/PDIF In button first. Then
the Word Clock button works.
Unfortunately I still haven't found why the poll timeout is occurring. I
can use
duplex multi_pcm mode with kernels up to 2.6.14-rt20 with patched
pcm_multi, but -rt22 breaks it again. I'm about to try 2.6.15-rc5-rt4 to
see if it works again
on my system.
There's a long thread on jackit-devel about this:
http://sourceforge.net/mailarchive/forum.php?thread_id=9270417&forum_id=3040

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-18-05 01:12 johnrigg       New Issue                                    
12-03-05 20:09 johnrigg       Note Added: 0006902                          
12-03-05 22:56 johnrigg       Note Added: 0006905                          
12-21-05 23:16 Roman          Issue Monitored: Roman                       
12-21-05 23:16 Roman          Issue End Monitor: Roman                     
12-21-05 23:59 Roman          Note Added: 0007113                          
12-22-05 00:00 Roman          Issue Monitored: Roman                       
12-22-05 00:57 johnrigg       Note Added: 0007114                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

             reply	other threads:[~2005-12-21 23:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 23:57 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-12-24 18:26 [ALSA - lib 0001575]: Multi ice1712 cards don't work in duplex mode bugtrack
2005-12-24 18:23 bugtrack
2005-12-22 16:18 bugtrack
2005-12-21 22:59 bugtrack
2005-12-03 21:56 bugtrack
2005-12-03 19:09 bugtrack
2005-11-18  0:12 bugtrack

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=a9f903be62efb5e29a7f120127a49451@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox