diff options
author | Leah Rowe <info@minifree.org> | 2018-10-16 03:53:18 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2018-10-16 03:53:18 +0000 |
commit | 9869ecd445deacc331fc571f5012a920664eb8d2 (patch) | |
tree | 04ff3898b6d22f7f254a0acbff5233d71d97e93a /docs | |
parent | c108484915669af823bee9531416bdd579d9303a (diff) | |
parent | abcefa10f36aa8f20f74b5adff182d26d3a33e05 (diff) | |
download | librebootfr-9869ecd445deacc331fc571f5012a920664eb8d2.tar.gz librebootfr-9869ecd445deacc331fc571f5012a920664eb8d2.zip |
Merge branch 'power_management_beep_doc_update' of Grominet/libreboot into master
Diffstat (limited to 'docs')
-rw-r--r-- | docs/misc/index.md | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/docs/misc/index.md b/docs/misc/index.md index 51c53c2c..3ab64bc9 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 ===================================================== |