<div dir="ltr">I think it would be interesting to have such functionality in userspace.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 12, 2016 at 8:04 AM Michal Widlok <<a href="mailto:michalwd1979@gmail.com">michalwd1979@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Members,<br class="gmail_msg">
<br class="gmail_msg">
I looking for a way to set battery charge thresholds on T400 with<br class="gmail_msg">
coreboot. I know that tp_smapi are not supported, but I found an<br class="gmail_msg">
interesting thread (it's for X220, but I hope that my would be<br class="gmail_msg">
similar):<br class="gmail_msg">
<a href="https://www.flashrom.org/pipermail/coreboot/2016-May/081460.html" rel="noreferrer" class="gmail_msg" target="_blank">https://www.flashrom.org/pipermail/coreboot/2016-May/081460.html</a><br class="gmail_msg">
<br class="gmail_msg">
The post says:<br class="gmail_msg">
"tp smapi depends on lot of SMM/SMI code. So tp-smapi kernel module<br class="gmail_msg">
asked the Lenovo BIOS to tell the EC to do something. coreboot don't<br class="gmail_msg">
want to support SMM/SMI APIs, because they are quite dangerous.<br class="gmail_msg">
But there is another way to get those features back.<br class="gmail_msg">
We know how to enable it, but we haven't yet create a way to control<br class="gmail_msg">
this by the user.<br class="gmail_msg">
<br class="gmail_msg">
One thing could be a userspace tool executed as root or we add another<br class="gmail_msg">
CMOS configuration for it. Any idea?"<br class="gmail_msg">
<br class="gmail_msg">
Is that mean that EC in lenovo laptops is "known" enough to control<br class="gmail_msg">
it, but coreboot is not ready to implement this functionality? An if<br class="gmail_msg">
it is known the is there any literature/posts available that says how<br class="gmail_msg">
to control it with ectool or something?<br class="gmail_msg">
<br class="gmail_msg">
If there are any test needed to be done to help about this subject,<br class="gmail_msg">
then I can do them on my laptop. Hardware flashing is possible also.<br class="gmail_msg">
Very best regards,<br class="gmail_msg">
Michael Widlok<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" class="gmail_msg" target="_blank">coreboot@coreboot.org</a><br class="gmail_msg">
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" class="gmail_msg" target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a><br class="gmail_msg">
</blockquote></div>