Audiowerk 2 ALSA driver

News

February, 19th 2008 : The driver is now integrated in the ALSA source tree !! More informations on the ALSA website.

February, 8th 2008 : The digital input works quite well now. We still thinking about submitting the driver into the ALSA source tree.

September, 12 2007 : The digital output now works on 64 bit system (AMD64 mandriva linux 2007)!! We going to test it soon on 32 bit ubuntu linux. Next steps are now :

June, 14 2007 : The driver analog input and output work also on 64 bit system !! The digital output generate some noise which look like the original sound.

Project presentation

This project aims to provide an ALSA driver for the emagic AUDIOWERK 2 soundcard. A low-cost variant of audiowerk-8 professionnal soundcard.

Features

The features currently supported now are :

Get the driver !

pre-requesits

This driver is for kernel 2.6.20 or greater. You will need the kernel headers of your linux system to compile this ALSA driver. On ubuntu systems, you can get it with the command :

apt-get install linux-headers-your_kernel_version

the ALSA way

The driver is now integrated into the ALSA source tree, you can use the ALSA explanations.

the .tgz way

Download this archive and use the following commands :

[jeanpat@piorce aw2-alsa]$ tar -xzf aw2-release.tgz 
[jeanpat@piorce aw2-alsa]$ cd aw2-alsa/
[jeanpat@piorce aw2-alsa]$ make clean
rm -f *.mod.c *.o *.ko *~ Modules.symvers
[jeanpat@piorce aw2-alsa]$ make
make -C /lib/modules/2.6.17-14mdv/build M=/home/jeanpat/dev/audioberk/gna/aw2-alsa modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.17-14mdv »

  WARNING: Symbol version dump /usr/src/linux-2.6.17-14mdv/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2-alsa.o
  CC [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2-saa7146.o
  LD [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.o
  Building modules, stage 2.
  MODPOST
  CC      /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.mod.o
  LD [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.ko
make[1]: quittant le répertoire « /usr/src/linux-2.6.17-14mdv »
[jeanpat@piorce aw2-alsa]$ su
[password to get the rights to install the module]
[jeanpat@piorce aw2-alsa]$ make install
cp -f aw2.ko /lib/modules/`uname -r`/kernel/sound/pci/snd-aw2.ko
[root@piorce aw2-alsa]# insmod /lib/modules/`uname -r`/kernel/sound/pci/snd-aw2.ko
$ lsmod |grep aw2
aw2                    14652  0
snd_pcm                89864  4 aw2,snd_ice1712,snd_ac97_codec,snd_pcm_oss
snd                    55268  13 aw2,snd_ice1712,[other modules...]
			

the svn way

You can compile directly from svn source tree :

$ svn co svn://svn.gna.org/svn/aw2-alsa/trunk aw2-alsa
    aw2-alsa/aw2_tsl.h
A    aw2-alsa/aw2-saa7146.h
A    aw2-alsa/COPYING
other files...
$ cd aw2-alsa/
[jeanpat@piorce aw2-alsa]$ make clean
rm -f *.mod.c *.o *.ko *~ Modules.symvers
[jeanpat@piorce aw2-alsa]$ make
make -C /lib/modules/2.6.17-14mdv/build M=/home/jeanpat/dev/audioberk/gna/aw2-alsa modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.17-14mdv »

  WARNING: Symbol version dump /usr/src/linux-2.6.17-14mdv/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2-alsa.o
  CC [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2-saa7146.o
  LD [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.o
  Building modules, stage 2.
  MODPOST
  CC      /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.mod.o
  LD [M]  /home/jeanpat/dev/audioberk/gna/aw2-alsa/aw2.ko
make[1]: quittant le répertoire « /usr/src/linux-2.6.17-14mdv »
[jeanpat@piorce aw2-alsa]$ su
[password to get the rights to install the module]
[jeanpat@piorce aw2-alsa]$ make install
cp -f aw2.ko /lib/modules/`uname -r`/kernel/sound/pci/snd-aw2.ko
[root@piorce aw2-alsa]# insmod /lib/modules/`uname -r`/kernel/sound/pci/snd-aw2.ko
$ lsmod |grep aw2
aw2                    14652  0
snd_pcm                89864  4 aw2,snd_ice1712,snd_ac97_codec,snd_pcm_oss
snd                    55268  13 aw2,snd_ice1712,[other modules...]

the aw2 module is loaded !! What else ?

You can directly use it with any sound player/recorder, for example xmms. That's all folks !!