For the remote computations, I need to forward an USB port to an other computer, using usbip. That’s where the problem happens. I know how to install it via apt, but it will install it for the kernels that comes from the repo. The kernel that is built by the installLibRealsense scripts (that uses the [url]https://github.com/JetsonHacksNano/buildKernelAndModules[/url] script) is built from sources, and is not impacted by the installation of linux-tools-generic package.
The sources from which the kernel is built have the usbip module, but it is not enabled for the build. As I’ve never built a kernel, I have no idea what to do to compile and active usbip module.
Can someone explain me how to install this module, either by hand or modifying some of the scripts?
That was it, compile and load the kernel modules, but as I’m novice in kernel stuff, it took me a bit of time to figure out how to do that specifically. Now everything works as I want.
Thank you both for for leading me in the right direction.
Would you please mind sharing how you were able to compile and load the kernel modules? If you have a link to a tutorial or example, that wold be fantastic. Also, where do I get the source code for USBIP to build? I have never dealt with the kernel, and I am fairly new with Linux in general. It also doesn’t help that I am not familiar with any of the nomenclature, so it makes it incredibly hard to google what I am looking for. Any help would be greatly appreciated!
If your kernel is installed via the package, you have to do as with every linux, install the tools and cloud-tools packages associated with your kernel and the usbip package, that will install everything.
Now, you have the kernel modules (that you’ll have to load each time, you can compile them to be directly in the kernel, but I’m not expert enough to explain that part).
Now, go to /usr/src/kernel/kernel-4.9/tools/usb/usbip
You have a autogen script to install usbip software
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install