Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SteamDeck Auto TDP

**This is now unnecessary**

SteamOS and decky updates have rendered this work around pointless. Just do your updates and everthing should work.

**What is it?**

A service that allows the TDP to be set higher than 15w automatically while preserving functionality of the existing TDP control slider in the quick access menu **ON LCD DECKS**. I don't know if the OLED uses different files to control the TDP. You can try, but I don't know what will happen, and don’t recommend it.
Expand Down Expand Up @@ -67,10 +71,10 @@ Q: I installed but the slider still says 15w

A: The script will set the TDP, but it wont change what the slider says. I don't know how to make it do that. You can check the current max TDP with
```bash
cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
cat /sys/class/hwmon/hwmon6/power1_cap
```
and
```bash
cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
cat /sys/class/hwmon/hwmon6/power2_cap
```
both should read your current max TDP in microwatts (six extra zeros).
8 changes: 4 additions & 4 deletions ppt16w/ppt16w.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


#check current power limit
slowppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap)
fastppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap)
slowppt_limit=$(cat /sys/class/hwmon/hwmon6/power1_cap)
fastppt_limit=$(cat /sys/class/hwmon/hwmon6/power2_cap)

#adjust based on value
if [ "$slowppt_limit" -eq 15000000 ]; then
echo 16000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
echo 16000000 > /sys/class/hwmon/hwmon6/power1_cap
fi

if [ "$fastppt_limit" -eq 15000000 ]; then
echo 16000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
echo 16000000 > /sys/class/hwmon/hwmon6/power2_cap
fi
8 changes: 4 additions & 4 deletions ppt17w/ppt17w.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


#check current power limit
slowppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap)
fastppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap)
slowppt_limit=$(cat /sys/class/hwmon/hwmon6/power1_cap)
fastppt_limit=$(cat /sys/class/hwmon/hwmon6/power2_cap)

#adjust based on value
if [ "$slowppt_limit" -eq 15000000 ]; then
echo 17000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
echo 17000000 > /sys/class/hwmon/hwmon6/power1_cap
fi

if [ "$fastppt_limit" -eq 15000000 ]; then
echo 17000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
echo 17000000 > /sys/class/hwmon/hwmon6/power2_cap
fi
8 changes: 4 additions & 4 deletions ppt18w/ppt18w.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


#check current power limit
slowppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap)
fastppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap)
slowppt_limit=$(cat /sys/class/hwmon/hwmon6/power1_cap)
fastppt_limit=$(cat /sys/class/hwmon/hwmon6/power2_cap)

#adjust based on value
if [ "$slowppt_limit" -eq 15000000 ]; then
echo 18000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
echo 18000000 > /sys/class/hwmon/hwmon6/power1_cap
fi

if [ "$fastppt_limit" -eq 15000000 ]; then
echo 18000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
echo 18000000 > /sys/class/hwmon/hwmon6/power2_cap
fi
8 changes: 4 additions & 4 deletions ppt19w/ppt19w.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


#check current power limit
slowppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap)
fastppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap)
slowppt_limit=$(cat /sys/class/hwmon/hwmon6/power1_cap)
fastppt_limit=$(cat /sys/class/hwmon/hwmon6/power2_cap)

#adjust based on value
if [ "$slowppt_limit" -eq 15000000 ]; then
echo 19000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
echo 19000000 > /sys/class/hwmon/hwmon6/power1_cap
fi

if [ "$fastppt_limit" -eq 15000000 ]; then
echo 19000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
echo 19000000 > /sys/class/hwmon/hwmon6/power2_cap
fi
8 changes: 4 additions & 4 deletions ppt20w/ppt20w.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@


#check current power limit
slowppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap)
fastppt_limit=$(cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap)
slowppt_limit=$(cat /sys/class/hwmon/hwmon6/power1_cap)
fastppt_limit=$(cat /sys/class/hwmon/hwmon6/power2_cap)

#adjust based on value
if [ "$slowppt_limit" -eq 15000000 ]; then
echo 20000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap
echo 20000000 > /sys/class/hwmon/hwmon6/power1_cap
fi

if [ "$fastppt_limit" -eq 15000000 ]; then
echo 20000000 > /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap
echo 20000000 > /sys/class/hwmon/hwmon6/power2_cap
fi