[ltp] Re: [ANN] tp_smapi - a new Linux SMAPI driver
Jiang Qian
linux-thinkpad@linux-thinkpad.org
Mon, 5 Dec 2005 18:39:07 -0500
Hi Shem:
Now it seems that everything works on my thinkpad T43 with 2.6.12 .
Just one point. in /sys/devices/platform/smapi/ directory there's only
inhibit_charge_minutes
but no
inhibit_charge
entry. Did you eliminate the latter interface? If so maybe you can
delete the relevant mention of it in the README.
Thank you again for this very useful piece of software!
Jiang
On Tue, Dec 06, 2005 at 01:27:04AM +0200, Shem Multinymous wrote:
> Hi,
>
> On 12/5/05, Uwe Walter <walter-l@tm.uka.de> wrote:
> > (*) Just before I hit the send button, I noticed an interesting
> > behavior: My TP resets inhibit_charge after about a minute back to zero
> > (charging starts again, if not prevented by a start threshold):
>
> It's not a bug, it's a feature!
>
> Except I didn't know about it... Actually the SMAPI interface doesn't
> inhibit charging permanently, it just does so for some (possibly very
> long) time.
>
> Fixed in tp_smapi 0.06, along with the 2.6.12 compilation problems
> using (a variant of) Guenther's patch.
>
> https://sourceforge.net/project/showfiles.php?group_id=1212&package_id=171579
>
> 0.06 2005-12-06
> ----------------
> - /sys/devices/platform/smapi/inhibit_charge renamed to
> /sys/devices/platform/smapi/inhibit_charge_minutes and now accepts
> the number of minutes to inhibit charging.
> - Compatibility with kernel 2.6.12
>
> Shem
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad