[PR #206] [MERGED] Adding ability to Cold Boot a system by emulating a power button press from GPIO pins #239

Closed
opened 2026-10-22 05:08:04 +00:00 by roman · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/safijari/openpuck/pull/206
Author: @katzmatt
Created: 8/1/2026
Status: ✅ Merged
Merged: 8/22/2026
Merged by: @safijari

Base: main ← Head: main


📝 Commits (8)

  • f99dddb Add optional host power-switch trigger (Steam short-press, host-off gated)
  • 31160cc Add make uf2 target, fix PWR_SWITCH_PIN default, add blink_test bring-up sketch
  • 246e74e Merge branch 'main' into main
  • ffc8dc0 Adding Documentation for ColdBoot
  • 7236ab0 adding Coldboot documentation and images
  • 029b2aa Reduced JPEG size
  • 76c77be ColdBoot: drop blink_test + images, point README at the wiki
  • 89ca359 ColdBoot: drop the dev-log doc

📊 Changes

8 files changed (+193 additions, -4 deletions)

View changed files

📝 ARCHITECTURE.md (+26 -0)
📝 CODE_MAP.md (+17 -3)
📝 Makefile (+14 -1)
📝 OpenPuck/OpenPuck.ino (+10 -0)
📝 OpenPuck/config.h (+9 -0)
➕ OpenPuck/pwr_switch.cpp (+81 -0)
➕ OpenPuck/pwr_switch.h (+29 -0)
📝 README.md (+7 -0)

📄 Description

This fork ads the ability to, with some very simple circuitry (one resistor, one transistor, optional LED, and some wire) to be able to trigger a system boot from full OFF G3 state to full on, from the Steam Controller.

https://www.youtube.com/shorts/z16nw3lvDiI
https://www.youtube.com/shorts/AaGN4pM3XvQ

Combining with a HDMI CEC adapter (self plug https://github.com/katzmatt/CEC4HTPC-Daemon), this implements the most sought after features of the Steam Machine, on a home PC

the additional feature is optional at build, and is only triggered when:

  • The board is powered (Always On USB)
  • It does not detect an OS (not mounted by a system)
  • The Steam button is short-pressed

these three features combined prevents the board from sending an errant power button press during normal operation of the booted system

the schematic is incredibly simple and can be easily put together with the most basic of soldering skills
ColdBootSchematic
IMG_5262
IMG_5263
IMG_5267

with more skill the circuit board can be made incredibly tiny.
this circuit sits in-line in parallel with the actual button, so original functionality of the front panel case power button is kept.

this is best used with the nRF board inside the PC case for cleanliness, but can easily work with longer wires, outside of the case, I just wouldn't recommend it :)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/safijari/openpuck/pull/206 **Author:** [@katzmatt](https://github.com/katzmatt) **Created:** 8/1/2026 **Status:** ✅ Merged **Merged:** 8/22/2026 **Merged by:** [@safijari](https://github.com/safijari) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (8) - [`f99dddb`](https://github.com/safijari/openpuck/commit/f99dddbc65cfe45c2a04f318bc288ba930f313ac) Add optional host power-switch trigger (Steam short-press, host-off gated) - [`31160cc`](https://github.com/safijari/openpuck/commit/31160cce6b8a534995bfb0b222d4ee9f1d8734ea) Add make uf2 target, fix PWR_SWITCH_PIN default, add blink_test bring-up sketch - [`246e74e`](https://github.com/safijari/openpuck/commit/246e74eeb9ea41a1700c1fca52a79a6566df4110) Merge branch 'main' into main - [`ffc8dc0`](https://github.com/safijari/openpuck/commit/ffc8dc0c72cbb68ca7a2e8c150d7c9dd60cb3447) Adding Documentation for ColdBoot - [`7236ab0`](https://github.com/safijari/openpuck/commit/7236ab0863665d6f1199896c0312e008e3cc84ad) adding Coldboot documentation and images - [`029b2aa`](https://github.com/safijari/openpuck/commit/029b2aad1b08f924ff7a9ee86b1bb2e65d72fcf1) Reduced JPEG size - [`76c77be`](https://github.com/safijari/openpuck/commit/76c77bef3e9a02e6e4cfe4ec3bc6496d96a59b57) ColdBoot: drop blink_test + images, point README at the wiki - [`89ca359`](https://github.com/safijari/openpuck/commit/89ca359b7745df9db92d1b398e51dcce80c89156) ColdBoot: drop the dev-log doc ### 📊 Changes **8 files changed** (+193 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `ARCHITECTURE.md` (+26 -0) 📝 `CODE_MAP.md` (+17 -3) 📝 `Makefile` (+14 -1) 📝 `OpenPuck/OpenPuck.ino` (+10 -0) 📝 `OpenPuck/config.h` (+9 -0) ➕ `OpenPuck/pwr_switch.cpp` (+81 -0) ➕ `OpenPuck/pwr_switch.h` (+29 -0) 📝 `README.md` (+7 -0) </details> ### 📄 Description This fork ads the ability to, with some very simple circuitry (one resistor, one transistor, optional LED, and some wire) to be able to trigger a system boot from full OFF G3 state to full on, from the Steam Controller. https://www.youtube.com/shorts/z16nw3lvDiI https://www.youtube.com/shorts/AaGN4pM3XvQ Combining with a HDMI CEC adapter (self plug https://github.com/katzmatt/CEC4HTPC-Daemon), this implements the most sought after features of the Steam Machine, on a home PC the additional feature is optional at build, and is only triggered when: - The board is powered (Always On USB) - It does not detect an OS (not mounted by a system) - The Steam button is short-pressed these three features combined prevents the board from sending an errant power button press during normal operation of the booted system the schematic is incredibly simple and can be easily put together with the most basic of soldering skills <img width="652" height="219" alt="ColdBootSchematic" src="https://github.com/user-attachments/assets/67f97781-53ed-47e6-9b40-1108edcf9eb7" /> <img width="3024" height="4032" alt="IMG_5262" src="https://github.com/user-attachments/assets/0448a113-52d3-4cb7-8085-62b7d00dda78" /> <img width="3024" height="4032" alt="IMG_5263" src="https://github.com/user-attachments/assets/37cad474-b10c-4a68-8e08-f3a10f35deda" /> <img width="4032" height="3024" alt="IMG_5267" src="https://github.com/user-attachments/assets/5903db99-cacb-43f0-8887-ffd5a63da020" /> with more skill the circuit board can be made incredibly tiny. this circuit sits in-line in parallel with the actual button, so original functionality of the front panel case power button is kept. this is best used with the nRF board inside the PC case for cleanliness, but can easily work with longer wires, outside of the case, I just wouldn't recommend it :) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
roman 2026-10-22 05:08:04 +00:00
Sign in to join this conversation.
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
safijari/openpuck#239
No description provided.