AD1816 sounddriver for Linux (version 0.3)

The AD1816 sounddriver is a sounddriver for soundcards based on the Analog Devices AD1816 chip as the Terratec Base 1 and Terratec Base 64 soundcards, which is able to do full-duplex audio (play and record at the same time). Currently only the audio and mixer part of the AD1816 chip are supported, however the OPL-3 part might work with the stand alone drivers (not tested).

Note: This software is alpha software. It may have several bugs, cause the kernel to freeze, destroy your data on the harddrive or even eat your soundcard. However I do my best to avoid such side effects ;-).

The version for Linux 2.0.33 has been running on my machine for more than a month without any problems.

Installation instructions for Linux 2.0.33/2.0.34

  1. Get the driver
  2. Configure the sound card with isapnp tools, set I/O-base, IRQ and DMA-channels to adequate values.
  3. Get a 2.0.33/34 kernel or any other kernel with a USS Lite version 3.5.4/3.5.5 sounddriver.
  4. Change to the kernel's sounddriver directory (usually /usr/src/linux/drivers/sound).
  5. Untar the sound20.tar file (tar xvf <PATH>/sound20.tar).
  6. Change to the kernel's root directory (usually /usr/src/linux).
  7. Configure the kernel as usual, enable module support.
  8. Configure the sound driver as a module, activate the AD1816 driver and set I/O base, IRQ, and DMA channels of the AD1816 driver to the values used in isapnp.conf. Note: The I/O address of the native part of the AD1816 is configured with (IO 2 (BASE 0x0???)) in isapnp.conf. Use this address for configuring the driver.
  9. Compile and install the new kernel and modules.
  10. Reboot the new kernel.
  11. Initialize the soundcard with isapnp.
  12. Load the sounddriver with modprobe sound.
  13. That's it! Now try to play a sound.

Installation instructions for Linux 2.1.103

  1. Get the driver
  2. Configure the sound card with isapnp tools, set I/O-base, IRQ and DMA-channels to adequate values.
  3. Get a 2.1.103 kernel (later kernels might work as well) or any other kernel with a USS Lite version 3.8o sounddriver.
  4. Change to the kernel's sounddriver directory (usually /usr/src/linux/drivers/sound).
  5. Untar the sound21.tar file (tar xvf <PATH>/sound21.tar).
  6. Change to the kernel's root directory (usually /usr/src/linux).
  7. Configure the kernel as usual, enable module support.
  8. Configure the sound driver as a module, activate the AD1816 driver.
  9. Compile and install the new kernel and modules.
  10. Reboot the new kernel.
  11. Initialize the soundcard with isapnp.
  12. Load the sound module with modprobe sound.
  13. Load the ad1816 module with modprobe ad1816 io=<IO-Base> irq=<IRQ> dma=<DMA-Channel 1> dma2=<DMA-Channel 2>. Use the same values as in isapnp.conf. Note: The I/O address of the native part of the AD1816 is configured with (IO 2 (BASE 0x0???)) in isapnp.conf. Use this address for loading the driver.
  14. That's it! Now try to play a sound.

Known bugs and problems:

Changes:

0.2 to 0.3:

Further development

The further development will depend on your feedback. The following features are already planned for the future:

Getting the latest sounddriver version

The latest version of the sounddriver for Linux 2.0.33/34 can be found at: http://www.student.informatik.tu-darmstadt.de/~tek/projects/sound20.tar.gz

The latest version of the sounddriver for Linux 2.1.103 and above can be found at: http://www.student.informatik.tu-darmstadt.de/~tek/projects/sound21.tar.gz

The latest information can be found at: http://www.student.informatik.tu-darmstadt.de/~tek/projects/linux.html

I'll try to make it available via ftp as soon as possible too.

Bug reports and questions

Please send any bugs, suggestions, patches or questions to: tek@rbg.informatik.tu-darmstadt.de
For those german guys: E-Mails in deutscher Sprache werden auch beantwortet ;-).
Last modified: 07.06.1998 by Thorsten Knabe