Is it possible to integrate USBIP from linux kernel in LE, either in LE image itself or as an addon?
USBIP allows sharing of any usb connected devices over network with another linux system by sending the usb packets over the network.
This would allow to share usb devices connected to single board computers (RaspberryPi, Odroid C2, etc.).
In my case I'd like to use it to share my printer (connected to Odroid C2), which has no linux driver support on ARM, with a x86 linux server (which has working drivers for it).
To get USBIP working, we would need to compile 3 modules from linux kernel source tree
- usbip-core.ko: CONFIG_USBIP_CORE=m
- usbip-host.ko: CONFIG_USBIP_HOST=m
- vhci-hcd.ko: CONFIG_USBIP_VHCI_HCD=m
In addition 2 userspace tools are needed
- usbipd: the deamon handling network connections
- usbip: configuring which devices are being shared
USBIP was moved out of staging with kernel version 3.17, so for kernels <3.17 the modules and userpsace tools are found in drivers/staging/usbip, for kernel 3.17 and upwards the modules are located in drivers/usb/usbip and userspace tools in tools/usb/usbip.
The process of sharing devices with USBIP is documented under https://www.kernel.org/doc/readme/tools-usb-usbip-readme.
Is it possible to build modules out of linux kernel tree for addons with the LE build system?