Lurker News

Comments (279) 64 threads

Earlier comments
naggie2 replies#
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

agwa2 replies#
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.
tmzt#
The kernel at least supports that, through the gadgetfs filesystem.
Nexxxeh#
Alternatively, just use a microcontroller for the USB HID stuff, and talk to it via BT/WiFi/40-pin header.
bronco21016#
The GPIO should easily be able to handle doing a reset by connecting with jumpers directly to the motherboard. I guess there may be some circuitry required... I'm not positive on how the standard motherboard pins work.
altmind#
Is there any chance to have remote reset? Getting the control over reset/power pins over the rpi gpio?
ed25519FUUU1 reply#
I can't tell if the USB port that usually delivers power is the only one that supports "USB Device Mode" (USB OTG). Can someone confirm? If I could use any port, then there would be no need for powering the pi with a serial USB adapter.
radiowave#
From memory, this is correct. It's only the USB-C port that allows OTG operation. I remember a while back seeing someone selling a special splitter cable for the rpi4 which provided 2 separate USB connectors, one for powering the rpi and one for attaching the pi as a gadget to a USB host port. But I can't remember where I saw it, and haven't been able to turn up a link to it.
martinmunk#
I've long considered creating a KVM IP thingie for VGA video with a BeagleBone Black. IIRC the PRUs (200mhz coprocessors) and the on-chip ADC should be fast enough to sample the video as-is, and have DMA access into main-cpu ram.

Load more comments