Cover art for Where the Screws Go: Internal KVM Mounting
Episode 6128 manual-script

Where the Screws Go: Internal KVM Mounting

PiKVM, NanoKVM, JetKVM, and BliKVM all promise remote rescue — but wiring one inside your case is a different problem entirely.

25:47 Transcript

0:00
0:00
Episode Details
Episode ID
MWP-6327
Published
Duration
25:47
Audio
Direct link
Pipeline
V5.10
TTS Engine
chatterbox-regular
Script Writing Agent
Claude Sonnet 5.5

AI-Generated Content: This podcast is created using AI personas. Please verify any important information independently.

The prompt

The prompt that started this episode, as sent in (production notes for the hosts removed).

Remote-recovery IP-KVMs like PiKVM, NanoKVM, BliKVM and JetKVM usually dangle off the back of a machine. Can they be deployed inside the case instead: PCIe-bracket cards, direct motherboard connections via the front-panel ATX header and internal USB header, standby or PoE power and networking passed through the case wall, or a tidy rack configuration? Note the PCIe slot provides mounting and at most power, not video, so an HDMI loopback is still needed. Look at the options, including the power problem of a KVM fed by the machine it rescues, and compare with built-in BMCs and Intel AMT.

Remote KVM devices like PiKVM, NanoKVM, JetKVM, and BliKVM are sold as rescue hardware, but installing one inside a case turns out to be mostly a wiring problem. The "PCIe KVM" label is misleading: on the NanoKVM PCIe from Sipeed, the slot is a mounting standard that may supply a little power but carries no video at all. Jeff Geerling's teardown of the BliKVM PCIe found only the ground pins connected — the data pins aren't even wired, so it runs entirely on USB-C or PoE. Only genuinely PCIe-native management cards like the old ASRock Rack PAUL, built on an Aspeed AST2500 BMC, actually use the bus, and they cost several times more.

Front-panel headers get handled with an in-line passthrough: unplug the case's power button from the motherboard, plug it into the KVM board, then run the board's lead back to the case wiring. Both the case button and the web interface keep working. The catch is polarity and alignment on a double row of pins, and the documentation is blunt about reading your specific board's diagram. USB is similar — the card emulates keyboard, mouse, and virtual media either through a rear USB-C port or the nine-pin internal USB 2 header, and PiKVM warns against putting a hub between KVM and host, since some UEFI firmware can't see devices behind one.

Power is the central tension. A rescue device running on the supply of the thing it's rescuing survives a hung kernel or a front-button power-off, but not a flipped rocker switch or a dead PSU. Standby power from the ATX 5V rail is usually around one amp, and the USB header has to be explicitly kept live in BIOS. The PCIe slot's 3.3V aux pin offers roughly 1.25 watts, and Sipeed's claim that the NanoKVM PCIe runs from it with the host off comes from marketing and trade press rather than independent testing. PoE is the cleanest escape: power arrives from a switch that isn't connected to the machine at all.

Mentions

  • ASRock Rack PAUL True PCIe BMC management card
  • BliKVM KVM card built on Raspberry Pi CM4
  • GL.iNet Comet PoE KVM device with built-in PoE
  • Jeff Geerling YouTuber who tore down BliKVM
  • JetKVM Standalone KVM with ATX extension board
  • NanoKVM Sipeed's cheap KVM card with PCIe variant
  • OpenBMC Open-source BMC firmware project
  • PiKVM Open-source IP-KVM project based on Raspberry Pi
  • PiKVM Switch Multi-host KVM switch for PiKVM
  • Sipeed Maker of NanoKVM hardware

Downloads

Episode Audio

Download the full episode as an MP3 file

Download MP3
Transcript (TXT)

Plain text transcript file

Episode Book (PDF)

The episode's record — date, duration, models, sources — with the full transcript

#6128: Where the Screws Go: Internal KVM Mounting

Herman
A rescue device that eats out of the patient's own fridge. I love it already.
Corn
That's the heart of what Daniel's asking. Those remote-recovery boxes, PiKVM, NanoKVM, JetKVM, BliKVM, normally sit behind the machine on a tangle of HDMI and USB cables. He wants them inside the case, wired straight to the motherboard. Front-panel header, internal USB header, standby power, with the network and any outside power coming through the case wall. Or the same idea scaled up to a rack. We covered what these boxes are and why you'd want one a while back, so today is only the physical part. Where the screws go.
Herman
Fair warning on the vocabulary, though. The PCIe in "PCIe KVM" is mostly a mounting standard. The slot holds the card up. Sometimes it feeds it a little power. It does not carry a single bit of video.
Corn
So the slot is a coat hook.
Herman
A coat hook with a very expensive connector, yes. Take the NanoKVM PCIe from Sipeed. Its own documentation says the PCIe side is not a display or graphics device. You can put it in a sixteen-lane slot and it works, precisely because no PCIe data is involved. One review put it in an x sixteen slot without ceremony. The video still has to arrive by an HDMI cable from the graphics card, or the motherboard output, into the card's HDMI input.
Corn
Which means "direct motherboard to KVM" is really "direct motherboard to KVM, plus a cable that goes out of the graphics card and round again."
Herman
That matters more than it sounds, because a discrete graphics card only shows its own output. If your machine has a GPU in the slot and you plug the KVM into the motherboard's video port, you capture a blank screen. The loopback has to come from whichever port the machine is actually drawing on.
Corn
So I buy a forty dollar KVM and spend the afternoon finding a short HDMI cable.
Herman
The NanoKVM kit includes one, as it happens. The review mentions an HDMI cable, a nine-pin cable to the motherboard, an optional eight-pin one to the chassis, and a USB-C to USB-A lead.
Corn
What about BliKVM? It's the other card people mention.
Herman
It's the more extreme case. The BliKVM PCIe is built around a Raspberry Pi Compute Module four, and Jeff Geerling's teardown found that only the ground pins in the slot are connected. The data pins aren't even wired. So it takes no power from the slot either. You feed it by USB-C or by PoE through its Ethernet port. HDMI and USB come in at the rear bracket, there's an internal USB two header at the front for the motherboard side, and a front-panel header for power, reset and the LEDs.
Corn
A card that takes a slot to take nothing from it.
Herman
It does look like the slot is there to make the case designers feel included. Compare that with an old ASRock Rack card called PAUL, which really is a PCIe management card. It's an Aspeed AST twenty-five hundred BMC on a PCIe one-lane card, with its own Ethernet port and its own VGA output. It costs about two hundred and twenty-six dollars when you can find one, and it only works with supported boards.
Corn
So the real PCIe KVM costs five times as much as the fake ones.
Herman
And needs a motherboard that was told about it in advance. Right.
Corn
Okay. The part I care about is the front-panel header, because that's where this gets interesting. If the KVM takes over the power button pins, my case button stops working. And I'm the kind of person who presses the case button.
Herman
You'd think so, but all of them solve it the same way: the board sits in line. On the PiKVM ATX board you unplug the front-panel cable from the motherboard, plug the board in with a female-to-female ribbon, then run a male-to-female ribbon from the board to the case's own plug. The case button still works, the PiKVM works as well, and the board talks to the PiKVM over a plain eight-wire Ethernet cable. The NanoKVM does the same trick. You unplug the nine-pin power button connector from the motherboard, plug it into the card, and plug the case wiring into the card as well.
Corn
And the pins on the motherboard are in a little double row, and I'm doing this by the light of a phone torch.
Herman
Yes, and the PiKVM docs are blunt about it. Two rows of pins, the columns must line up, and watch the polarity. Get the connector shifted by one pin and you're short-circuiting something labelled with an unreadable abbreviation. And I haven't memorised the actual pinouts, so don't take my word for any of them. Read the diagram for your board.
Corn
Nobody has ever said that about a motherboard manual.
Herman
There's more small print. The NanoKVM doesn't monitor the hard drive LED, so you won't see drive activity in the web interface. Some early batches have the wrong silkscreen on the HDD LED pins. And there's a GitHub report that on the PCIe variant, at one firmware version, the power button in the web interface did nothing, while the case button went through the passthrough fine. I don't know whether it's been fixed.
Corn
So it works as a very elaborate extension cable for the button I could already press.
Herman
Until the firmware catches up, yes.
Corn
JetKVM does it differently, doesn't it? It's not even a card.
Herman
Correct. The JetKVM is a little standalone unit, but it has an ATX Extension Board that connects over an RJ twelve cable, with two headers so the case buttons stay live. It costs about nineteen dollars. And it ships with a PCIe slot cover bracket purely so you have somewhere to pass the cable through the case wall. You don't need the slot. It's a hole with a screw pattern.
Corn
The cheapest, least pretentious part of the whole market. A bracket that admits it's a bracket.
Larry
Are you tired of your computer being awake when it should be asleep, or asleep when it should be awake? Ask your doctor about Standbyzol. Standbyzol is a once-daily, sublingual loopback that restores confidence in your power rail, and it works even when your power supply is not working. Clinical trials showed that nine out of ten motherboards felt reassured. Side effects may include mild drowsiness, a metallic taste in the HDMI port, and a gentle humming in your front-panel header. Less commonly, patients have reported a loss of standby, standby of the loss of standby, the spontaneous replacement of your case with a smaller case, and the feeling that your rack is looking at you. Do not take Standbyzol if you are, or have ever been, a three point three volt auxiliary line. Stop taking Standbyzol and consult a physician if your computer begins to speak in your late grandmother's voice, if your network switch develops a pulse, or if your hard drive begins to hold a grudge for longer than one business quarter. In rare cases, Standbyzol has been known to relocate the patient to a second, slightly worse patient. Standbyzol. Ask about Standbyzol. Do not ask about Standbyzol.
Corn
Mm. Another one.
Herman
Like the weather now. Back to the USB header, then.
Corn
Go on. I thought the USB part was easy.
Herman
It's easy in the sense that you only need to know four things. The KVM has to pretend to be a keyboard and mouse, and also a flash drive for virtual media, so you can boot an installer remotely. The card does that either through a USB-C lead to a rear port, or through the nine-pin internal USB two header on the motherboard. For the header, the NanoKVM quick start tells you to use Dupont jumpers. Those are the thin little pin-to-socket wires from a hobby kit.
Corn
Dupont jumpers inside a case that cost four hundred dollars.
Herman
People will do it. The more important detail is on PiKVM's side: don't put a USB hub between the KVM and the host. Some UEFI firmware simply can't see a device behind a hub, so your remote keyboard doesn't exist at the one moment you need it, the BIOS screen. Straight to a port, straight to a header.
Corn
What I really want to know: if I run the USB from an internal header, the card gets keyboard emulation and power from the same wire. Does it still have power when the machine is off?
Herman
Only if the motherboard keeps that header live in the off state. There's usually a BIOS option, called something like Always Power USB or USB Always On, and the NanoKVM quick start says it's required if you want power from the USB lead directly. JetKVM says the same, and it even sells a USB-C splitter for hosts that don't provide standby power on their USB ports.
Corn
That's the central tension, isn't it? A rescue device running on the supply of the thing it's rescuing.
Herman
It is, and there are really three different answers, and they fail in different ways. Option one is the host's own standby power. The ATX standard has a five volt standby rail that stays on whenever the power supply is plugged in and its switch is on. ATX two point oh three made one amp mandatory on that rail, and the spec recommends two. The USB header on the motherboard is usually fed from it.
Corn
What does one amp buy me?
Herman
Five watts. The NanoKVM draws about two hundred milliamps at five volts, so around one watt. The BliKVM runs two to three watts idle and four to six when it's busy, so on a minimum-spec rail you're right at the edge. The motherboard is already using that same rail for wake on LAN and everything else that stays awake, so the real budget is smaller than one amp. I haven't found anyone reporting the actual problem, to be fair.
Corn
Two options, then, since one is a rounding error.
Herman
Option two is the PCIe slot's own auxiliary power. The slot has a three point three volt auxiliary pin for devices that need to wake the machine, and the limit is three hundred and seventy-five milliamps. That's about one and a quarter watts. Sipeed's marketing says the NanoKVM PCIe can run from it with the PC off. But I'd flag that clearly: that claim is from the marketing and retailer material and from a trade-press article. The wiki says it draws power only from the PCIe interface and lists four possible sources, USB direct, USB-C, PCIe slot and optional PoE, and it doesn't say which one is live with the host off.
Corn
So one watt of card, against one point two five watts of ceiling. On paper.
Herman
On paper. And a review did switch the host fully off and then booted it from the web interface, so the card does stay up in some real configurations. What I don't know is which of those power sources was doing the work in that test, and whether your board even leaves the slot aux live. That depends on the board and on the BIOS, and I've seen no independent test.
Corn
Which is why I wouldn't bet my recovery plan on it.
Herman
Neither would I. Here's what bothers me about both of those. Both ride on the power supply. So what does each one survive? A hard power-off from the front button, yes, because the supply is still plugged in. A hung kernel, yes. But if somebody flips the rocker switch on the back of the supply, or the supply dies, or the mains drops...
Corn
Then the lifeboat goes down with the ship.
Herman
And that's exactly the situation when you'd most like a lifeboat. A dead supply is the failure you can't fix from a web page, but you can at least see that it's dead, if the KVM is still talking.
Corn
And from the outside it's the one case where everybody pulls out a multimeter and starts crying.
Herman
Which is the argument for option three, a separate supply. PoE is the neat version. The Ethernet cable brings the power in with the network, from a switch that isn't connected to the machine at all. Sipeed sells an optional PoE module for the NanoKVM PCIe, GL.iNet's Comet PoE has it built in, and the BliKVM takes it through its network port. The JetKVM doesn't have PoE on the current unit. You can use a PoE splitter cable, which costs about thirty-five dollars, or wait for the roadmap.
Corn
PiKVM must be better placed, surely.
Herman
The V four Plus takes a wall adapter on a barrel jack and the V four Mini takes USB-C. I didn't find a PoE option on either. A plain USB-C adapter into the bracket works for any of them. I'd rather spend ten dollars on a wall adapter than depend on a rail in the machine I'm rescuing.
Corn
There's a problem, though. Now there are two sources plugged in, the wall adapter and the USB header. I've plugged two power supplies into the same small board before and it didn't end well. Is that going to bite me?
Herman
For the NanoKVM, Sipeed says several sources can be connected at once and they don't conflict, as long as at least one is present. For the others I'm not certain, and I haven't seen any forum threads about what happens. One warning from the wiki is about cheap PD chargers possibly damaging the card.
Corn
So the cheap charger is the one thing that kills the device made to save you from cheap things.
Herman
You enjoy that more than the hardware.
Corn
It's an ancestral skill.
Herman
There's one more thing about networking before I move on. The NanoKVM PCIe has a hundred megabit Ethernet port. Not gigabit. For a video stream of ten eighty p at sixty, that's plenty. But there's an optional Wi-Fi six module as well, and I'd hesitate to put a radio in a steel case, where the antenna sits in what's basically a cage. A cable out through the bracket is better.
Corn
Which is also the answer to my networking question. The bracket is the door. Cable in, power in, HDMI loopback goes the other way, and nothing else leaves the case.
Herman
That's the tidy version. Corn, would you actually trust the slot's auxiliary power for your own machine, after all that?
Corn
Not for the machine I'd be panicking about. I'd want PoE on it and the slot as a spare.
Herman
Fair. And if you were building one machine, would you take the clean in-case install or just leave the box on top with cables?
Corn
Clean install. It's one cable out the back instead of four, and I won't knock the box off the shelf while recabling. I'd also like the thing to survive a vacuum cleaner. I don't care about the hundred megabit.
Herman
Interesting. I'd have thought you'd want the box outside, because that's repairable. You can pull the plug on it.
Corn
I'd pull the plug on it whether it was inside or out. It's a screw and a header. I'm fine.
Herman
Moving to the rack, then. The story is different there, because the question changes from "one KVM in one case" to "how many hosts per KVM".
Corn
One KVM per machine seems obvious. It's forty dollars.
Herman
Forty to seventy for the NanoKVM, yes. So if you have a handful of nodes, it's perhaps two hundred and fifty dollars of KVMs with a PoE switch you probably already own. The alternative is PiKVM's Switch. You can chain up to five of them for about twenty hosts, and it works with the V four Plus, the V three and DIY builds, but not the V four Mini. It's about three hundred and ninety-five Australian dollars.
Corn
A lot of money to avoid owning three more cheap boxes.
Herman
Until you have a rack of twenty, yes. Would you buy it, Corn, or just keep stacking the cheap ones?
Corn
Stack. I distrust any single box that can see every machine I own.
Herman
Reasonable. I'd say the same until the cabling gets silly. The V four Plus has an internal fast USB port for the flash drive and USB switching, and that's what makes it switchable. What I'm not sure about is how the switch deals with power control for each host. I'd want to check that before buying.
Corn
I assume somebody sells a rack-mount version.
Herman
Not commercially, as far as I can tell. People have printed their own. There's a one U bracket for a ten-inch rack that holds two Raspberry Pis with HDMI capture boards, and GL.iNet links a printable rack mount for the Comet. I couldn't find a one U multi-node KVM chassis for sale. If one exists, I missed it.
Corn
So the market's solved the hard bit and left the sheet metal to hobbyists.
Herman
Which is a fine description of most of homelabbing. All of which, though, is a workaround for something much of the industry solved decades ago. Server boards already have this inside. A baseboard management controller, a BMC, with its own CPU, its own Ethernet and its own standby power rail, running whether the host is on or off.
Corn
The thing the cards are imitating.
Herman
Yes. ASRock Rack boards use the AST twenty-six hundred, with a MegaRAC firmware that does IPMI and Redfish, and as far as I know virtual media isn't locked behind a licence on those. One example board, the B six-fifty D four U, is about nine hundred and thirty-two New Zealand dollars, for the board only. And there's a standard for modular BMCs, called DC-SCM, from the Open Compute Project, that puts the BMC on a small replaceable card. Flex and Pegatron make them with an AST twenty-six hundred, running OpenBMC. That's a datacenter thing, of course. It doesn't help a hobbyist with a tower.
Corn
So the real comparison is forty dollars and a screwdriver, against a nine hundred dollar board that already has it.
Herman
Which is a fair fight. The board gives you sensors, proper power control, and a separate network port, and it doesn't care what's in the graphics slot. The forty dollar card works with whatever board you already own.
Corn
And Intel has its own version. AMT, in vPro.
Herman
AMT is the interesting middle case. It's built into the chipset, no extra card, and it does include KVM. But it needs the integrated graphics, it isn't on Xeons, and vPro Essentials leaves out the remote KVM altogether. The frame rate people report is about fifteen frames a second. And worst of all, it has the same video problem as the cards. If a discrete GPU is active, the AMT KVM fails, because it can only see the integrated graphics output. Intel's own workaround is to plug a DisplayPort emulator into the motherboard's output and your monitor into the discrete card.
Corn
So after all that, the built-in feature needs a dongle.
Herman
A small one. AMD's DASH is the counterpart. The AMD whitepaper lists KVM redirection under it, but that's from the Ryzen PRO five thousand era, and I don't know how well it's supported on current desktop boards.
Corn
Clean machine, native feature, and the only thing that's missing is the video.
Hilbert
Standby is the wrong word. Standby is a thing you do at an airport.
Corn
Go on, then.
Hilbert
Nineteen seventy-eight. Borough Rates Office. They had a computer in the basement and nobody was allowed to restart it after five. So they kept a man on standby. Eleven men. Ten. I don't count the one who only came on alternate Thursdays, he was on a different form.
Herman
Ten men in a machine room, each there to press one switch.
Hilbert
Folding chairs. Mr. Desmond Orrery from Licensing ruled that anybody on standby needed a standby licence, and he would only issue it against a dog. So every man brought a dog. Thirty-five pence a year, per dog.
Corn
Thirty-five pence is a good price.
Hilbert
It was a good licence. I signed with the one claw that fits a pen. By the sixth man Orrery had run out of dog forms, so the goat went down as a large dog. Name of Patricia. Patricia had a pension. Herman, she could reach every switch in the room, that was the difficulty.
Herman
A goat on the switchgear does make the whole arrangement a cabling question. What did she chew?
Hilbert
The cable to the green lamp, twice. Orrery fined the goat. The fine went on the goat's licence, the licence went to the Rates Office, and the Rates Office assessed the goat for rates on the basement. Sixteen pounds forty.
Corn
So she owed rates on a room she was employed to sit in.
Hilbert
That week I had a quote for a pair of data modems and a leased line, so the men could go home and it could all be done from a room upstairs. One thousand one hundred and twelve pounds. I priced it. I didn't buy it. I was on the vans for the gas board and I'd have needed a bigger van.
Herman
A leased line costing that much against ten men, ten dogs and a goat. The labour was cheaper than the cable.
Hilbert
Mrs. Odette Banjo-Frith did the floors on Friday nights. She unplugged the standby panel every week for the polisher, and put it back, and nobody wrote it down because it wasn't on a form. Orrery found out on a Monday and issued her a dog. Corn, you keep saying the machine goes down by itself. Fourteen minutes, for the building to come back after she plugged it in again.
Corn
The polisher and the computer on one circuit, and an elected goat. I can see how that room fell over.
Herman
A polisher draws a lot more than a panel lamp, and a shared circuit trips on the biggest load. Nobody in that building would have been looking at the breaker.
Corn
The goat does not make the shopping list. What do I actually buy?
Herman
The recommendations fall out of the failure cases, and in this order. First, what are you protecting? If you have a server board with a BMC, stop reading. You have the thing, and the card would be a worse copy. Second, for a desktop or a tower with no BMC, the best value is a NanoKVM PCIe or a JetKVM with its ATX board, mounted on the bracket, with the front-panel header passed through. Third, power it from outside. PoE is the clean way, a wall adapter into the bracket the cheap way. Treat the host's standby rail as a bonus, not the plan. Fourth, check the BIOS for the always-on USB option, because some of the control paths depend on it. Fifth, sort out the video path before you buy: integrated graphics output if you have it, or an HDMI loopback from the graphics card, or a dummy plug on the unused port.
Corn
And rack?
Herman
Up to three or four nodes, one cheap KVM per node on a PoE switch. Beyond that, look at a KVM switch with a single PiKVM, and check the power control details first.
Corn
Mine's shorter. The KVM goes on its own power, because the machine you're rescuing is the last thing you can trust to keep it running. Everything inside the case is routing.
Herman
The ten dollar wall adapter decides whether the fifty dollar card ever gets used, so I'd treat it as the main purchase. When you do the install, look at what else shares that socket.
Corn
Next time someone sells you a recovery tool, ask what it's plugged into, and who else in the building has a plug.
Herman
Thanks to Hilbert Flumingtop for producing, and to Daniel for the question.
Corn
This has been My Weird Prompts. You can find every episode at my weird prompts dot com.
Herman
See you tomorrow.

This episode was generated with AI assistance. Hosts Herman and Corn are AI personalities. It may contain errors: disclaimer · report an error