diff --git a/README.md b/README.md index 4dd0c71..eb4e88a 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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). diff --git a/ppt16w/ppt16w.sh b/ppt16w/ppt16w.sh index c522228..89da4c8 100644 --- a/ppt16w/ppt16w.sh +++ b/ppt16w/ppt16w.sh @@ -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 diff --git a/ppt17w/ppt17w.sh b/ppt17w/ppt17w.sh index a886e32..2e88a13 100644 --- a/ppt17w/ppt17w.sh +++ b/ppt17w/ppt17w.sh @@ -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 diff --git a/ppt18w/ppt18w.sh b/ppt18w/ppt18w.sh index b191c70..d9f8740 100644 --- a/ppt18w/ppt18w.sh +++ b/ppt18w/ppt18w.sh @@ -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 diff --git a/ppt19w/ppt19w.sh b/ppt19w/ppt19w.sh index b2823e6..9d2a6ac 100644 --- a/ppt19w/ppt19w.sh +++ b/ppt19w/ppt19w.sh @@ -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 diff --git a/ppt20w/ppt20w.sh b/ppt20w/ppt20w.sh index 230db10..6bae213 100644 --- a/ppt20w/ppt20w.sh +++ b/ppt20w/ppt20w.sh @@ -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