The TauDAC driver is distributed WITHOUT ANY WARRANTY of any kind. Use it at your own risk!
Copyright (C) 2017 Sergej Sawazki
We will build and install the driver using DKMS.
Before you start, define the TauDAC version variable:
export taudacver=2.5.0
You can then use $taudacver in the commands below. Adjust the version if
you're installing a different release.
Download and unzip the driver source directory:
wget https://github.com/taudac/taudac-driver-dkms/archive/taudac-${taudacver}.tar.gz
tar -xzf taudac-${taudacver}.tar.gz
Copy the driver source to a directory where DKMS can find it:
sudo cp -r taudac-driver-dkms-taudac-${taudacver} /usr/src/taudac-${taudacver}
Install the build dependencies:
sudo apt-get install dkms build-essential
To build the driver, we need to install the kernel headers. The method depends on your distribution.
Raspbian / Raspberry Pi OS:
sudo apt-get install linux-headers-$(uname -r)
Please be patient, "Unpacking raspberrypi-kernel-headers" might take a while...
Volumio:
sudo volumio kernelsource
Build and install the driver using DKMS:
sudo dkms install -m taudac -v ${taudacver} --force
Uninstall the driver using DKMS:
sudo dkms remove -m taudac -v ${taudacver} --all
The Raspberry Pi audio driver (snd_bcm2835) can be disabled by commenting
out the following entry in /boot/config.txt:
dtparam=audio=on