-
Notifications
You must be signed in to change notification settings - Fork 8
/
README
60 lines (49 loc) · 1.95 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
========================================================================
!!! This repo only exists for historic purposes, it's not maintained !!!
!!! and issues won't be resolved here. !!!
!!! Please check this fork and report issues there: !!!
!!! !!!
!!! https://github.com/FreeBSDDesktop/intel_backlight_fbsd !!!
!!! !!!
========================================================================
This is part of FreeBSD ports.
Please install from ports:
cd /usr/ports/graphics/intel-backlight
make install clean
or from packages:
pkg install intel-backlight
This allows to control the backlight level on certain Intel(R) GPUs,
including i915.
This has been taken from intel-gpu-tools which can be found
here: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
Originally ported to FreeBSD by "emmex" of the FreeBSD forums.
Build:
pkg install libpciaccess libdrm
make
make install
(this installs intel_backlight setuid root, so any user can execute it).
Usage:
$ intel_backlight
current backlight value: 30% (281/937)
$ intel_backlight 50
current backlight value: 15% (141/937)
set backlight to 50% (469/937)
$ intel_backlight incr
current backlight value: 50% (469/937)
set backlight to 51% (478/937)
$ intel_backlight incr
current backlight value: 51% (478/937)
set backlight to 60% (562/937)
$ intel_backlight incr
current backlight value: 60% (562/937)
set backlight to 70% (656/937)
$ intel_backlight decr
current backlight value: 70% (656/937)
set backlight to 60% (562/937)
$ intel_backlight decr
current backlight value: 60% (562/937)
set backlight to 51% (478/937)
The included example allows adjusting brightness automatically based on the
input of the isl driver (currently not part of standard FreeBSD).
Usage:
./isl_backlight.sh &