Laptop as KVM to access RasPi

Jul 11, 2025 Last reply: 1 year ago 22 Replies

If it's your device and your computer you could just use CDC-NCM instead. I've used that successfully between Pi-like devices (Beaglebone Black) and FreeBSD servers.

Here's the script, based on the Beaglebone Linux's bb-usb-gadgets package:

formatting link
It does some combination of USB serial (CDC-ACM), mass storage, RNDIS and NCM depending on which options you pick.

Theo

Found the upstream bookworm version:

formatting link

That's neat and cute and works nicely. It's cleaner than the one I use at work for setting up RNDIS gadgets on our USB IP for customers. Customers always ask for RNDIS but offering NCM will maybe make them move.

Of course it took longer to figure out why naff all happened when trying this on an RPI Zero and that's because I'd forgotten to load the USB driver in OTG mode. Even Windows played nicely with installing its NCM drivers which is probably a first.

If only my modern-ish Android 14 phone would use NCM not RNDIS.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required