←back to thread

756 points mtlynch | 1 comments | | HN request time: 0.207s | source
Show context
mtlynch ◴[] No.23927535[source]
Author here. Happy to answer any questions or take any feedback about this post.
replies(13): >>23928048 #>>23928079 #>>23928102 #>>23928108 #>>23928824 #>>23929025 #>>23929273 #>>23931092 #>>23931871 #>>23931962 #>>23932019 #>>23932032 #>>23935887 #
wojciii ◴[] No.23928108[source]
Cool project, but what about power management? What happens if the PC being controlled crashes and does not let you reboot it using keyboard shortcut?

I'm might be damaged by testing and working with embedded development.

replies(5): >>23928235 #>>23928413 #>>23928441 #>>23928912 #>>23931560 #
mtlynch ◴[] No.23928441[source]
Thanks for reading!

>Cool project, but what about power management? What happens if the PC being controlled crashes and does not let you reboot it using keyboard shortcut?

Yeah, that's one of the limitations. TinyPilot can't control power for the target computer.

I don't know of any way to manage power without connecting the Pi to the target machine's motherboard, but that increases complexity significantly. I'm using this for a homelab, so it's easy for me to walk over and cycle power if that ever comes up, but for this to support more remote scenarios, I'd need to address this.

replies(6): >>23929351 #>>23929756 #>>23930250 #>>23931740 #>>23932602 #>>23934536 #
1. oakwhiz ◴[] No.23930250[source]
Perhaps a fake USB device that issues power or sleep button requests could work. I had limited success with this on Linux using an HID keyboard emulator. However this won't work on a machine that's too far gone to respond to USB, and that's also an issue with the physical power button as well. Perhaps an AC latching relay would work to cut power.