[lkml]   [1998]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectGUS patch
Hello all.

Some weeks ago, I asked for a solution to the fact that GUS Classic sound
cards "hanged" on output of digital sound. Somebody (I don't remember) told me
to manually change a line in drivers/sound/dmabuf.c, and it worked OK.

He said his patch were in the way to the source tree, but as of 2.1.111, it
insn't yet. I enclose the patch (although the merit isn't mine), in case
someone found it interesting.

I have 2 computers, one with an AWE64 and the other with a GUS Classic-clone,
and this patch works great on both. Does anybody know if this breaks
something, and where is the problem, then, that the patch solves.


--- linux/drivers/sound/dmabuf.c.orig Sat Jul 25 21:30:43 1998
+++ linux/drivers/sound/dmabuf.c.patched Sat Jul 25 23:17:25 1998
@@ -960,7 +960,7 @@
if (!(adev->flags & DMA_AUTOMODE))
dmap->flags &= ~DMA_ACTIVE;
- while (dmap->qlen <= 0) {
+ while (dmap->qlen < 0) {
if (dmap->flags & DMA_DIRTY && dmap->applic_profile != APF_CPUINTENS) {

Francisco Rodrigo Escobedo Robles - Sending from home
ax25:ea7abo - -
This message is just my opinion right now

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:43    [W:0.066 / U:2.652 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site