guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.47k stars 366 forks source link

add usbip kernel module #100

Open Gateworks opened 9 years ago

Gateworks commented 9 years ago

Please add usbip kernel module support so that the distro can also be used to connect printers to remote servers.

guysoft commented 9 years ago

We are currently not compiling our own kernel, so this would require some work to add. Don't really have the time for such an exotic feature. But would gladly merge pull request if anyone is up for the task

guysoft commented 9 years ago

A temporary solution would be to use the usb-ip app in the Pi Store. it uses a userspase server that seems to work. However its not open source and lets you connect only one device.

Compiling the kernel in the image is tough because there is only ~2GB free on it. The workaround I can think of would be to mount an image, build the kernel there, and copy the result. Guide on how to compile the kernel here: https://pietrushnic.github.io/blog/2014/08/18/linux-rpi-and-usb-over-ip/

guysoft commented 6 years ago

Could be done now with CustomPiOS kernel module