VectorLinux
April 16, 2014, 05:40:41 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Power Management - how to set system to power down and hibernate etc?  (Read 3428 times)
mrowbo1
Member
*
Posts: 3


« on: February 10, 2011, 04:30:58 am »

Hi,

I have download vectorlinux 6.0 light.

How do i manage power ie set computer to hibernate or sleep after an idle period?

I have tried download things such as gnome-power-manager and xcfe4 power manager but when i try to run them they don't seem to do anything.

Please help before my old computer burns out!  Smiley

Thanks

Mark
Logged
pierce.jason
Packager
Vectorite
****
Posts: 250



« Reply #1 on: February 10, 2011, 03:54:42 pm »

Deleted.
« Last Edit: February 20, 2011, 03:40:14 pm by pierce.jason » Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
rm-r
DoucheBag
Vectorite
***
Posts: 115


« Reply #2 on: February 18, 2011, 07:26:58 pm »

IF  the query still stands - (moved or not )

 It would help to qualify whether platform is a laptop or whatever first

There are several ways to attempt this:
Most computer BIOS options  have that ability (relevant to above)

determine which power Mgt is used - Apm vs ACPI - one or the other, not both
Examine bootup log (dmesg)  content to see what has been set by O/system

Examples:

http://www.google.ca/search?hl=en&q=linux+acpi+vs+apm&aq=f&aqi=g-v1&aql=&oq=

If unclear,  post back what has been tried, errors noted -  relevant log files etc etc
Logged

"Problems are seldom resolved by thinking in the same manner they were created"

"What is viewed is not important - That which is seen is"
mrowbo1
Member
*
Posts: 3


« Reply #3 on: February 20, 2011, 04:02:45 am »

The system is a desktop viglen 1.4 Ghz 1 GB RAM. approx 2004/2005 computer INCEPTA II

I guess it will be APM if that is the earliest power management. But I haven't checked as not sure where to look.

Previously on the computer I had ubuntu 10.04 lucid lynx. The problem with this was that it used twice the memory and was slow. I think spotify may have jumped playing tracks. I'm used to using linux and have tried out many distros.

With ubuntu all I had to do was go to system>preferences>power management and set power down after 2 hours and spin down hard drive when possible. If vector linux lacks this feature then it needs to incorporate it into future releases. It may be in deluxe but needs to be in light too.

I wouldn't expect to have to enter the bios or work out whether it is acpi or apm and look at logs etc to peform what is a simple task in other distros. I have been into the BIOS now and changed the power management settings but they don't seem to do anything even when set to a short time-scale. Perhaps programs running are preventing it?

I'm a fan of linux rather than windows but performing simple tasks can sometimes take too much research and trial and error. Well that's my moan over.

Thanks
Logged
bigpaws
Vectorian
****
Posts: 1831


« Reply #4 on: February 20, 2011, 06:00:03 am »

First there is a large difference between Ubuntu full install and light, comparing the
two side by side is going to lead to disappointment. Any distro for limited hardware
is not usually going to have everything set to automatic.

You mention your machine burning up. Why do you think that. None of my Desktops
or laptops are powered down, hibernated or suspended.

Take a look at pm-hibernate to see if that will fit your needs.

man pm-hibernate for documentation.

Bigpaws
Logged
rm-r
DoucheBag
Vectorite
***
Posts: 115


« Reply #5 on: February 20, 2011, 01:29:50 pm »

Mr - owbi

Hmm - we understand yor frustratations - BUT  (LOL -always a but) Fess up:

The suggestion to refer to URL resources, was to *avoid*  the work/ confusion of finding -
what default utilities were  included in any linux variant

If you consulted dmesg & "grepped" to ascertain which was in use -
It would state how the "O/system *in use*  had  treated your   BIOS settings:

 Had you  referred to the supplied URL -  it included

 ps ax|egrep "apmd|acpi"

Another way to view things _
While GUI "conveniences"  are nice, they do not relieve user of understandings of inner-workings
(Often the CLI is faster/more powerful)
 
"I'm a fan of linux rather than windows but performing simple tasks "
You don't really mean that right -  what did you do when the infamous registry (or Apps)
did not work as expected -

In linux the user has full control -sans running applications that have unlimited  Sys/admin permissions
Logged

"Problems are seldom resolved by thinking in the same manner they were created"

"What is viewed is not important - That which is seen is"
sledgehammer
Vectorian
****
Posts: 1397



« Reply #6 on: February 20, 2011, 05:22:41 pm »

Don't know if this works on desktops or not.  Got it from Rodrigo.  It works (in root) on my T42 laptop running VL6 standard:

hibernate -F /etc/hibernate/ram.conf
Logged

VL7.0 xfce4 Samsung RF511
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #7 on: February 20, 2011, 05:40:29 pm »

Do you have Tux on Ice installed and active? I have never done power management and don't know a thing about it, but I think I remember some talk about Tux on Ice being involved. Somebody else would have to tell you how to use it if in fact it has anything to do with power management.

You can set up options for having your monitor go into standby or power off through XFce's Screensaver, Advanced tab.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
rm-r
DoucheBag
Vectorite
***
Posts: 115


« Reply #8 on: February 20, 2011, 07:51:30 pm »

owb-one:

Your call - do you "really" want to power the drive/s down ?

I defer to (man hdparm) , see option (-S) & cautionary  notes
Please be aware, all "utilities" are only a "convenience" and merely a front-end to commands/parameters

That applies to scripted,  variant system-specific goodies, as well as  GUI - magic

Suspending to ram/disc etc, is used primarily for laptops, away from  battery chargers
A drive uses little power - further, it is *less* stress on hardware to run constantly:
 ~ Avoiding  spin-up &/or temp fluctuations

OTOH _ if you had cpu overheat concerns, there are other Linux tools (cpufreq.d  -use w/extreme caution) to alleviate that
Whatever the case, best wishes towards accomplishing your aims

EDIT:  Granny, I  forgot to mention Tux-on-ice is an *alternative*  to pm-utils

It is of further note - pm-utils depends on HAL -which is rapidly becoming deprecated
The newest inception of udev  supercedes all   (AFAIK , udev  is also subject to rapid development changes,
 primarily in fact it is but a part of the  hot-plug sub-system)



« Last Edit: February 21, 2011, 02:47:14 pm by rm-r » Logged

"Problems are seldom resolved by thinking in the same manner they were created"

"What is viewed is not important - That which is seen is"
mrowbo1
Member
*
Posts: 3


« Reply #9 on: February 27, 2011, 01:23:25 pm »

Thanks for your reply.

Tux on ice could well be what I am looking for!  I have bookmarked it and will check out later and get back to you.

(My frustrations are as a new user rather than an experienced user. I see lots of benefits of linux over windows but think it would be nice if was more popular - it deserves to be. Perhaps linux like os such as google chrome os will make this possible. Needs some serious marketing to become popular on desktops. I have to say I much prefer a well programmed GUI to command line - although I do like it I see it as unnecessary a lot of the time and more prone to typos etc)

Overall I'm pleased with vectorlinux and will continue to use it on my desktop and eagerly await the latest release.



Logged
sledgehammer
Vectorian
****
Posts: 1397



« Reply #10 on: February 27, 2011, 03:07:32 pm »

The main complaint I hear about linux is not that its not popular enough, but that folks with average or below average IQs eventually give up on it.   Glad to hear that you are not in that group. I admit though that the linux learning curve, steep in some instances for even the smartest among us, sometimes poses a bit of a problem.

Logged

VL7.0 xfce4 Samsung RF511
rm-r
DoucheBag
Vectorite
***
Posts: 115


« Reply #11 on: February 27, 2011, 03:51:17 pm »

Quote
You have come along way pilgrim, have done well to save your scalp when do many are after it_
Was it all worth  the trouble

Quote
  Wink Huh... what trouble
 

Quote
The path_less_trod  may be steep,  fraught w/perils >  the view is tremendous

Logged

"Problems are seldom resolved by thinking in the same manner they were created"

"What is viewed is not important - That which is seen is"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!