Guys sysfsutils in Karmic doesn't work as well as before, probably the kernel's fault. More than once it hasn't started on login and the battery got charged up to its maximum.
What could be the reason ?
Guys sysfsutils in Karmic doesn't work as well as before, probably the kernel's fault. More than once it hasn't started on login and the battery got charged up to its maximum.
What could be the reason ?
Is there any way we could make a .deb file for 32 and 64 bit for tp_smapi ? I'd be interested and I'll help as far as I can(including hosting the file). You can PM me if you need anything.
UPDATE: I've written a script that really eases the process of setting battery thresholds. I'm writing a GUI for it, and will create a new thread when it reaches usability. Let me know if you need the script.
Last edited by hellmet; November 9th, 2009 at 10:36 PM.
India is a pluralist society that creates magic with democracy, rule of law and individual freedom, community relations and diversity. I wouldn't mind being born ten times to rediscover India. - Robert Blackwill, U.S Ambassador until 2003.
Yes that would be good, actually in karmic sysfs is giving me a lot of problems
Umm.. Actually.. my script does use sysfs to save settings on reboot. Its been working pretty well on my R500.
What problems are you facing with sysfs? It would be helpful to know.
UPDATE2
A new thread has been created for the script and it is available here for download and testing: http://ubuntuforums.org/showthread.php?t=1325674
UPDATE
Putting GUI on hold for the moment. Trying to complete script functionality first.
Script Features that work :
View and set/remove thresholds for integrated battery.
Auto add settings to sysfs to save thresholds on reboot.
Automating installation of tp_smapi and sysfsutils
Writing to /etc/modules to add tp_smapi
Working on:
Adding support for second (UltraBay) battery. Should be easy. But, I'm new with python and I don't have an UltraBay battery.
Displaying battery details. The Ubuntu power manager already displays all info except for cycle count.
Will attach script once above features work well. A screenshot has been attached for those interested.
Last edited by hellmet; November 14th, 2009 at 05:29 PM.
India is a pluralist society that creates magic with democracy, rule of law and individual freedom, community relations and diversity. I wouldn't mind being born ten times to rediscover India. - Robert Blackwill, U.S Ambassador until 2003.
This is a quicker way of installation:
Code:sudo aptitude install tp-smapi-source sudo m-a a-i tp-smapi sudo modprobe tp_smapi
or
Code:sudo m-a a-i tp-smapi-source sudo modprobe tp_smapi
India is a pluralist society that creates magic with democracy, rule of law and individual freedom, community relations and diversity. I wouldn't mind being born ten times to rediscover India. - Robert Blackwill, U.S Ambassador until 2003.
how do I delete my message?!
Last edited by n.l.o; May 26th, 2010 at 09:34 AM. Reason: deleting it
All your base are belong to us.
Hi mbsullivan,
Thanks for your great guide over a good period of time.
As mentioned in this page on ThinkWiki, getting tp_smapi running under Ubuntu 10.04 is now particularly easy:
Of course you still need to add tp_smapi to:$ sudo aptitude install tp-smapi-dkms
$ sudo modprobe tp_smapi
And make the necessary config changes to keep battery threshold settings permanent, but installing it has become quite pleasantly easy./etc/modules
That's true. This tutorial is pretty much no longer needed, or at the very least deprecated. I will update it soon so that it doesn't mislead any newcomers.Hi mbsullivan,
Thanks for your great guide over a good period of time.
As mentioned in this page on ThinkWiki, getting tp_smapi running under Ubuntu 10.04 is now particularly easy:
Quote:
$ sudo aptitude install tp-smapi-dkms
$ sudo modprobe tp_smapi
Of course you still need to add tp_smapi to:
Quote:
/etc/modules
And make the necessary config changes to keep battery threshold settings permanent, but installing it has become quite pleasantly easy.
Thanks,
Mike
Bookmarks