From 59bedcb1cc95229a804f56c0290c4b4cd60c24c2 Mon Sep 17 00:00:00 2001 From: Gromimousse Date: Tue, 2 Oct 2018 13:40:03 +0200 Subject: Update the 'power management beeps' section in the doc/misc --- docs/misc/index.md | 24 +++++++++++++++++++----- 1 file 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 + 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 + +for a detailed explanation. Get EDID: Find out the name (model) of your LCD panel ===================================================== -- cgit v1.2.3-70-g09d2 From abcefa10f36aa8f20f74b5adff182d26d3a33e05 Mon Sep 17 00:00:00 2001 From: Gromimousse Date: Tue, 2 Oct 2018 13:43:58 +0200 Subject: fix indent --- docs/misc/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/misc/index.md b/docs/misc/index.md index 437988a5..3ab64bc9 100644 --- a/docs/misc/index.md +++ b/docs/misc/index.md @@ -231,7 +231,7 @@ Disable or enable beeps when battery is low: You can check that the parameters are set in the image with : - $ sudo ./nvramtool -C libreboot.rom -a + $ sudo ./nvramtool -C libreboot.rom -a Finally, you need to flash the rom with this new image. See here -- cgit v1.2.3-70-g09d2