From c2b25f1e127ff810e4565d553aafc28b7c44d1a2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 17 Mar 2017 23:05:29 -0700 Subject: Unbork some things --- docs/misc/index.md | 14 +++++++------- docs/misc/patch.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/misc') diff --git a/docs/misc/index.md b/docs/misc/index.md index ce4ec4ea..c012ce99 100644 --- a/docs/misc/index.md +++ b/docs/misc/index.md @@ -62,7 +62,7 @@ Be root\ **$ su -** Installed powertop:\ -**\# pacman -S powertop** +**# pacman -S powertop** and added the following to /etc/systemd/system/powertop.service : @@ -80,8 +80,8 @@ and added the following to /etc/systemd/system/powertop.service : WantedBy=multi-user.target Finally, as root do that:\ - \# systemctl enable powertop -**\# systemctl start 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. @@ -246,10 +246,10 @@ 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 07b53b03..00454a79 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