Hi everyone,
I am currently running crunchbang 10 statler, and I am trying to get the battery charging thresholds to work. I have the package tp-smapi-dkms installed and sysfs utils installed. my question is: do I need to modprobe tp_smapi everytime I boot my machine?
In my sysfs.conf, I have copied what is on the thinkwiki page, but those directories don't show up unless I modprobe tp_smapi. unfortunately it doesn't remember after reboot.
here's what is in sysfs.conf
# cat >> /etc/sysfs.conf << EOF (what does this mean? should i uncomment this?)
# For a LiIon battery in a Thinkpad
devices/platform/smapi/BAT0/start_charge_thresh = 50
devices/platform/smapi/BAT0/stop_charge_thresh = 80
EOF
Crunchbang has an autostart script (similar to rc local and sysfsutils) but having to input my sudo password everytime to modprobe tp_smapi is tedious. please let me know what you think!
tp_smapi and battery charging thresholds question
-
slangeditorial
- Freshman Member
- Posts: 61
- Joined: Tue Mar 15, 2011 5:49 pm
- Location: Santa Monica, CA/Miami, FL
tp_smapi and battery charging thresholds question
my gems.... all thanks to the advice of my temporarily displaced CALI homeboy, 91011
Me: X201s
Mom: T60p
Dad: X31
Me: X201s
Mom: T60p
Dad: X31
Odp: tp_smapi and battery charging thresholds question
Can't you put it in rc.conf in modules part? I did it on arch, worked fine.
T60/T61 2637-AB6/8895-W4M, UXGA, T9300, 8GB RAM, Vertex3, Intel WiFi Link 5100
R61 7649-W1Z, T7250, Intel 4965
R61 7649-W1Z, T7250, Intel 4965
Re: tp_smapi and battery charging thresholds question
Will tp_smapi work on W520s and T530s?
Re: Odp: tp_smapi and battery charging thresholds question
No, because he's not using Arch.thorcik wrote:Can't you put it in rc.conf in modules part? I did it on arch, worked fine.
To the OP:
You want to add tp_smapi to your modules list (/etc/modules on Debian derivatives)
You also will want to pay closer attention to what you're supposed to put into config files, since I'm pretty sure that the commands weren't supposed to go into /etc/sysfs.conf themselves.
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.
Code: Select all
Current laptop: X1 Carbon 3
Current workstation: none-
- Similar Topics
- Replies
- Views
- Last post
-
-
ThinkPad battery charging thresholds returns to Lenovo Settings
by Puppy » Sun Feb 19, 2017 6:39 am » in Thinkpad - General HARDWARE/SOFTWARE questions - 1 Replies
- 1105 Views
-
Last post by dr_st
Sun Feb 19, 2017 7:42 am
-
-
-
Ultrabay battery prevents main battery from charging?
by ThorOfAsgard » Mon May 22, 2017 11:25 am » in ThinkPad T430/T530 and later Series - 8 Replies
- 249 Views
-
Last post by Thinkpad4by3
Mon May 22, 2017 8:50 pm
-
-
-
W520 not charging battery
by criza » Tue Feb 21, 2017 11:53 am » in ThinkPad W500/510/520 and W7x0 Series - 1 Replies
- 1263 Views
-
Last post by davide136
Tue May 09, 2017 2:59 am
-
-
-
Thinkpad Tablet 10: charging battery
by CPC464 » Sat May 27, 2017 4:12 am » in ThinkPad/Ideapad Tablets & Convertibles - 2 Replies
- 107 Views
-
Last post by CPC464
Sat May 27, 2017 9:50 am
-
Who is online
Users browsing this forum: No registered users and 1 guest




