From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000758]: Full duplex is not working in OSS emulation. Date: Wed, 10 May 2006 14:56:37 +0200 Message-ID: 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 33A7815A for ; Wed, 10 May 2006 14:56:38 +0200 (MEST) 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: croiset Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 758 Category: PCI - RME 96 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Redhat 7.2 Kernel Version: 2.4.7 ====================================================================== Date Submitted: 12-29-2004 10:15 CET Last Modified: 05-10-2006 14:56 CEST ====================================================================== Summary: Full duplex is not working in OSS emulation. Description: If I play something with one player, I am unable to record something on the same device. The same thing ispossible with the other cards I have. ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000521 Jack + Alsa not working in full duplex,... ====================================================================== ---------------------------------------------------------------------- croiset - 05-09-06 15:49 ---------------------------------------------------------------------- We put some logs in rme96.c for debugging the problem. We obtain this : The function snd_rme96_capture_hw_params returns -EBUSY when we open the analog capture device when the analog output device is already opened in play mode because : rme96->playback_periodsize = 2048 rme96->capture_frlog = 2 params_period_size(params)=2048 then the tsst in line 1052 (alsa 1.0.11) is valid and then returns -EBUSY If the analog output device is not opened, when we capture, the values are : rme96->playback_periodsize = 0 rme96->capture_frlog = 2 params_period_size(params)=2048 then the test is not valid and the device is working. ---------------------------------------------------------------------- tiwai - 05-10-06 14:56 ---------------------------------------------------------------------- That makes sense. RME96 requests exactly the same condition for playback and capture sides. When you use OSS, each ioctl tries to change one parameter, and at some stage, it results in an incompatible state. Usually this should be restricted via hw_constraint settings, but rme96.c has no proper code for that. Issue History Date Modified Username Field Change ====================================================================== 12-29-04 10:15 croiset New Issue 12-29-04 10:15 croiset Distribution => Redhat 7.2 12-29-04 10:15 croiset Kernel Version => 2.4.7 12-29-04 14:17 tiwai Note Added: 0002998 12-29-04 14:54 croiset Note Added: 0003000 12-29-04 17:39 tiwai Note Added: 0003004 12-29-04 17:56 croiset Note Added: 0003005 12-29-04 17:59 croiset Note Added: 0003006 12-29-04 18:05 croiset Note Edited: 0003006 12-29-04 18:18 croiset Note Edited: 0003006 01-03-05 16:30 croiset Note Added: 0003067 09-14-05 16:16 jdthood Relationship added related to 0000521 12-30-05 23:08 rlrevell Note Added: 0007278 01-02-06 09:12 croiset Note Added: 0007368 05-09-06 14:09 croiset Note Added: 0009657 05-09-06 15:49 croiset Note Added: 0009659 05-10-06 14:56 tiwai Note Added: 0009717 ====================================================================== ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642