aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGromimousse <bguevel@emi.u-bordeaux1.fr>2018-10-02 13:40:03 +0200
committerGromimousse <bguevel@emi.u-bordeaux1.fr>2018-10-02 13:40:03 +0200
commit59bedcb1cc95229a804f56c0290c4b4cd60c24c2 (patch)
tree179dbd23ff9818d2cc66bff7ea38eb88b1499106 /docs
parent0915597a65a96905d68c3a220b51e60b217fd294 (diff)
downloadlibrebootfr-59bedcb1cc95229a804f56c0290c4b4cd60c24c2.tar.gz
librebootfr-59bedcb1cc95229a804f56c0290c4b4cd60c24c2.zip
Update the 'power management beeps' section in the doc/misc
Diffstat (limited to 'docs')
-rw-r--r--docs/misc/index.md24
1 files changed, 19 insertions, 5 deletions
diff --git a/docs/misc/index.md b/docs/misc/index.md
index 51c53c2c..437988a5 100644
--- a/docs/misc/index.md
+++ b/docs/misc/index.md
@@ -210,18 +210,32 @@ battery goes to a critically low charge level, a beep occurs. Nvramtool
is included in libreboot, and can be used to enable or disable this
behaviour.
+You need to write changes in a libreboot rom image, and flash it, in order
+to apply them. You can either use a pre-compiled rom image, or create an image
+from the current one in your computer. See here
+<https://libreboot.org/docs/gnulinux/grub_cbfs.html#get-the-rom-image> for
+more information on how to do that.
+
+Once you have a libreboot rom image, say 'libreboot.rom', you can write
+changes on the image with the following commands.
+
Disable or enable beeps when removing/adding the charger:
- $ sudo ./nvramtool -w power\_management\_beeps=Enable
- $ sudo ./nvramtool -w power\_management\_beeps=Disable
+ $ sudo ./nvramtool -C libreboot.rom -w power\_management\_beeps=Enable
+ $ sudo ./nvramtool -C libreboot.rom -w power\_management\_beeps=Disable
Disable or enable beeps when battery is low:
- $ sudo ./nvramtool -w low\_battery\_beep=Enable
+ $ sudo ./nvramtool -C libreboot.rom -w low\_battery\_beep=Enable
+ $ sudo ./nvramtool -C libreboot.rom -w low\_battery\_beep=Disable
+
+You can check that the parameters are set in the image with :
- $ sudo ./nvramtool -w low\_battery\_beep=Disable
+ $ sudo ./nvramtool -C libreboot.rom -a
-A reboot is required, for these changes to take effect.
+Finally, you need to flash the rom with this new image. See here
+<https://libreboot.org/docs/gnulinux/grub_cbfs.html#with-re-flashing-the-rom>
+for a detailed explanation.
Get EDID: Find out the name (model) of your LCD panel
=====================================================