Mercurial > backlight
comparison README.md @ 6:77ea2359f3e4
misc: refactor
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 16 Sep 2019 15:08:21 +0200 |
parents | 73a371432d36 |
children | 0de3886f98ad |
comparison
equal
deleted
inserted
replaced
5:867f73a28c79 | 6:77ea2359f3e4 |
---|---|
4 This tool adjust your laptop brightness using ACPI. | 4 This tool adjust your laptop brightness using ACPI. |
5 | 5 |
6 It has been designed for broken ACPI (e.g. HP) where fn-keys do not work, | 6 It has been designed for broken ACPI (e.g. HP) where fn-keys do not work, |
7 instead, you can map these keys to call this tool. | 7 instead, you can map these keys to call this tool. |
8 | 8 |
9 Supported systems | |
10 ================= | |
11 | |
12 - Linux, requires video ACPI module, | |
13 - FreeBSD, requires the acpi_video(4) loaded. | |
14 | |
15 Installation | |
16 ============ | |
17 | |
18 It is recommended to install this tool using the setuid to allow non-root users | |
19 to change the laptop backlight. | |
20 | |
21 make | |
22 sudo make install | |
23 | |
24 For FreeBSD, add the following to your **/boot/loader.conf**: | |
25 | |
26 acpi_video_load=YES | |
27 | |
28 Alternatively, you can compile this module into the kernel. | |
29 | |
30 Usage | 9 Usage |
31 ===== | 10 ----- |
32 | 11 |
33 The backlight tool supports two commands, `up` and `down` which increment and | 12 The backlight tool supports two commands, `up` and `down` which increment and |
34 decrement backlight respectively. | 13 decrement backlight respectively. |
35 | 14 |
36 Example: | 15 Example: |