From ef798d84aa998b1920536ff4311da2f48e7972f0 Mon Sep 17 00:00:00 2001 From: velvettear Date: Mon, 28 Oct 2024 14:16:12 +0100 Subject: [PATCH] update powertop script for host 'j5040' --- scripts/powertop/j5040.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/powertop/j5040.sh b/scripts/powertop/j5040.sh index 7fe9e39..7469536 100755 --- a/scripts/powertop/j5040.sh +++ b/scripts/powertop/j5040.sh @@ -30,4 +30,7 @@ echo 'auto' > '/sys/bus/pci/devices/0000:00:12.0/ata2/power/control'; echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/ata5/power/control'; echo 'auto' > '/sys/bus/pci/devices/0000:00:15.0/power/control'; echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control'; -echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/ata4/power/control'; +echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/ata4/power/control'; +echo 'disabled' > '/sys/bus/usb/devices/2-3/power/wakeup'; +echo 'disabled' > '/sys/bus/usb/devices/2-4/power/wakeup'; +echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';