This repository contains the MA-USB Host kernel driver and its UAPI headers. The driver can be built and installed with DKMS.
Install DKMS, a C compiler, make, and the Linux kernel headers for each kernel you want to build the driver for.
To install the driver for the currently running kernel, run:
./install.sh
To install for another kernel, pass its version from /lib/modules:
bash install.sh <kernel-version>
The installer checks that the kernel has its build headers before registering and building the module. Run it once for each kernel.
Load and check the module with:
sudo modprobe mausb_host
dkms status
To remove the DKMS module from specific kernel, run:
sudo dkms remove -m mausb_host -v 1.5.3 -k <kernel-version>
To remove the DKMS module from all kernels, run:
sudo dkms remove -m mausb_host -v 1.5.3 --all