[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760338: ITP: acpi-call -- Kernel module that enables you to call ACPI methods



Le 03/09/2014 07:30, Evgeni Golov a écrit :
> There is effort (by jak@) to get support for that into the kernel[1],
> would this make acpi-call obsolete again?
> 
> [1] https://github.com/julian-klode/linux/commits/linux-3.14

I guess so. This would be a good thing, since either older or newer
ThinkPad models would have a common way to modify battery thresholds, by
setting values in /sys.

However, according to kernel.org git, these changes have not yet been
merged even in 3.17, and IIRC, 3.15 has already been choosen for Jessie.

In the meantime, ThinkWiki still advises to use tp-smapi for older
models and tpacpi-bat (which needs acpi-call) for newer models.

Furthermore (correct me if I'm wrong), judging by the various forums
throughout the Web, TLP is now considered by a fairly large portion of
the community to be the best tool to optimize power consumption on
laptops, and until jak's code is merged in the official kernel, it still
relies on tpacpi-bat, which needs acpi-call; and while not yet in
Debian, according to Thomas Koch, it's in the way (see #711471).

TLP is available in the official repositories for most Linux distros,
including Arch and Fedora; for Debian and Ubuntu, there's Thomas Kochs's
PPA. Using PPAs in Debian is generally not advised, but either way (PPA
or official Debian package), packaging acpi-call is the very first step,
and as I said in my ITP, much cleaner than letting the tpacpi-bat script
download/build/install the module on its own, unbeknown to dpkg.

I guess your question could be answered like this: if jak's code makes
it to Debian's 3.15 kernel package (by cherry-picking patches),
acpi-call will be obsolete (at least for this particular use) in all
future Debian releases, including Jessie. If not, and if it's included
in later official kernel releases, acpi-call will be needed only for
Jessie, and obsoleted in subsequent Debian releases (again, for this
particular use only).

Regards,

-- 
Raphaël HALIMI


Reply to: