-
Notifications
You must be signed in to change notification settings - Fork 14
add Void Linux installation instructions #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| Void Linux | ||
| ========== | ||
|
|
||
| Package Installation | ||
| -------------------- | ||
|
|
||
| Packages are available in the offical repositories: | ||
|
|
||
| * **tlp** – Power saving | ||
| * **tlp-pd** – optional – Select :ref:`profile <intro-profiles>` with a mouse click *(Version 1.9 and newer)* | ||
| * **tlp-rdw** – optional – :doc:`/settings/rdw` | ||
|
|
||
| Install them with the command: | ||
|
|
||
| *Version 1.9 and newer* :: | ||
|
|
||
| sudo xbps-install tlp tlp-pd tlp-rdw | ||
|
|
||
| If you have installed tpl-rwd, you also need to install NetWorkManager :: | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd prefer to phrase the deduction differently: “If you want to use the functionality of tlp-rdw, you need NetworkManager. You can install it with ...”. "Please read the Void instructions (link below) before installing"_ |
||
|
|
||
| sudo xbps-install NetworkManager | ||
|
|
||
| Enabling the Services | ||
| ------------- | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. void.rst:24: WARNING: Title underline too short. |
||
| To complete the installation you must enable TLP's service(s): :: | ||
|
|
||
| sudo ln -s /etc/sv/tlp /var/service | ||
|
|
||
| *For version 1.9 and newer* with tlp-pd, additionally: :: | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Case distinction unnecessary, see my comment above. |
||
|
|
||
| sudo ln -s /etc/sv/tlp-pd /var/service | ||
|
|
||
| Using the :doc:`/settings/rdw` (tlp-rdw) requires NetworkManager package and its service running. | ||
|
|
||
| Before enabling the NetworkManager service using the command below, | ||
| please read the `Void Linux installation documentation - NetworkManager <https://docs.voidlinux.org/config/network/networkmanager.html>`_. | ||
| There are a few steps required to get NetworkManager working properly. :: | ||
|
|
||
| sudo ln -s /etc/sv/NetworkManager /var/service | ||
|
|
||
| .. seealso:: | ||
| * FAQ: :ref:`faq-ppd-conflict` | ||
|
|
||
| Legacy ThinkPads only: External Kernel Module for Battery Care | ||
| -------------------------------------------------------------- | ||
| .. important:: | ||
|
|
||
| Void Linux (at the time of writing) provides kernel 6.18 (linux) or 6.12 (linux-lts). | ||
| In combination with TLP 1.5 or newer this enables full battery care support | ||
| (i.e. charge thresholds and recalibration) for ThinkPads from the `Sandy Bridge` | ||
| generation (2011) onwards. | ||
|
|
||
| **An external kernel module (also referred to as "out-of-tree" module) | ||
| is not required in this case, and the following steps are not necessary. | ||
| However, if your model is from the `Sandy Bridge` generation (2011) or older, | ||
| read on.** | ||
|
|
||
| Only if the bottom of the output of :command:`tlp-stat -b`, section 'Recommendations', | ||
| shows the line | ||
|
|
||
| .. code-block:: none | ||
|
|
||
| Install tp-smapi kernel modules for ThinkPad battery thresholds and recalibration | ||
|
|
||
| then install the approriate package with the command :: | ||
|
|
||
| sudo xbps-install tp_smapi-dkmsk | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the package name "tp_smapi-dkmsk" really correct or a typo? |
||
|
|
||
| .. note:: | ||
|
|
||
| * You must disable Secure Boot to use the ThinkPad specific packages | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is about tp_smapi-dkms, right? |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand the official documentation correctly, Void has a rolling release scheme. This means that there are no longer any TLP packages < 1.9, and the whole case distinction for 1.9 can be dropped, which would make the instructions more straightforward.