You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple script to enable [Active State Power Management](https://en.wikipedia.org/wiki/Active_State_Power_Management) on all of your PCIe devices
4
+
5
+
This script supports only Linux systems
6
+
7
+
This is a Nushell port of [auto-ASPM.py](https://github.com/notthebee/AutoASPM) written mostly as an exercise in binary operations in Nushell.
8
+
There are several undocumented magic constants in the code that hail back from the original [enable_aspm](https://www.uwsg.indiana.edu/hypermail/linux/kernel/1006.2/02177.html) script
9
+
10
+
### Usage
11
+
12
+
1. Ensure you have following binaries available on `PATH`: `lspci``setpci`, those come as part of `pciutils` package on most distros
13
+
2. Run the script as root (Necessary because regular users cannot access low-level device information needed for the script to work)
0 commit comments