aboutsummaryrefslogtreecommitdiff
path: root/docs/misc
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:04:16 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:04:16 -0700
commit29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed (patch)
tree18a7c799c326e9a0a732703f0250b91687033b62 /docs/misc
parent556205fc197ee1ef0f77ed382ac9f9ec57068ccf (diff)
downloadlibrebootfr-29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed.tar.gz
librebootfr-29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed.zip
Begin descent from weird command line syntax
Diffstat (limited to 'docs/misc')
-rw-r--r--docs/misc/index.md12
-rw-r--r--docs/misc/patch.md2
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/misc/index.md b/docs/misc/index.md
index 23c40197..ce4ec4ea 100644
--- a/docs/misc/index.md
+++ b/docs/misc/index.md
@@ -80,7 +80,7 @@ and added the following to /etc/systemd/system/powertop.service :
WantedBy=multi-user.target
Finally, as root do that:\
-**\# systemctl enable powertop**\
+ \# systemctl enable powertop
**\# systemctl start powertop**
The next time you boot the system, the buzz will be gone.
@@ -227,11 +227,11 @@ is included in libreboot, and can be used to enable or disable this
behaviour.
Disable or enable beeps when removing/adding the charger:\
-$ **sudo ./nvramtool -w power\_management\_beeps=Enable**\
+$ sudo ./nvramtool -w power\_management\_beeps=Enable
$ **sudo ./nvramtool -w power\_management\_beeps=Disable**
Disable or enable beeps when battery is low:\
-$ **sudo ./nvramtool -w low\_battery\_beep=Enable**\
+$ sudo ./nvramtool -w low\_battery\_beep=Enable
$ **sudo ./nvramtool -w low\_battery\_beep=Disable**
A reboot is required, for these changes to take effect.
@@ -241,15 +241,15 @@ A reboot is required, for these changes to take effect.
Get EDID: Find out the name (model) of your LCD panel {#get_edid_panelname}
=====================================================
-Get the panel name with **sudo get-edid | strings**\
+Get the panel name with sudo get-edid | strings
Or look in **/sys/class/drm/card0-LVDS-1/edid**
Alternatively you can use i2cdump. In Debian and Devuan, this is in the
package i2c-tools.\
-$ **sudo modprobe i2c-dev**\
+$ sudo modprobe i2c-dev
$ **sudo i2cdump -y 5 0x50** (you might have to change the value for
-y)\
-$ **sudo rmmod i2c-dev**\
+$ sudo rmmod i2c-dev
You'll see the panel name in the output (from the EDID dump).
If neither of these options work (or they are unavailable), physically
diff --git a/docs/misc/patch.md b/docs/misc/patch.md
index ee594a9e..07b53b03 100644
--- a/docs/misc/patch.md
+++ b/docs/misc/patch.md
@@ -76,7 +76,7 @@ Note the git revision that you did this with:\
**$ git log**
Alternatively (better yet), commit your changes and then use:\
-$ **git format-patch -N**\
+$ git format-patch -N
Replace N with the number of commits that you want to show.
[Back to top of page.](#pagetop)