How hard is it to digitize analog VGA or interface directly with HDMI and encode to something like VNC using the GPU if necessary?
How hard is it to digitize analog VGA or interface directly with HDMI and encode to something like VNC using the GPU if necessary?
For HDMI/DVI capture at this scale, the best option seems to be an FPGA based system. There are several boards available that have the necessary hardware but are expensive (relative to a 1-port IP-KVM), power hungry, or large (or all of the above.) The Digilent Zybo may have enough to pull it off (and has the ARM cores to boot) but is still a bit on the pricey / power hungry side. I'm hoping the new Snickerdoodle Zynq based boards will be able to do the job (with an add-on board)
Regarding using the Pi2, it might work, especially if it can be fed via the camera interface. The lack of USB-OTG (linux gadget support for KB / Mouse / Mass Storage) limits the usefulness somewhat.
I've been hopeful about the Beaglebone Black / X15 due to the USB-OTG and the tons of extra IO.
The other board of interest is the Dragonboard 410C - it can supposedly capture at 1080p60 (more than enough for the average system you'll stick a KVM on) but I'm not sure what that means explicitly (yet.) It does have USB-OTG (though it can't do USB Host / Device simultaneously.)
http://www.auvidea.eu/index.php/theme-styles/2014-12-30-22-3...
Regarding emulating a USB device, first thing that comes to mind is possibly using a micro of some sort that can act as a usb device, like an arduino or teensy. it's a bit hackish, but sending things over SPI should get more than ample speed for keyboard/mouse emulation, and there's code written already for a lot of micro platforms to do both.
https://www.nexlab.net/product/rasky/
Rasky is a low cost open source (hardware and software) KVM over IP built on top of the well known RaspberryPI model 2B featuring VGA video capture, USB keyboard and mouse emulation, remote control both by web (ajax VNC) and VNC, remote relay switches and digital inputs.
I have a bunch of $200-300 devices (from blackmagic for hdmi, or raritan for vga) to do this. It's doing 48 ports, with good OS/security, for $10-50/machine, which is hard.