I can run my PiKVM v4 Plus with 3 hubs attached with no issues, but when I add a 4th hub I can see the hub, but no USB input is passed so the PCs dont wake up and are not able to be controlled… In looking this appears to be a hard limit on USB layers… Is there any work around for this other than purchasing a 2nf PiKVM if I need to control more than 12 systems?
Are those 4 hubs PiKVM Switch Multiport Extenders, or other USB hubs/KVMs? The PiKVM Switch is designed to daisy-chain up to five units (20 ports), but depending on the target, each chained Switch can count as another USB hub level, and some targets (we’ve seen this with Apple Silicon Macs) have trouble that far down the chain. What are the target machines on the 4th Switch, and do they work if you move them to a port on the first Switch? PiKVM Switch Multiport Extender Quickstart Guide - PiKVM Handbook
Edit: corrected my first reply, which said a 4th Switch “should work”. Chained Switches can count as extra USB hub levels on some targets, so it depends on what’s on the far end.
This is using a PiKVM v4 plus AND PiKVM Multiport Extenders… all PiKVM hardware connected via the directions…
Looking online this appears to be an issue with the V4 Plus due to its built in USB hub and it hits the hard limit of 5 layers of USB…
I bought these with the intention of connecting 4 or 5 hubs to one PiKVM, but I have had issues since purchasing over a year ago as soon as I connected the 4th hub. I need a lab with between 16 and 20 systems BUT now it looks like I will need 2 PiKVMs ![]()
all devices were purchased at the same time… all devices are fully up to date
Thanks Bill, that helps. A correction on the V4 Plus, though: its built-in USB hub isn’t in that path. We checked on our own units. The keyboard/mouse connection comes straight off the Pi’s USB device controller, and the internal hub only serves the PiKVM’s own USB-A ports and the Switch’s control link.
What does add up is the Switches themselves. Each Switch has a small USB 2.0 hub inside, so on a target the PiKVM shows up behind one hub per Switch. USB allows at most 5 hubs between the computer’s port and the device, and that count includes any hubs on the computer’s side: front-panel or case ports, monitor USB hubs, docks, and the internal hubs many motherboards put behind some of their ports. So 4 chained Switches plus even one hub inside the target can push it over the limit, which matches what you’re seeing on the 4th unit.
Things that may get the 4th Switch working:
- Plug the far-end PCs into a rear I/O port directly on the motherboard, not a front-panel port, monitor hub, dock or USB extension hub. Rear ports usually have the fewest hubs in front of them.
- Put the machines with the simplest USB layout on the last Switch, and the ones that need front ports or docks on the first one.
- Count the hubs on one of the failing PCs: on Windows, USBView or Device Manager → View → Devices by connection; on Linux,
lsusb -t. That shows exactly how many levels there are before the PiKVM.
To be upfront: we’ve measured one hub level per Switch, but we haven’t yet tested 4 or more chained in our lab. That’s on our list, and I’ll update here once we have results.
SO if Im reading that correctly , If I am using laptops in the lab currently, and am not going to/able to open up 4 laptops and figuring out if I can connect directly to the motherboard… I’m stuck with 3 switches currently AND need to run a 2nd PiKvm to connect more than 12 systems, Correct?
You don’t need to open anything. The internal hubs are fixed, but different ports on the same laptop can sit behind different numbers of them, so it’s worth trying each USB port on the laptops on the 4th Switch, especially any USB-C/Thunderbolt port, and avoiding docks or adapters with built-in hubs. USBView on Windows will show which port has the fewest hub levels in front of it.
If those laptops have Thunderbolt ports, a Thunderbolt 3 dock with its own USB controller (we’ve seen this work with a CalDigit TS3 Plus) gives the devices behind it a fresh hub count. In USBView, a dock like that shows up as its own USB host controller rather than as a hub under the laptop’s.
What laptop models are you using? That would help us say which ports or docks are likely to work. If none of a laptop’s ports leave enough room, then for those machines a second PiKVM is the reliable way to go past 12 systems.