-
Install kernel headers:
sudo apt install linux-headers-$(uname -r) -
Download and install ASIX driver:
- Download from ASIX website
- Extract and compile:
tar -jxvf AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source.tar.bz2 cd AX99100_SP_PP_SPI_Linux_Driver_v1.8.0_Source/ make sudo insmod ax99100.ko
-
Verify installation:
dmesg
-
Permanent installation:
sudo cp ax99100.ko /lib/modules/$(uname -r)/kernel/drivers/tty/serial sudo depmod -
Reboot and verify:
reboot lsmod ls /dev/ttyF0
-
Add user to dialout group:
sudo usermod -a -G dialout visss
-
Enable autostart:
ln -s /home/visss/VISSS/scripts/sonic_logger.desktop /home/visss/.config/autostart/
-
Setup cronjob for gzip compression:
crontab -e # Add this line: 2 1 * * * python3 /home/visss/VISSS/sonic/sonic_gzip_files.py /data/sail/sonic