Update docs
This commit is contained in:
parent
5ae24fdb57
commit
41db7e787b
|
@ -40,5 +40,8 @@ You can perform a regular install of Ubuntu 21.04 on the Win 3. The process is a
|
|||
|
||||
# Table of contents
|
||||
|
||||
List of other pages in this repo
|
||||
|
||||
- [Main Issues](docs/Main-issues.md)
|
||||
- [Quirks](docs/Quirks.md)
|
||||
- [Scripts](scripts/)
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
# Script overview
|
||||
|
||||
Overview and quickstart instructions for scripts.
|
||||
|
||||
To install scripts, copy them someone on your Win 3, then add them to your path. This is done by adding a line to the end of `~/.bashrc`
|
||||
For example if the scripts are located in `/home/user/.local/win3-resources/scripts`, add the following at the end of your `~/.bashrc`:
|
||||
|
||||
```
|
||||
PATH="${PATH}:/home/user/.local/win3-resources/scripts"
|
||||
```
|
||||
|
||||
Replacing the folder as needed.
|
||||
|
||||
## TDP
|
||||
|
||||
Lets you set the TDP using `intel_rapl`.
|
||||
Also supports shortened commands for minimal typing on the mediocre keyboard.
|
||||
|
||||
PL1 is set to number provided, PL2 is set 2W higher, maybe PL2 will be customizable in the future.
|
||||
|
||||
For details of how to use, run `tdp help`.
|
||||
|
||||
Common examples:
|
||||
|
||||
```
|
||||
# Check current TDP
|
||||
tdp check
|
||||
|
||||
# Set TDP to 8W
|
||||
tdp set 8
|
||||
|
||||
# Set TDP to 8W (But shorter)
|
||||
tdp s 8
|
||||
|
||||
# Check both PL1 and PL2
|
||||
tdp check --detail
|
||||
|
||||
# Check both PL1 and PL2 (But shorter)
|
||||
tdp c -d
|
||||
```
|
||||
|
||||
*Protip:* Add `tdp check` to the end of your `.bashrc` file. Then your terminal will display the TDP every time it's opened, without needing to run any command.
|
|
@ -17,7 +17,11 @@ Usage:
|
|||
|
||||
Command:
|
||||
check [ARGS] Checks current TDP and prints it in watts
|
||||
set WATTS [ARGS] Setts TDP to the requested number in watts
|
||||
c [ARGS] Shortened version of check
|
||||
|
||||
set WATTS [ARGS] Sets TDP to the requested number in watts
|
||||
s WATTS [ARGS] Shortened version of set
|
||||
|
||||
help Prints this help text
|
||||
COMMAND --help Prints help for specified command"
|
||||
|
||||
|
|
Loading…
Reference in New Issue