←back to thread

756 points mtlynch | 6 comments | | HN request time: 0.973s | source | bottom
1. naggie ◴[] No.23932211[source]
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

replies(3): >>23932272 #>>23932279 #>>23932829 #
2. ◴[] No.23932272[source]
3. agwa ◴[] No.23932279[source]
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.
replies(2): >>23932300 #>>23932494 #
4. tmzt ◴[] No.23932300[source]
The kernel at least supports that, through the gadgetfs filesystem.
5. Nexxxeh ◴[] No.23932494[source]
Alternatively, just use a microcontroller for the USB HID stuff, and talk to it via BT/WiFi/40-pin header.
6. bronco21016 ◴[] No.23932829[source]
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.