FS#74807 - [tlp] remove acpi_call from optdepends?
Attached to Project:
Community Packages
Opened by mearon (mearon) - Friday, 20 May 2022, 14:30 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 01 March 2023, 15:57 GMT
Opened by mearon (mearon) - Friday, 20 May 2022, 14:30 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 01 March 2023, 15:57 GMT
|
Details
From the official docs:
https://linrunner.de/tlp/installation/arch.html
> Arch Linux includes Linux kernel 5.17 (at the time of writing). In combination with TLP 1.5 it offers full battery care support (i.e. charge thresholds and recalibration) for ThinkPads from model year 2011 onwards. Therefore no external kernel modules are required with kernel 5.17 or newer and you do not need to proceed any further here. I think acpi_call can be removed from optdepends then? I also edited the wiki page to reflect this change: https://wiki.archlinux.org/title/Tlp#ThinkPads_only It would be probably also helpful to change the description of the optional dependency tp_smapi from "ThinkPad battery functions" to "Battery functions for Thinkpads before SandyBridge" or similar. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Wednesday, 01 March 2023, 15:57 GMT
Reason for closing: Implemented
Additional comments about closing: LTS is high enough, optdep removed in 1.5.0-6
Wednesday, 01 March 2023, 15:57 GMT
Reason for closing: Implemented
Additional comments about closing: LTS is high enough, optdep removed in 1.5.0-6
> ## SandyBridge and newer (2011 onwards)
>
> As of linux 5.17 and TLP 1.5, no external kernel modules are required for advanced battery functions for ThinkPads from model year 2011 onwards (e.g. T420/X220 and newer), therefore installing acpi_call is not necessary anymore.
>
> If using linux-lts, install acpi_call-lts. If not running kernels from official repositories, install acpi_call-dkms.
>
> ## Before SandyBridge (until 2010)
>
> For ThinkPads before model year 2011, install tp_smapi or tp_smapi-lts, depending on which kernel version you are using.
'acpi_call: ThinkPad battery functions, Sandy Bridge and newer (for kernels < 5.17)'
with a view to removing it in future when lts kernels are upgraded to >= 5.17