Skip to content

Commit

Permalink
Readme update - troubleshotting
Browse files Browse the repository at this point in the history
  • Loading branch information
icebarf committed Dec 19, 2021
1 parent 62c3bb7 commit bb3d226
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,36 +93,27 @@ $ gcc -Wall -Wextra src/perfmode.c -o bin/perfmode

The following is a list of errors reported by faustus and how to fix them.

- `Perfmode: Kernel modules not available`


- Perfmode: asus_nb_wmi or faustus module not loaded!

If you see this error while running, then make sure you have not disabled asus_nb_wmi or faustus modules. If you have no idea what this means then there is a very high possibility that you are running the default `asus_nb_wmi` module. You can load it by running the following command:
If you see this error while running, then make sure you have not disabled `asus_nb_wmi` or `faustus` modules. If you have no idea what this means then there is a very high possibility that you are running the default `asus_nb_wmi` module. You can load it by running the following command:

```bash
$ sudo modprobe asus_nb_wmi
```

Similarly, for faustus (if you have it installed) you can simple replace `asus_nb_wmi` with `faustus`

- `Perfmode: Module files not found`

This error reports that policy files for managing your hardware do not exist.

- Perfmode: module files not found

This error reports that policy files for managing your hardware do not exist. Its a very grave error and you should probably reinstall the `linux` kernel and the `linux-firmware` package.
Either you're on unsupported hardware or you're probably missing the `linux-firmware` package.

Please install it for your respective distribution.


- Perfmode: Could not open Policy file
- Perfmode: Insufficient Permissions

This error reports that perfmode does not have enough permissions to open the policy file.

Run perfmode with `sudo` to fix this.



- Perfmode: Could not write to Policy file

This error reports that perfmode does not have enough permissions to open the policy file.

Run perfmode with `sudo` to fix this.

0 comments on commit bb3d226

Please sign in to comment.