Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2000 11:30:42 -0700
From:      Mike Porter <mupi@mknet.org>
To:        freebsd-stable@freebsd.org
Subject:   and still more sound questions (driver porting for an s3 SonicVibes)
Message-ID:  <00112911304203.11309@mukappa.home.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, since sound questions appear to be the topic of the week...

IT occurs to me that perhaps there should be a -sound mailing list? (or am I 
missing something and there is already?  If so I apologize, as this 
rightfully belongs there if there is a such a list)

I am trying to figure out how to get a driver for the s3 sonicvibes card into 
freebsd.  I know that both NetBSD and OpenBSD have that driver, and I tried 
(with no great sucess, I would add) to move the existing driver over my 
freebsd sources.  It seems that there are too many differences in the kernel 
interfaces to allow you to simply "plug in" a driver in that fashion.

I *AM* willing to devote some time to porting this driver, but frankly, I 
don't know where to start.  I know I have seen some comments float by about 
other drivers being ported from NetBSD, so I could get some input on what I 
need to change, that would be great.  (I know that the headers are different 
to some extent, and in different locations.  I also know that some of the 
function calls are different (for example, the existing driver uses 
pci_conf_read() where FreeBSD (ie, pcm sub-drivers) use pci_read_config() 
(presumably defined in one of the included header files? (assuming pcivars.h 
or pcireg.h for the moment). )  The sonicvibes card DOES have an SB 
compatible mode, so it *should* be able to work within the exisitng pcm 
driver, if the device ID is added, and I can add that and try, but I don't 
know where to add it TO.

Any help or existing drivers would be greatly appriciated.  (If a driver 
exists under -current, I would still be willing to try and integrate it to my 
- -stable, because I much prefer my SonicVibes-based card to the cheap SB Vibra 
I am using now.

mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjolS1IACgkQZ7GovTQbIm4lwgCfdn8N4bsUC/LQNaSvf7WSPqqJ
jp8AnAv9blXEEXIFLLSOF2Bb552zy5Vj
=f1id
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00112911304203.11309>