SkillAgentSearch skills...

Ipwm

PWM frequency configuration tool for i915

Install / Use

/learn @kitsunyan/Ipwm
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ipwm

ipwm is a lightweight tool to adjust PWM frequency on i915.

Read the article to understand how it works.

Building and Installing

Run make && make install to build and install ipwm to your system.

Configuration

The configuration file is placed to /etc/ipwm.conf by default. You can edit the following parameters:

  • register0xc8254 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.

Troubleshooting

Value Doesn't Change After Boot

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).

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated3y ago
Forks0

Languages

C

Security Score

80/100

Audited on Aug 9, 2022

No findings