Linux Installations:

The main notes I have from my experience at installing all of this are:

1. I used Partition Magic to set up the partition for Linux.  There is a good section in "Red Hat Linux for Dummies" (I felt this book was just what I needed) that goes over the actual installation of Linux.  I'd recommend getting this and reading it carefully.  Also read the Installation Manual that comes with Red Hat Linux.  I got the Standard Version of Red Hat Linux, for $29.95 list.

2. After you install Linux and are sure its working OK, you unzip Leif's DSP files and the OSS files using the Linux utility "tar", invoking the parameters zxvf.  Exactly how to do this is detailed very nicely in the OSS installation file "INSTALL".  The expanded OSS files from the OSS archive file which you can download from their website listed above have to go into the directory /tmp to be installed.  I put Leif's files in /home/rrehr/sm5bsz.  When tar expanded them it put them in a subdirectory /dsp, i.e., in /home/rrehr/sm5bsz/dsp.  Tar, the C compiler, etc. are all in the RedHat Linux package.  Install the development tools packages when you install Linux to get the C stuff. (I did a custom install so I could make sure I didn't overwrite the boot sector on my hard drive; I DID NOT install LILO!!!).

3. Install the OSS sound drivers and get them working before you compile Leif's program (see section '5' below).

4. I changed the parameters in the sound.h file for SND8 from /dev/dsp5 to  /dev/dsp and for SND16 from /dev/dspW to dev/dsp1.  I just used dsp and dsp1 because these were used in the stock linux text that was "commented out" in the sound.h file, and so they seemed like a good place to start...I don't know if other values would work or work better for my AWE 32.

5. I needed to change the location of "soundcard.h" referred to in "sound.h" to /usr/lib/oss/soundcard.h. as that is where the OSS install program put it.  Once you've made that change to the file sound.h, make sure you're in whatever directory you have Leif's files in and type "make". This will use his "Makefile" to compile the program and produce the executable file "dsp".  You run this from the command line in this directory (again, on my machine its /home/rrehr/sm5bsz/dsp) by typing "./dsp".  This will bring up the menu screen of Leif's program.

6.  I have avoided setting up the mouse in his program ("T") as when I did this early on it destroyed mouse function in the program (but not elsewhere in Linux).  Set up the display parameters, and then to "U" to set the A/D and D/A parameters.  Then go to "F" to see if all is well.  Then go to "A" and "B" etc. and play around.

Let me know if you need help or if there are more details of interest that I neglected...

[Back to the main DSP article]