Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion installation/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Installation
************
TLP packages are available for Arch, Debian, Fedora, Gentoo, openSUSE, Ubuntu
TLP packages are available for Arch, Debian, Fedora, Gentoo, openSUSE, Ubuntu, Void
and more - see Repology for a
`comprehensive list <https://repology.org/project/tlp/versions>`_.

Expand All @@ -16,6 +16,7 @@ to the corresponding section:
gentoo
opensuse
ubuntu
void
others

After completing the installation continue with :doc:`/usage/index`.
71 changes: 71 additions & 0 deletions installation/void.rst
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* ::
Copy link
Owner

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.


sudo xbps-install tlp tlp-pd tlp-rdw

If you have installed tpl-rwd, you also need to install NetWorkManager ::
Copy link
Owner

Choose a reason for hiding this comment

The 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
-------------
Copy link
Owner

Choose a reason for hiding this comment

The 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: ::
Copy link
Owner

Choose a reason for hiding this comment

The 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
Copy link
Owner

Choose a reason for hiding this comment

The 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is about tp_smapi-dkms, right?