From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - lib 0001575]: Multi ice1712 cards don't work in duplex mode Date: Wed, 21 Dec 2005 23:59:26 +0100 Message-ID: <215652d64188fc43da981ba0ae40401f@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id C5DA61B7 for ; Wed, 21 Dec 2005 23:59:26 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== 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-21-2005 23:59 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. ====================================================================== ---------------------------------------------------------------------- johnrigg - 12-03-05 22:56 ---------------------------------------------------------------------- The change that broke it was pcm_multi.c rev 1.89 (Jan 20 2005). In alsa-lib-1.0.10/src/pcm/multi_pcm.c commenting out lines 600-641 along with lines 729 and 731 removes the following functions and allows it to work with jackd in duplex mode: snd_pcm_multi_link_fd_failed() snd_pcm_multi_link_fd() snd_pcm_multi_unlink() ---------------------------------------------------------------------- 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. 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 ====================================================================== ------------------------------------------------------- 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