Skip to content

News Arts and Science Teaching Media Library Services IEM - intern Contact
  You are not logged in Link icon Log in
You are here: Home » Kunst & Forschung » Signalverarbeitung » DSP MADI ALSA Linux Treiber » Installation der ALSA HDSP MADI Treiber

Installation der ALSA HDSP MADI Treiber

ALSA HDSP-MADI Driver Installation from ALSA-CVS

since hdspm driver now in ALSA-Drivers Version 1.0.4 and up and in the ALSA-CVS, you just get them there:http://alsa-project.org/ and follow the instructions for installing there, but here is some steps described for fast install:

Some steps to install the hdspm-driver:

Note on Debian systems or other distribution, there are alsa-modules packages already compiled or alsa-sourcepackages to install smoothly in that systems, so use them and their instruction instead of this instruction

1) get the alsa-cvs or latest release

From Site http://alsa-project.org/ download and unpack sources from ftp or from cvs see also

here short description for anonymous cvs access:

   > cd <directory_to_store_sources>
   > cvs -d ':pserver:anonymous@cvs.alsa-project.org:/cvsroot/alsa' login

   Type empty password here... (Press 'Enter' only)

   > cvs -z3 -d ':pserver:anonymous@cvs.alsa-project.org:/cvsroot/alsa' co -P .

   Once the cvs tree is checked out, you may update your tree with the latest changes 
   by going to the directory you checked it out in and typing:

   > cvs -z3 -d ':pserver:anonymous@cvs.alsa-project.org:/cvsroot/alsa' update -P -d

   Other useful commands are given by:

   > cvs --help-commands

2) Compilation

if you got the cvs-source, in .../alsa-driver directory execute:

    ./cvscompile --with-cards=hdspm 

or:

    ./cvscompile --with-cards=hdspm --with-debug=full

for debugging output

and then alsa should compile for your kernel

or if you have a tar archive download and unpacked it do a:

   ./configure --with-cards=hdspm

or:

   ./configure --with-cards=hdspm --with-debug=full

!!! DONT forget to compile and install /alsa-lib and /alsa-utils for a new version of alsa you got from 1) !!!

3) Install alsa kernel modules

in / do a:

     make install 

do a modinfo hdspm to see if the modules is found now and for params you need

4) Load the hdspm module

anywhere do a:

    > modprobe hdspm 

then there should be a a procfile-entry for the hdspm (if you have enabled proc filesystem inkernel and mounted it):

    > cat /proc/asound/card0/hdspm

5) Testing

get the latest test-tools from here and unpack them.

in the tests directory there are some utils to test. with the hdspm_mixer you can enable the mixerchannels, see the scripts in the bin folder od tests

go into the tests/src direcory and do a:

    make and make install

then there should be binaries in tests/bin hdspm_mixer and outtest

now in tests/bin directory you can test the madidriver, for example:

    tests/bin/monitor_on_analog_out  32768
    tests/bin/outtest -c 64

mfG

Winfried Ritsch - 2003 IEM-Graz


Last modified 29.06.2004