Hi,

At Tue,  4 Mar 2003 19:35:35 -0400,
mjander wrote:
> 
> Hi,
> 
> I started writing a new driver for the Aureal Vortex soundcards.

wow, how did you get hardware information?

> Now the howto is pretty  good, and the  basic stuff is nearly
> complete, but
> how do i integrate  my driver into the configure scripts,
> Makefiles, and
> all sorts of  thingiees that  makee up the tree ?
> 
> I placed the driver (several files) into  the directory
> "pci/vortex". I  managed to get the configure script to recognice
> the "vortex" card fiddling in the  acinclude.m4  file,  but  when
> i  do "make" it doesnt compile  the  files in "/pci/vortex". This
> directory has a  apropiate makefile  (i  took the one  of the
> emu10k1 an d modiifyed it).
> 
> What is the "official" procedure to integrate  my driver ?

ah, that's not on the howto yet :)

first, the test drivers should be put into alsa-driver tree.  they
will be brought up to alsa-kernel tree eventually and submitted to
linux 2.5 kernel later.

in your case, alsa-driver/pci/vx222 or alsa-driver/pci/pdplus would be
a good example. 
add the vortex directory to extra-subdir-y in alsa-driver/pci/Makefile:

extra-subdir-y  := pdplus vx222 vortex

create a new Makefile in alsa-driver/pci/vortex (see vx222 or pdplus
Makefile).

add the definition to alsa-driver/utils/Modules.dep like below:

%dir linux/sound/pci/vortex
|snd-vortex snd-pcm ...

where the second and later arguments are dependent lowlevel modules.

and also define the necessary dependency in
alsa-driver/acore/Makefile or whererever the dependent lowlevel
modules exist.

finally, run ./cvscompile to regenerate the configure script, etc.


ciao,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to