LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-18-2005, 08:30 PM   #1
dollydoll
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
newbie looking for help with suse 9.2 power management


Hi there:

I've already posted this somewhere else, but I guess here it fits better:

Linux Suse 9.2 doesn't shut down/reboot from KDE/shell!!

*I tried already:

1-changing configuration of power management from the Yast2Module.
Please note that there's no ACPI disabling option.

2-disabling ACPI in the BIOS. It worked only once, then suse didn't want to shut down again.

3-from command line typing: init 0 and demsg and seeing what was going on...that was the sol'n from musicace_man

4-typing halt or reboot, or shutdown -r now, etc...
none of the above worked!! I 'm quite discouraged!

5-I read in the Suse Admin guide, that the ACPI can be disabled in the kernel, by typing a command like acpi = off, or something like that. My problem now is that I don't know anything about the kernel, its configuration, compilation whatsoever...

ANY hints, pleeease?
 
Old 01-18-2005, 10:58 PM   #2
Titan2k
Member
 
Registered: Mar 2004
Distribution: SuSE 9.2 Pro
Posts: 50

Rep: Reputation: 15
Note: I am not a pro at this so this is mearly a point in a direction which I think will help.

You can probably use it as an option in your bootloader. I know on Grub when it's waiting for an OS selection there is a command line under all the selections. If you use LILO it might be different and if you change your LILO options you have to do something special before you restart (I forget what you have to run).

It's kind of vague but I hope it helps in your search.
 
Old 01-19-2005, 08:26 AM   #3
dollydoll
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Titan2k
Note: I am not a pro at this so this is mearly a point in a direction which I think will help.

You can probably use it as an option in your bootloader. I know on Grub when it's waiting for an OS selection there is a command line under all the selections. If you use LILO it might be different and if you change your LILO options you have to do something special before you restart (I forget what you have to run).

It's kind of vague but I hope it helps in your search.
Noted: I'm booting with grub, not lilo...are you saying there's a command line option within the booting options window?
If I manage to access it, what do I do once there?
thank you!
 
Old 01-19-2005, 05:46 PM   #4
Titan2k
Member
 
Registered: Mar 2004
Distribution: SuSE 9.2 Pro
Posts: 50

Rep: Reputation: 15
Try this link: Grub . It's a section from the SuSE administrator's guide about Grub and its modification.
 
Old 01-20-2005, 06:01 PM   #5
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
what exactly do you mean ?

if you type halt/shutdown/reboot as an ordinary user nothing will happen of course.

or does your computer refuse to shut-off after system halt has been established ?
 
Old 01-20-2005, 09:23 PM   #6
dollydoll
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by rtspitz
what exactly do you mean ?

if you type halt/shutdown/reboot as an ordinary user nothing will happen of course.

or does your computer refuse to shut-off after system halt has been established ?
it refuses to shut-off!
(I did, as a user, of course, cos I'm a newbie in this, but I did also as a root, and actually, it didn't want to shut-off..)
thanks for replying!!
 
Old 01-21-2005, 04:09 AM   #7
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
ok. that problem sounds familiar to me.

maybe the stuff I had to do will work for you as well.
here's what has helped my computer to shut-off and recognize the power-button:

first test this:

DISABLE "powermanagement is controlled by APM" in your bios - or the most equivalent option.

then at boot time when GRUB waits several seconds for you to choose which kernel to run or TO ENTER BOOT PARAMETERS, press the TAB-key and enter
Code:
acpi=force
then press enter to make your machine boot.

after the boot process has been finished log in and do this
Code:
dir /proc/acpi/
if your kernel has accepted to use acpi you should see something like
Code:
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 ac_adapter
-rw-r--r--  1 root root 0 2005-01-21 10:53 alarm
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 battery
dr-xr-xr-x  4 root root 0 2005-01-21 10:53 button
-rw-r--r--  1 root root 0 2005-01-21 10:53 debug_layer
-rw-r--r--  1 root root 0 2005-01-21 10:53 debug_level
-r--------  1 root root 0 2005-01-21 10:53 dsdt
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 embedded_controller
-r--------  1 root root 0 2005-01-20 11:20 event
-r--------  1 root root 0 2005-01-21 10:53 fadt
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 fan
-r--r--r--  1 root root 0 2005-01-21 10:53 info
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 power_resource
dr-xr-xr-x  3 root root 0 2005-01-21 10:53 processor
-rw-r--r--  1 root root 0 2005-01-21 10:53 sleep
dr-xr-xr-x  2 root root 0 2005-01-21 10:53 thermal_zone
-rw-r--r--  1 root root 0 2005-01-21 10:53 wakeup
if the directory is EMPTY or non existant it won't work.

in case this little surgery was successfull do this

Code:
 /etc/init.d/acpid stop
and

Code:
 /etc/init.d/powersaved restart


if you are lucky your computer will now shut-off and even respond to the power button as it should.
with KDE you can use the KPOWERSAVE applet or YAST to configure your computer's powersave behaviour.

to make this permanent just do this:

Code:
joe /boot/grub/menu.lst
you'll see something like this:

Code:
    I    /boot/grub/menu.lst                                   Row 1    Col 1   11:03  Ctrl-K H for help
# Modified by YaST2. Last modification on Mon Jan  3 22:46:45 2005


color white/blue black/light-gray
default 0
gfxmenu (hd0,0)/boot/message
timeout 4

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
    kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 vga=0x317 selinux=0 splash=silent resume=/dev/
    initrd (hd0,0)/boot/initrd

title floppy
    root (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
    kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 showopts ide=nodma apm=off acpi=off vga=normal noresume s
    initrd (hd0,0)/boot/initrd

use joe to modify the first entry to this (just add acpi=force):

Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
    kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 vga=0x317 acpi=force  selinux=0 splash=silent resume=/dev/
    initrd (hd0,0)/boot/initrd
then press CTRL-K-S to save the file.



hope it works for you as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management demo_worx Fedora 4 06-24-2005 04:24 PM
Newbie - Power Management Questions kalvadar Linux - Laptop and Netbook 1 02-08-2005 04:41 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Gnome display power management broken in suse 9. 1 nbcthreat Linux - Software 2 07-11-2004 09:30 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration