Kvaser on Ubuntu

18/09/2019 by Kvaser
  • Follow the guide: https://www.kvaser.com/linux-drivers-and-sdk/
  • Make sure that you follow the instruction below(Kvaser Hybrid x2 on Ubuntu 18.04):
    – unplug Kvaser device(s)
    – run
    $ sudo apt-get update
    $ sudo apt-get upgrade
    – reboot
    – run:
    $ sudo make uninstall
    – remove the “old” folder which contains uncompressed LinuxCAN:
    $ rm -rf linuxcan
    – run:
    $ wget –content-disposition
    “https://www.kvaser.com/downloads-kvaser/?utm_source=software&utm_ean=7330130980754&utm_status=latest”
    $ tar xf linuxcan.tar.gz
    $ cd linuxcan
    $ make
    $ sudo make install
    Now you may try your example code and see if it works!