README
1This allows to control the backlight level on certain Intel(R) GPUs,
2including i915.
3
4This has been taken from intel-gpu-tools which can be found
5here: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
6
7Originally ported to FreeBSD by "emmex" of the FreeBSD forums.
8
9Build:
10 pkg install libpciaccess libdrm
11 make
12 make install-setuid-strip
13
14(this installs intel_backlight setuid root, so any user can execute it).
15
16Usage:
17 $ intel_backlight
18 current backlight value: 30% (281/937)
19 $ intel_backlight 50
20 current backlight value: 15% (141/937)
21 set backlight to 50% (469/937)
22 $ intel_backlight incr
23 current backlight value: 50% (469/937)
24 set backlight to 51% (478/937)
25 $ intel_backlight incr
26 current backlight value: 51% (478/937)
27 set backlight to 60% (562/937)
28 $ intel_backlight incr
29 current backlight value: 60% (562/937)
30 set backlight to 70% (656/937)
31 $ intel_backlight decr
32 current backlight value: 70% (656/937)
33 set backlight to 60% (562/937)
34 $ intel_backlight decr
35 current backlight value: 60% (562/937)
36 set backlight to 51% (478/937)
37
38The included example allows adjusting brightness automatically based on the
39input of the isl driver (currently not part of standard FreeBSD).
40
41Usage:
42 ./isl_backlight.sh &
43