Software Installation Under Linux; Automatic Installation; Building And Installing The Driver Manually - Digigram ALP221e User Manual

Professional stereo sound card
Table of Contents

Advertisement

User Manual – ALP221e

11 SOFTWARE INSTALLATION UNDER LINUX

11.1 Automatic installation

This method works on most major distributions, by using the DKMS system. After the initial
installation, nothing more is needed to be done as DKMS will take care of re-building the driver
every time the kernel is updated, or a new kernel is installed.
Requirements:
A package manager which supports DKMS. Most major distributions support this, please check
your distribution's documentation if you are not sure.
DKMS
The kernel headers for the kernel version(s) you need
Git, if you don't use a Debian-based or RPM-based distribution
1.
Download and install the driver
2.
Install the dependencies
3.
Download the driver package (Choose the latest .deb or .rpm package)
4.
Install the driver package

11.2 Building and installing the driver manually

This method works for any Linux system, but it is necessary to apply it every time the kernel is
updated, as it doesn't use any package manager to automatically rebuild the driver.
Requirements:
The kernel headers for the kernel version(s) you need
Git
Make and a C compiler such as gcc
Please refer to your distribution's documentation to install these requirements.
1. Get the source code
2. Compile the driver: Go into the src/ directory, and compile the driver by simply running
make to create the file: snd-alpx.ko and snd-pcm-dmaengine.ko depending on your current
kernel's configuration
3. Install and load the driver: The compilation has generated a kernel module: snd-alpx.ko.
4. Copy this/these module(s) to the kernel's module directory:
5. Run "sudo depmod -a"
6. Run sudo modprobe snd-alpx
7. Then run lsmod | grep snd to check installation of the driver
8. Run aplay -l or L to list the devices
9. Launch alsamixer
31

Advertisement

Table of Contents
loading

Table of Contents