Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Script Works but Needs Updates for New System Paths #6

@d00d1k

Description

@d00d1k

Hi CodeRunner5235,

Thank you for creating this automation script! It’s an excellent solution for automating TDP adjustments on the Steam Deck.

I recently read an article about TDP adjustments (https://www.stanto.com/steam-deck/how-to-unlock-the-lcd-and-oled-steam-deck-bios-for-increased-tdp-and-other-features/) and noticed that the method for applying TDP settings seems to have been updated. I reviewed your script and compared it with the details from the article. It turns out that only a few small changes are needed for the script to work on newer configurations like the Steam Deck OLED.

Specifically, I updated the paths in your script from:

/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap  
/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap 

to:

/sys/class/hwmon/hwmon6/power1_cap_default  
/sys/class/hwmon/hwmon6/power2_cap_default  

Additionally, I modified the command for writing TDP values from:
echo 20000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap

to:
echo 20000000 | sudo tee /sys/class/hwmon/hwmon6/power1_cap

After making these changes, the script worked perfectly on my Steam Deck OLED. Honestly, I’m not entirely sure what the exact difference is between the two methods, but the updated paths and commands seem to align better with the current system structure.

I’d love to create a pull request, but I’m not a programmer, and diving into Git properly is a bit more effort than I’d like to put in at the moment. I hope this information helps you update the script for wider compatibility!

Thanks again for your great work on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions