* Alsa 0.9.0 RC5 + RH8 + GnomeMeeting
@ 2002-11-07 12:47 Damien Sandras
2002-11-08 14:43 ` Wilfried Weissmann
0 siblings, 1 reply; 2+ messages in thread
From: Damien Sandras @ 2002-11-07 12:47 UTC (permalink / raw)
To: alsa-devel
Hi all,
I subscribed to this mailing list, because GnomeMeeting users have
reported a problem using ALSA 0.9.0RC5 together with GnomeMeeting and
RedHat 8.0.
Actually, the problem is simple to explain, hard to fix, at least for
me. Several users complained that using GnomeMeeting was freezing their
machine. This corresponds to a driver bug, somewhere, as "user-space"
programs can't crash a machine directly. The only particularity of
GnomeMeeting is that it is reading and writing to the device at the same
time.
Only RedHat 8.0 users seem to be affected. Some of the users with
problems installed ALSA 0.9.0RC3 and the problems disappeared.
Are there any known problems, or changes, in ALSA 0.9.0RC5 that could
cause problems on RedHat when used with GnomeMeeting? Can any of you,
with a RedHat, do some tests? What should I do?
Thanks,
--
_ Damien Sandras
(o- GnomeMeeting: http://www.gnomemeeting.org/
//\ FOSDEM 2003: http://www.fosdem.org
v_/_
H.323 phone: callto://ils.seconix.com/dsandras@seconix.com
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Alsa 0.9.0 RC5 + RH8 + GnomeMeeting
2002-11-07 12:47 Alsa 0.9.0 RC5 + RH8 + GnomeMeeting Damien Sandras
@ 2002-11-08 14:43 ` Wilfried Weissmann
0 siblings, 0 replies; 2+ messages in thread
From: Wilfried Weissmann @ 2002-11-08 14:43 UTC (permalink / raw)
To: Damien Sandras, alsa-devel@lists.sourceforge.net
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
Damien Sandras wrote:
> I subscribed to this mailing list, because GnomeMeeting users have
> reported a problem using ALSA 0.9.0RC5 together with GnomeMeeting and
> RedHat 8.0.
>
> Actually, the problem is simple to explain, hard to fix, at least for
> me. Several users complained that using GnomeMeeting was freezing their
> machine. This corresponds to a driver bug, somewhere, as "user-space"
> programs can't crash a machine directly. The only particularity of
> GnomeMeeting is that it is reading and writing to the device at the same
> time.
I had similar problems. A patch from Jaroslav Kysela fixed the problem
for me (see attachment).
>
> Thanks,
bye,
Wilfried
[-- Attachment #2: pcm_oss.c.diff --]
[-- Type: text/plain, Size: 724 bytes --]
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_oss.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- alsa/alsa-kernel/core/oss/pcm_oss.c 2002/10/21 18:28:20 1.21
+++ alsa/alsa-kernel/core/oss/pcm_oss.c 2002/10/30 20:29:15 1.22
@@ -564,7 +564,15 @@
} else {
ret = snd_pcm_lib_read(substream, ptr, frames);
}
- if (ret != -EPIPE && ret != -ESTRPIPE)
+ if (ret == -EPIPE) {
+ if (runtime->status->state == SNDRV_PCM_STATE_DRAINING) {
+ ret = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DROP, 0);
+ if (ret < 0)
+ break;
+ }
+ continue;
+ }
+ if (ret != -ESTRPIPE)
break;
}
return ret;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-08 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-07 12:47 Alsa 0.9.0 RC5 + RH8 + GnomeMeeting Damien Sandras
2002-11-08 14:43 ` Wilfried Weissmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.