- 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/download/?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!
18/09/2019 by Dynamic