From 29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 17 Mar 2017 23:04:16 -0700 Subject: Begin descent from weird command line syntax --- docs/misc/index.md | 12 ++++++------ docs/misc/patch.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/misc') 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) -- cgit v1.2.3-70-g09d2