Update README.md
This commit is contained in:
committed by
GitHub
parent
3dc062ccc5
commit
abc29d148a
10
README.md
10
README.md
@@ -9,14 +9,14 @@ The script now also supports **undervolting** the CPU by configuring voltage off
|
|||||||
## Requirements
|
## Requirements
|
||||||
The python module `python-periphery` is used for accessing the MCHBAR register by memory mapped I/O. You also need `dbus` and `gobject` python bindings for listening to dbus signals on resume from sleep/hibernate.
|
The python module `python-periphery` is used for accessing the MCHBAR register by memory mapped I/O. You also need `dbus` and `gobject` python bindings for listening to dbus signals on resume from sleep/hibernate.
|
||||||
|
|
||||||
|
### Update:
|
||||||
|
The scripts is now running with Python3 by default (tested w/ 3.6) and a virtualenv is automatically created in `/opt/lenovo_fix`. Python2 should probably still work.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```
|
```
|
||||||
git clone https://github.com/erpalma/lenovo-throttling-fix.git
|
git clone https://github.com/erpalma/lenovo-throttling-fix.git
|
||||||
sudo -H pip install python-periphery
|
sudo apt install virtualenv
|
||||||
sudo apt install python-dbus python-gobject
|
sudo ./install.sh
|
||||||
sudo make install
|
|
||||||
sudo systemctl enable lenovo_fix.service
|
|
||||||
sudo systemctl start lenovo_fix.service
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user