Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steamos-powerbuttond: support more handhelds #1832

Open
matte-schwartz opened this issue Mar 7, 2025 · 0 comments
Open

steamos-powerbuttond: support more handhelds #1832

matte-schwartz opened this issue Mar 7, 2025 · 0 comments

Comments

@matte-schwartz
Copy link
Contributor

Now that SteamOS Main has a way to hook up other devices' power buttons into Steam's suspend call via the updated steamos-powerbuttond, and with inputplumber on the base image, we should consider handling the power buttons on more than just Steam Decks + the Legion Go S.

I created a fork with an expanded steamos-power-button.hwdb here: matte-schwartz/steamos-powerbuttond@33fc648. I based this off inputplumber's device support as well as the linux-hardware database for dmidecode readouts. I chose to keep the vendor check simple for some of the manufacturers that specialize in handhelds rather than all types of devices, but this could easily be changed to be more fine-grained.

For testing, I just placed my own steamos-power-button.hwdb into /etc/udev/hwdb.d/81-steamos-power-button-local.hwdb on SteamOS Main and rebuilt my hwdb. I've tried this on the original Legion Go, Steam Deck LCD + OLED, Legion Go S (Windows Z2 Go version), ROG Ally X, and an MSI Claw 8 AI+ A2VM and all of them worked as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant