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: Mon, 3 Jan 2005 16:30:49 +0100 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 [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 6BC632FE for ; Mon, 3 Jan 2005 16:30:49 +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: 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: 01-03-2005 16:30 CET ====================================================================== 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. ====================================================================== ---------------------------------------------------------------------- croiset - 12-29-04 18:18 ---------------------------------------------------------------------- I forget one important i think. NAS use the dsp in playback mode I don't record anything (PS : I want to record in analog mode). # cat /proc/asound/card0/pcm0p/sub0/info card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: Digi96 IEC958 name: Digi96 IEC958 subname: subdevice https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 0 ---------------------------------------------------------------------- croiset - 01-03-05 16:30 ---------------------------------------------------------------------- I made some more tests and the error after an ioctl. line_fd = open(_opt->device, O_RDONLY|O_NONBLOCK ) -> ok fcntl(line_fd,F_SETFD,FD_CLOEXEC) -> ok ioctl(line_fd, SNDCTL_DSP_SETFRAGMENT, &frag) -> ok ioctl(line_fd, SNDCTL_DSP_SETFMT, &afmt) -> return -1 errno = 16 (Device or resource busy) ioctl(line_fd, SNDCTL_DSP_CHANNELS, &channels) -> return -1 errno = 16 (Device or resource busy) ioctl(line_fd, SNDCTL_DSP_SPEED, &rate) -> return -1 errno = 16 (Device or resource busy) read(line_fd, audio_data, size) -> return -1 errno = 16 (Device or resource busy) 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 ====================================================================== ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt