Re: turtle beach multisound, patch for 2.4

John Coiner (jcoiner@stanford.edu)
Sat, 01 Jul 2000 02:36:17 -0700


John Coiner wrote:
>
> greetings and hallucinations
>
> This is a patch against the file msnd.c included in 2.4.0-test2ac.
>
> It should fix those OOPSes when you try to play or record sound on that
> turtle beach multisound of yours. The patched driver uses isa_readb and
> isa_writeb instead of memcpy to access ISA address space. I guess some
> smart people decided that accessing ISA space with memcpy was bad, and
> they broke it in 2.4.
>
> I've tested this under 2.4.0-test2-ac, with a vanilla tb Fiji revision
> C, without digital i/o. xmms plays, rec records, kmix mixes. I haven't
> checked too much beyond that. Who knows it might even work for other
> multisounds. It worked as a module, and also compiled in.
>
> Hope someone finds this helpful. I'm new to this list. Please don't
> totally flame me when you look at the four lines of code I attached, and
> see what an awful programmer I am.
>
> - John
>
> encl: msnd.patch
>
> what to do with it:
> patch /path/to/linux/drivers/sound/msnd.c msnd.patch
>

Hmmmm... I'm working on a new patch that won't use like 30% of your
CPU... you prolly want to wait for that one.

-- John

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/