Skip to content

Commit 424de13

Browse files
committed
Move to subfolder, add readme
1 parent 3a12cd8 commit 424de13

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

sourced/AutoASPM/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## AutoASPM
2+
3+
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

Comments
 (0)