Date: Mon, 8 Aug 2005 13:46:16 -0400 From: John Baldwin <jhb@FreeBSD.org> To: "A. Wik" <aw@aw.gs> Cc: multimedia@FreeBSD.org Subject: Re: SB 3DSE ioctl() patch Message-ID: <200508081346.16811.jhb@FreeBSD.org> In-Reply-To: <20050806084910.N13128@dynamite.narpes.com> References: <20050806084910.N13128@dynamite.narpes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 06 August 2005 05:50 am, A. Wik wrote: > (This was originally addressed to Cameron Grant, the author > of the files I modified. Unfortunately, my message bounced, > and shortly thereafter, I learned that he passed away earlier > this year [1]. I hope this forum is an appropriate alternative.) > > [1] http://lists.nycbug.org/pipermail/talk/2005-March/005014.html > > **** > > Hello, > > I just installed a Soundblaster 16 (DSP v4.16) in my FreeBSD > machine, and found no way to enable the 3D stereo enhancement > feature that the Linux, DOS and Win9x drivers support. So I > looked at the Linux driver sources and decided to add a > compatible mixer ioctl() to the FreeBSD driver. That turned > out to be a lot more complicated than expected, because there > was no existing interface for this kind of hardware-specific > ioctls. > > After extensive reverse-engineering of the FreeBSD driver > model (studying the UART and TTY drivers was particularly > helpful), and adding a method to the mixer interface, I > managed to implement the feature, at least to the extent > that it works for me. > > Perhaps you could take a look at the patch to verify that > it doesn't break anything, and consider adding it to the > mainstream kernel? The patch and a utility for testing > it is available from my FTP site: > > ftp://vax.narpes.com/users/aw/freebsd-5.3-aw-3dse.diff > ftp://vax.narpes.com/users/aw/s3dioctl.c > > Regards, > A. Wik multimedia@ (cc'd) is probably a better list for discussing a patch to the sound drivers. Hopefully someone here can provide feedback and help you get this into the tree. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508081346.16811.jhb>