Live data from Hacker News

Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

mtlynch.io

181–190 of 284 posts

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#181
post #180

Brilliant idea. I have an idea to extend this! 1. A relay to reset the PC like iDRAC/iLO 2. 2 dual pole relay to move a USB flash drive to and from the PC it's connected to, in combination with (1) you could then boot ISOs remotely by dd-ing the ISO to the flash drive and then connecting it to the host PC with a relay

[deleted]

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#182
post #180

Brilliant idea. I have an idea to extend this! 1. A relay to reset the PC like iDRAC/iLO 2. 2 dual pole relay to move a USB flash drive to and from the PC it's connected to, in combination with (1) you could then boot ISOs remotely by dd-ing the ISO to the flash drive and then connecting it to the host PC with a relay

It should be possible for the Raspberry Pi to emulate a USB flash drive using the OTG connection, though I'm not sure if it can emulate a keyboard and a mass storage device at the same time. It would be a very valuable feature for sure.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#183
post #182
post #180

Brilliant idea. I have an idea to extend this! 1. A relay to reset the PC like iDRAC/iLO 2. 2 dual pole relay to move a USB flash drive to and from the PC it's connected to, in combination with (1) you could then boot ISOs remotely by dd-ing the ISO to the flash drive and then connecting it to the host PC with a relay

It should be possible for the Raspberry Pi to emulate a USB flash drive using the OTG connection, though I'm not sure if it can emulate a keyboard and a mass storage device at the same time. It would be a very valuable feature for sure.

The kernel at least supports that, through the gadgetfs filesystem.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#185
Because of COVID my work on the road has come to a screeching halt. I was always using my iPad with an external keyboard for nearly everything and became really accustomed to having iMessage always a key command away.

Now I work at home at a desktop with Ubuntu. It's a huge disruption to use iMessage now as I have to switch devices/keyboards.

I had the thought of doing almost exactly this with the Ligthning-> HDMI adapter and some form of Bluetooth keyboard emulation. I can't wait to build one of these and start experimenting.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#187

Are there any projects that can do similar but on a VPS? Used to be a group video service called rabb.it where you could get a streamed Ubuntu desktop for groups that you can control through the browser.

Check out Apache Guacamole! "clientless remote desktop gateway" basically VNC/RDP through a browser

https://guacamole.apache.org/

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#188
post #169
post #2

Author here. Happy to answer any questions or take any feedback about this post.

I love how this is a project which puts together several different projects which are themselves the product of significant amounts of effort: RPi, the HDMI-USB dongle, the browser, and uStreamer. I think we are in for an interesting decade or so of people plugging things together like this. I'm curious why you use the browser instead of ffplay for decoding and display. I'd guess ffplay would be faster - but maybe no…

For one, it wraps the screen and input into one window. Using two would be unwieldy.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#189
post #182
post #180

Brilliant idea. I have an idea to extend this! 1. A relay to reset the PC like iDRAC/iLO 2. 2 dual pole relay to move a USB flash drive to and from the PC it's connected to, in combination with (1) you could then boot ISOs remotely by dd-ing the ISO to the flash drive and then connecting it to the host PC with a relay

It should be possible for the Raspberry Pi to emulate a USB flash drive using the OTG connection, though I'm not sure if it can emulate a keyboard and a mass storage device at the same time. It would be a very valuable feature for sure.

Alternatively, just use a microcontroller for the USB HID stuff, and talk to it via BT/WiFi/40-pin header.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#190

Earlier quoted context omitted.

The video capture part should work, but I don't believe they support USB OTG, so they wouldn't be able to impersonate the keyboard. The official documentation[0] says all Pi devices have USB OTG, but I'm not sure if there's something else about the Pi 4 and Pi Zero W that allows USB gadget mode because I've never found anyone talking about using it before recent generations of Pi. This StackExchange answer says the A…

I'd expect the Pi Zero W to be fast enough to pass through the MJPEG stream and impersonate the keyboard, which should cut the cost by $20+ plus however much you save on not needing a fancy case.

[deleted]
Post reply on HN