Laptops :: Thinkpad Control .dsl extension



Kopsis I am out of town this weekend but will try it on my TP when I return. In the past I have noted that tpctl did not permanantly change bios settings. I have not used it in a day or two(maybe a year) but these settings needed to be added so they would load everytime at boot. Is this still the case?

David

Just reminding everone of the terribly obvious-
After changing TP bios settings, power down and
power up.
I've been going around in circles all day because of this,
after doing a Frugal Grub and running into sound and
serial problems.
I don't know what happened in the first place, but I was
simply rebooting and not getting anywhere.
BTW, very happy with Frugal Grub!

:)

Now if we could get those Gnome apps to work that let you display and set everything...that would be nice...
Just a little update....

If you add the boot options: apm acpi=off
lots of things with tpctl and apmiser become active on my T42.

For one thing, I am able to suspend the notebook using the hotkey function for the first time!!

If you want to get the apmiser battery saving program working, you need to edit the /opt/thinkpad/apmiser script (as root) and replace all instances of "tpctl" with "/opt/thinkpad/tpctl" (there are 8 occurances).  Then add "opt/thinkpad/apmiser" to your .filetool.lst file so the changes are restored at every boot.

Then add "sudo /opt/thinkpad/apmiser &>/dev/null &" to the .xinitrc file and the battery miser program takes over when your xwindows start.  

For some reason I just couldn't get apmiser to work from bootlocal.sh   For one thing, if you start it in daemon mode, the program crashes when it finds it can't write messages to syslog.  I tried starting it about 5 other ways and just couldn't get it to go.  If someone figures out how to load this from there, it would be better than doing it in .xinitrc

Battery savings mode and suspend.... DSL just keeps getting better and better for me...

Oh and incidently, once you load the boot options above, then the wmapm battery display dockapp (currently located in the dsl testing area) started working for me too.

A few more little quirks to smooth out.  Once you get APM working via the boot options, I've found that when on battery the screen automatically blanks after X minutes (e.g., timer mode from my BIOS) and that there is no way to get it to come back up.  (Please let me know if you can figure this out).  

Anyway to circumvent this, I also added "sudo /opt/thinkpad/tpctl --ptB=disable &>/dev/null &" to my .xinitrc and this will prevent the screen from ever blanking from the BIOS.  (Note that you can just shut the lid to do this :)

Also another little tidbit, I found that if I exit window manager, and then go back in via a startx that two copies of apmiser end up running and they compete against each other and your CPU load goes up (exactly the opposite of what apmiser is supposed to do for you).  This of course is the result of load apmiser via .xinitrc instead of bootlocal.sh  I had to end up manually killing one of the copies.  The good news is that I don't exit the window manager much so it shouldn't be a recurring nusance......but if someone can get apmiser running from bootlocal.sh, I'm all ears...

Next Page...
original here.