Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.18 KB

File metadata and controls

55 lines (45 loc) · 1.18 KB

Sonic Installation and Configuration Guide

PCI Serial Card Setup (if used)

  1. Install kernel headers:

    sudo apt install linux-headers-$(uname -r)
  2. 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
  3. Verify installation:

    dmesg
  4. Permanent installation:

    sudo cp ax99100.ko /lib/modules/$(uname -r)/kernel/drivers/tty/serial
    sudo depmod
  5. Reboot and verify:

    reboot
    lsmod
    ls /dev/ttyF0

Always Required Steps

  1. Add user to dialout group:

    sudo usermod -a -G dialout visss
  2. Enable autostart:

    ln -s /home/visss/VISSS/scripts/sonic_logger.desktop /home/visss/.config/autostart/
  3. Setup cronjob for gzip compression:

    crontab -e
    # Add this line:
    2 1 * * * python3 /home/visss/VISSS/sonic/sonic_gzip_files.py /data/sail/sonic