Skip to content

Commit

Permalink
Merge pull request #305 from a-h-ismail/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect kernel option and add grubby equivalent.
  • Loading branch information
tomaspinho authored May 4, 2023
2 parents 6aaaf9f + 014757c commit a478095
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,27 @@ This will enable verbose debug logging, helpful to developers.

## Possible issues

### PCIe Activate State Power Management
### PCIe Active State Power Management
Your distribution may come with PCIe Active State Power Management enabled by default. That may conflict with this driver. To disable:

```
sudo $EDITOR /etc/default/grub
```
Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:
Add pcie_aspm=off at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:

```
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"
```

Then update your GRUB configuration:
```
sudo update-grub
```

On systems that doesn't have `update-grub` but have `grubby` like Fedora, you can directly execute instead:
```
sudo grubby --update-kernel=ALL --args=pcie_aspm=off
```
Reboot.

### Lenovo Yoga laptops
Expand Down

0 comments on commit a478095

Please sign in to comment.