ipwm is a lightweight tool to adjust PWM frequency on i915.
Read the article to understand how it works.
Run make && make install
to build and install ipwm to your system.
The configuration file is placed to /etc/ipwm.conf
by default.
You can edit the following parameters:
register
—0xc8254
is default value, you don't need to change it in most cases.period
— adjusts PWM.
After editing the parameters you can run ipwm apply
from root.
You can view the current value running ipwm read
from root.
The value will also be automatically applied after i915 module load.
i915 module was probably loaded before mounting filesystems. You can disable early load of i915 module or copy the tool to initramfs.
Arch Linux users can add ipwm
hook to mkinitcpio.conf(5)
.