- "Make me a coffee..."
- "No"
- "sudo make me a coffee"
- "OK"
"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
-- Sam Levenson
Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7
@I_can_see_the_light Ok, so I tried the mods you recommended the other day from the crunchbanglinux.org forum.
Initial results from looking at Powertop are favourable with the battery drain having gone from an average of 18w down to 12.5 or so. I need to charge the battery and see what happens with a full charge but that's bound to make some difference. Thanks for the tip.
I still need to get to grips with Powertop. Still not sure how to use it for maximum power savings. If I could find out how to turn down the screen brightness as well, that would help a lot.
That's good news
Have a look at that powersave script again. There's two lines for changing the brightness.
For battery:
and AC:Code:# Set backlight brightness to 50% echo 5 > /sys/devices/virtual/backlight/acpi_video0/brightness
The path to the brightness setting can be different on your machine, mine is /sys/devices/virtual/backlight/fujitsu-laptop/brightness.Code:echo 10 > /sys/devices/virtual/backlight/acpi_video0/brightness
To find out your brightness level you need to browse to the folder /sys/devices/virtual/backlight/xxx/ and look for a file called max_brightness and then adjust the values in the powersave script accordingly. But remember, you can't set any .5 values.
"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
-- Sam Levenson
Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7
I had another look at the powersave script. The brightness is already set to 50. I changed it to 10 to see what would happen but there was no effect.
There's no max_brightness file where you suggested but I did a search for any other with that name. I found 5 with various values but I wasn't able to save any changes in them. I tried sudo nautilus but was still getting the 'You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.' message.
The AC line was the same as you posted.
Otherwise the machine seems to be doing a lot better. After powering on and leaving the machine to settle for a few minutes with the screen closed, on opening it I saw projected battery life of over 6 hours. This soon drops when the backlight starts up at 100% but was still over 4 for a time. Previously it was showing me just over 2 hours after a full charge so that's a good improvement with the Crunchbang mod but the screen brightness is still eating the battery rather quickly. Still runs hot but from what I've read that seems to be a feature of 11.10. How thoughtful of the developers to give us laptop users a way of keeping warm through the winter months
Despite persisting issues you've been a big help. Thank you!!
Yeah I've read a lot about that too.
Could you unplug the power cord for 10 seconds and then plug it back in, then run the following command in a terminal:and post the output here.Code:cat /var/log/pm-powersave.log | grep -i aspm
You're welcome.
"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
-- Sam Levenson
Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7
Ok, what does this tell us?
david@david-Laptop:~$ cat /var/log/pm-powersave.log | grep -i aspm
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm true:
/usr/lib/pm-utils/power.d/pcie_aspm true: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm false: success.
This part tells me that the script successfully enabled and disabled the power saving for the pcie_aspm module.
That should reduce the heat a lot but just to double check this, unplug the cord again and post the output of this command:Code:cat /sys/module/pcie_aspm/parameters/policy
The brightness setting not working was strange. According to a post in the thread on crunchbang forums this command will find the file that should be modified by the script:And this command should tell you where the max_brigtness file resides:Code:find /sys -iname brightnessCode:find /sys -iname max_brightness
"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
-- Sam Levenson
Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7
Ok...
cat /sys/module/pcie_aspm/parameters/policy gives us
default performance [powersave]
I wasn't sure if you meant to leave the power unplugged or not so that is with the power unplugged and below is the output after unplugging and reconnecting again after 10 seconds...
[default] performance powersave
Output from the other two codes below...
david@david-Laptop:~$ find /sys -iname brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::radio/brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::assoc/brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::quality/brightness
find: `/sys/kernel/debug': Permission denied
david@david-Laptop:~$ find /sys -iname max_brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::radio/max_brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::assoc/max_brightness
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/rt2800pci-phy0::quality/max_brightness
find: `/sys/kernel/debug': Permission denied
These are the files I was talking about in post 35. If I understand correctly Nautilus over rides the protection given to certain system files allowing us to change them but even accessing these files through Nautilus I still get the perrmision denied message when trying to save changes.
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness contains only the number 4882 as do the files
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/actual_brightness
and
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
Perhaps if these could be changed it would make some difference but as I say, permission seems to be denied.
"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself."
-- Sam Levenson
Fujitsu Siemens Lifebook E8020D | Triple booting CrunchBang, Ubuntu and Windows 7
Bookmarks