tpowertoptune.sh - scripts - random scripts
git clone https://git.parazyd.org/scripts
Log
Files
Refs
---
tpowertoptune.sh (2132B)
---
     1 #!/bin/sh
     2 echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
     3 echo 'auto' > '/sys/bus/i2c/devices/i2c-0/device/power/control';
     4 echo 'auto' > '/sys/bus/usb/devices/1-1.3/power/control';
     5 echo 'auto' > '/sys/bus/usb/devices/2-1.3/power/control';
     6 echo 'auto' > '/sys/bus/i2c/devices/i2c-3/device/power/control';
     7 echo 'auto' > '/sys/bus/i2c/devices/i2c-5/device/power/control';
     8 echo 'auto' > '/sys/bus/i2c/devices/i2c-1/device/power/control';
     9 echo 'auto' > '/sys/bus/i2c/devices/i2c-2/device/power/control';
    10 echo 'auto' > '/sys/bus/i2c/devices/i2c-4/device/power/control';
    11 echo 'auto' > '/sys/bus/i2c/devices/i2c-6/device/power/control';
    12 echo 'auto' > '/sys/bus/i2c/devices/i2c-7/device/power/control';
    13 echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control';
    14 echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.3/power/control';
    15 echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.4/power/control';
    16 echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control';
    17 echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control';
    18 echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.0/power/control';
    19 echo 'auto' > '/sys/bus/pci/devices/0000:00:19.0/power/control';
    20 echo 'auto' > '/sys/bus/pci/devices/0000:00:16.0/power/control';
    21 echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control';
    22 echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control';
    23 echo 'auto' > '/sys/bus/pci/devices/0000:ff:00.0/power/control';
    24 echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control';
    25 echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control';
    26 echo 'auto' > '/sys/bus/pci/devices/0000:ff:02.1/power/control';
    27 echo 'auto' > '/sys/bus/pci/devices/0000:ff:02.3/power/control';
    28 echo 'auto' > '/sys/bus/pci/devices/0000:ff:02.2/power/control';
    29 echo 'auto' > '/sys/bus/pci/devices/0000:ff:02.0/power/control';
    30 echo 'auto' > '/sys/bus/pci/devices/0000:ff:00.1/power/control';
    31 echo 'auto' > '/sys/bus/pci/devices/0000:02:00.0/power/control';
    32 echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control';
    33 echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.6/power/control';
    34 echo 'auto' > '/sys/bus/pci/devices/0000:00:1e.0/power/control';