Package Details: intelpwm-udev 20180831-1

Git Clone URL: (read-only)
Package Base: intelpwm-udev
Description: UDEV rules for setting backlight PWM frequency on Intel HD Graphics
Upstream URL:
Licenses: GPL
Submitter: edio
Maintainer: edio
Last Packager: edio
Votes: 11
Popularity: 0.056840
First Submitted: 2014-08-03 13:36
Last Updated: 2018-08-31 14:02

Dependencies (1)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

Franek commented on 2018-09-03 10:04

Thanks for fixing it!

edio commented on 2018-08-31 14:02

@Franek, fixed shebang. Thanks for noticing

Franek commented on 2018-08-27 13:50

Please change the shebang of the script to require bash instead of sh. After symlinking /usr/bin/sh to dash on my system, intelpwm fails with:

/usr/bin/intelpwm: 8: /usr/bin/intelpwm: source: not found
Warning: register spec not found in '/usr/share/intel-gpu-tools/registers'. Using builtin register spec.
read: no registers specified
/usr/bin/intelpwm: 11: /usr/bin/intelpwm: Bad substitution

(The warning is normal, the rest is not.)

Changing the shebang to

#!/usr/bin/env bash

fixes it.

alaviss commented on 2018-01-08 23:55

This fixes the rule for me. Now it could be used alongside rules that depends on ACTION=="change"

 KERNEL!="intel_backlight", SUBSYSTEM!="backlight", ACTION!="change", GOTO="backlight_pwm_rules_end"



spijet commented on 2017-09-22 09:32

@sheinz, thanks a lot! This way makes backlight controls in various DEs (like GNOME) actually aware of the new PWM frequency!

sheinz commented on 2017-09-21 08:44

I solved the problem not using udev at all. I used modprobe.d config file.

install i915 /usr/bin/intelpwm; /sbin/modprobe i915 --ignore-install

This will call intelpwm before i915 module is loaded.

sheinz commented on 2017-09-20 14:54

99-intelpwm.rules blocks 85-tlp.rules from execution.

After installing this aur tlp stopped auto mode switching.

As far as I can see this 99-intelpwm.rules brakes any rule that uses ACTION="change"

edio commented on 2017-06-10 20:09


Hi. This package is not on github (yet?). But feel free to do with the code whatever you want. Consider it as a public domain or wtf license :)

(that differs from what is stated in the license section - I just noticed, but still copyleft :P)

spijet commented on 2017-06-02 19:14

Hey @edio, I wanted to ask you if you have this script hosted somewhere on GitHub (or any other Git hosting). I want to create an "intelpwm-udev" ebuild for Gentoo (as I switched over to Gentoo on my laptop) and I wanted to include your original version.

If you don't host it anywhere else -- can I post my modified version on my GitHub page (and put your name in credits)? :P

spijet commented on 2017-01-05 04:12

It works well now, thanks a lot! :)
Also, if you're interested, I took some liberty to modify it a little bit more so it could work with my backlight control script:

This way the script dumps current PWM period (which is also the maximum backlight level) to /tmp/pwmfreq, which is used by my backlight script to calculate backlight level cap and delta correctly, depending on current PWM frequency:

Maybe you'll find this useful too. :P