Re: 2.0.34pre breaks my system badly

Mark Cooke (mpc@star.sr.bham.ac.uk)
Sun, 17 May 1998 02:15:15 +0100 (BST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 17 May 1998, Alan Cox wrote:

> If you want to do upgrade your sound its probably best to get both the awedrv
> and the current OSS 3.8 for 2.0.x and see how they go for you. If they work
> for your combination they are way better than the 2.0 sound code. If not
> well diff -R ;)

Aye. I have to agree that the Linux community using sound has to thank
Hannu and everyone else who have spent time fighting the hardware
oddities.

My small contribution: I'm currently running OSS/Free 3.8s9 &
2.0.34pre13. There is a little bug with Awe32 support in this
OSS/Free release, which the following diff to
/usr/src/linux/drivers/sound/lowlevel/awe_wave.c fixes. I've been
running with this fix since 2.0.33 with a non-pnp Awe32 with 8Mb
without any trouble.

1777c1777,1778
< IOCTL_TO_USER((char*)arg, 0, &awe_info, sizeof(awe_info));
- ---
> memcpy ((&((char *) arg)[0]), (char *) &awe_info, sizeof (awe_info));
> /* MPC: IOCTL_TO_USER((char*)arg, 0, &awe_info, sizeof(awe_info)); */

Regards,

Mark

+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBNV46K3lbx4ZElNuLEQJnsgCfa/Mjlh6B9sgTbyxaKKGlT68bt4oAn2Ag
t25L6YAYB9aWm5bzLUF8RwYM
=eWgd
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu