Skip to content

Instantly share code, notes, and snippets.

@davidcesarino
Last active August 2, 2020 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidcesarino/a34ffa5034b3cf3cccd14c5e6031b190 to your computer and use it in GitHub Desktop.
Save davidcesarino/a34ffa5034b3cf3cccd14c5e6031b190 to your computer and use it in GitHub Desktop.
Fix for AER's excessive logging for Intel Wireless 3165
[Unit]
Description=Fix for AER's excessive logging for Intel Wireless 3165
After=systemd-modules-load.service
[Service]
Type=oneshot
ExecStart=/usr/bin/setpci -v -d 8086:9d14 CAP_EXP+0x8.w=0x0e
RemainAfterExit=yes
[Install]
# Adapted from Dennis Mungai's solution
# Credits to: https://gist.github.com/Brainiarc7/3179144393747f35e5155fdbfd675554
# 1. Put your device and vendor (or bus/slot/function accordingly) in ExecStart line above
# 2. Put the .service file in /etc/systemd/system/
# 3. Run
# systemctl daemon-reload
# systemctl enable bugfix-intel_wifi-pci-8086-9d14.service
# systemctl start bugfix-intel_wifi-pci-8086-9d14.service
WantedBy=network.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment