I’m trying to install the peak drivers for linux on the PX2 so that I can use a PCAN dongle to connect a canbus to the PX2 via a USB port. However, when I try to install the drivers, I get an error that the kernel header location cannot be found. I found documentation on compiling the kernels here:
But I can’t seem to find the files to unpack the kernel source code on the PX2. Are these files supposed to be on the PX2 already? I was hoping to find help here in compiling the kernels on PX2 and also installing the driver I needed.
Is there a solution to this? I was having the same problem. I was trying to use the peak device so that I can operate two different CAN channels on different baud rates. However, when I try to install the drivers for peak, I get an error that the kernel header location cannot be found as well.
I found that directory at nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/OS/DriveSDK/drive-oss-src . I assume it’s the same thing. Do I now copy this directory over to the target machine?