←back to thread

756 points mtlynch | 3 comments | | HN request time: 0.82s | source
Show context
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 #
1. 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 #
2. tmzt ◴[] No.23932300[source]
The kernel at least supports that, through the gadgetfs filesystem.
3. Nexxxeh ◴[] No.23932494[source]
Alternatively, just use a microcontroller for the USB HID stuff, and talk to it via BT/WiFi/40-pin header.