View previous topic :: View next topic |
Author |
Message |
stonefox n00b
Joined: 24 Jun 2003 Posts: 3
|
Posted: Wed Jun 25, 2003 1:14 pm Post subject: Recommend laptop packages for Sony Vaio |
|
|
Ok, I have Gentoo 1.4 installed with XFree86 4.3 and Gnome 2.2. I am in the process now of emerging Mozilla 1.4b. What I am looking for is recommendations on packages to install that would be beneficial to my notebook, such as battery monitors APM/ACPI utils... etc. I want to get some of my battery life back with Linux. Maybe a screen dimming feature that would dim the screen when I unplug the AC adapter. Stuff like that.
thanks. |
|
Back to top |
|
|
drakos7 Apprentice
Joined: 21 Feb 2003 Posts: 294 Location: Rockville, MD, USA, Earth, Sol
|
Posted: Wed Jun 25, 2003 3:26 pm Post subject: |
|
|
Definitely make sure you have ACPI in your kernel. That is a must.
Also, emerge sjog. It is quite handy.
If you want to go for a 2.5.x kernel, I wrote my own dimming/slowing cpu script for when you unplug the laptop or the temperature gets too high. Message me if you want a copy.
edit Script location posted below...
Last edited by drakos7 on Thu Jun 26, 2003 12:46 pm; edited 1 time in total |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Thu Jun 26, 2003 8:49 am Post subject: |
|
|
Ah! I would be very interested in that script o'yours. I've been planning to switch to a 2.5 kernel on my Vaio for quite a while, but I keep running into lots of trouble every time I try, like modules from recompiled standalone packages like pcmcia-cs don't work etc. Would you be able to share a few tips about typical necessities with a development kernel on a notebook? My battery life is simply appalling, I'd love to get backlight dimming, CPU slowdown, suspend-to-RAM and suspend-to-disk to work... |
|
Back to top |
|
|
drakos7 Apprentice
Joined: 21 Feb 2003 Posts: 294 Location: Rockville, MD, USA, Earth, Sol
|
Posted: Thu Jun 26, 2003 12:38 pm Post subject: |
|
|
I put the cpu throttling / screen dimming script up at http://www.drakos7.net/cpu.perl I have a vaio grx-550.
Hope it works on your machine. You must be root to run it. There is plenty that can be done to improve it of course. This works for kernel mm-sources-2.5.72-mm1. You will need to enable CPU Frequency Scaling (under Power Management)
Code: | [*] CPU Frequency scaling
< > /proc/cpufreq interface (deprecated)
<*> 'userspace' governor for userspace frequency scaling
[ ] /proc/sys/cpu/ interface (2.4. / OLD)
<*> CPU frequency table helpers
--- CPUFreq processor drivers
< > ACPI Processor P-States driver
<*> Intel Speedstep
< > Intel Enhanced SpeedStep |
I probably should switch this to use the ACPI P-states driver. If you find this useful, let me know. And if you make any changes please send them to me so that I can improve the script!
There are not a lot of differences as far as I have found for a development kernel on a laptop as opposed to a desktop (other than power management). There are 2.5.x kernel issues though. Like including devtps as mentioned https://forums.gentoo.org/viewtopic.php?t=60912&highlight=devpts.
I have not played with suspend-to-disk yet (aka swsusp). There is no working suspend-to-RAM in linux yet, AFAIR. |
|
Back to top |
|
|
drakos7 Apprentice
Joined: 21 Feb 2003 Posts: 294 Location: Rockville, MD, USA, Earth, Sol
|
Posted: Thu Jul 17, 2003 8:19 pm Post subject: |
|
|
I have this working for my 2.6.0-mm1 kernel now as well.
I needed to edit the path to the governor though, but that was simple.
The new version is at the link above. |
|
Back to top |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Fri Jul 18, 2003 12:22 am Post subject: cpudyn |
|
|
cpudyn http://mnm.uib.es/~gallir/cpudyn/ works well as it changes to lower clockspeed when your system is not in use, then amps it up when needed... it can also put your HD into standby through hdparm.. _________________ Hey--hey how are ya? |
|
Back to top |
|
|
|