Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I used zen kernel patchset for a long time which included tp_smapi patch. Recently in zen-stable tp_smapi was removed as "We no longer need tp_smapi as of 2.6.36 - the in-kernel thinkpad acpi support is better.". How to port following code to in-kernel thinkpad acpi:

echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 40 > /sys/devices/platform/smapi/BAT1/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT1/stop_charge_thresh
share|improve this question

1 Answer 1

up vote 3 down vote accepted

It might not be possible. At least there is nothing in the documentation of thinkpad-acpi, nothing in the release notes, nothing in the thinkpad-acpi thinkwiki page and no mentioning of tp_smapi being obsolete in the tp_smapi thinkwiki page.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.