LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-17-2006, 12:45 PM   #1
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Rep: Reputation: 15
acpi_power_off called


After reading and trying allmost every single thread in the forum that contains the line "acpi_power_off" and also searching a lot on google that could fix it, i'm still stuck with it.

My setup
I have a pointer systems laptop (very recent) which works pretty well in linux so far.
Its a intel pentium mobile 2.0 Ghz cpu (centrino) with a ati x700 radeon mobility and all the other fancy stuff (wuxga tft, 2 gb ram and so on).
For the specs :
http://www.pointersystems.be/prodspecs.php?item=82

I'm using debian etch on it. With a kernel 2.6.16 that i build from source (for all my hardware to work)

Now the problem is when i issue a shutdown -h now command, the laptop hangs just before shutting down : onscreen saying "acpi_power_off called".
Waiting for about 30 minutes didn't switch it off, so it isn't turning off.

When i use the acpi=off in grub it also doesn't switch off but its just saying "power down" if i can recall good enough.

I think it might be some kernel option keeping it from powering off.
Disabling acpi is no option since i use cpufreqd for battery lifetime.

Even with acpi off it doesn't switch off anyway.

Any feedback that isn't written in the forum yet would be appreciated. so far now, i keep experimenting with some kernel options , and recompiling (lucky it only takes about 5 minutes on ths baby.. :P)

If you need to know more for analizing my problem, just let me know.
 
Old 06-17-2006, 02:24 PM   #2
hgb
Member
 
Registered: Jun 2004
Distribution: Mandrake 10, SUSE 10.x, DEbian
Posts: 125

Rep: Reputation: 15
I m translatting some configuration from SDL to Debian XD... because the resolution work there... and the mouse is OK... and the kb is near to be OK....


Anyway.. when do cat to /etc/modules I see the following... and I remember read about it somewhere I guess???


Quote:
apm power_off=1

Perhaps that work... ¿?¿?¿?
 
Old 06-17-2006, 03:13 PM   #3
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry, i did try this allready.
It doesn't help, it just says power down, the screen banks, but the laptop isn't switched off.
 
Old 06-27-2006, 12:28 PM   #4
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
I'm still looking at this problem,

It seems to me to have something todo with Xorg
But i still need to figure out exactly what.

If someone can gimme a pointer it would be nice.

Latest kernel from source installed (2.6.17.1) did't help/fix it.
 
Old 06-27-2006, 01:02 PM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
If you don't need acpi how about using apm instead?

I installed apmd and oldish laptop swithches off after halt command or whatever.
 
Old 06-27-2006, 01:22 PM   #6
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
I really really need acpi.. otherwise i won't run on battery for a nice period of time with this baby..
even with the acpi=off appended at boor it doesn't power off.
 
Old 06-29-2006, 08:26 AM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Sorry, should have read your post.

This is probably less than helpfull but aren't you just supposed to hit the power button with acpi - i.e. no shutdown -h now?
 
Old 06-29-2006, 08:39 AM   #8
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
I've tried that also.. :P
It doesn't work for me ..

I do think it's got something to do with xorg though
 
Old 06-30-2006, 12:43 PM   #9
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Hang on, have you tried acpi=force??

Spelling it out for referrence:

Put acpi=force at the end of Grub's kernel line: hit e, or whatever it is, when the grub menu comes up and edit the line. This can be a bit deceptive - you think you've done it right but you haven't. If it works make the change permanent by doing the same in /boot/grub/menu.lst, often called.

Obviously make sure acpi and the daemon acpid are installed.

Here's something a bit unintelligible from my personal help file: This example - placed in /etc/acpi/events/power - will shut down your system if you press the power button. event=button/power.* [then on the next line] action=/usr/local/sbin/power.sh "%e" - The script power.sh gets called and will see the complete event string as parameter $1. Have done this and the thing shuts down with just pressing the power button. (Don't know it this did it or the vaughly similar thing already in the file.)

For God's sake tell me if this works, cause that'll be just about a first.
 
Old 06-30-2006, 04:28 PM   #10
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
I've tried playing with all kind of "acpi=" appendixes in de grub loader.
None of them worked.
What i did manage to do once was the following :
When the system started i used kdm so i was seeing the Kdm logon screen and i never logged on, just did the shutdown option, and then the damn thing did a shutdown and all went fine, it even powered off nicely.
It seems to have something to do with having logged onto kde and then i assume somthing todo with vga powersettings.. but i didn't have time to test some more..
Whenever i find a solution, i will post it here. i'll keep trying and looking for new things to try until i solve this..
 
Old 06-30-2006, 09:09 PM   #11
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Have a look at /etc/default/halt
 
Old 12-21-2006, 07:36 AM   #12
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
I was not looking at this problem for a while but now i got 2.6.19 Kernel compiled and still nothing is fixed.

The exact error i get is the following :
Code:
Will now halt.
Synchronizing SCSI cache for disk sda:
ACPI: PCI interupt for device 0000:06:03.0 disabled.
Power Down
acpi_power_off called
When i boot and shutdown immediately after booting then it shuts down the proper way (inclusive the powering off).
So i guess it's something that is running (maybe in KDE) that is causing it not to poweroff properly.

I'm gonna try and disable the cpufreqd but i want it to work to switch off the cpu fan when cooling down the cpu.

If anyone got any ideas yet, i still didn't find the correct answer to the problem in my case
 
Old 01-03-2007, 01:23 PM   #13
stelek
LQ Newbie
 
Registered: Dec 2006
Posts: 12

Rep: Reputation: 0
acpi_power_off called after KDE

I seem to have the same problem. When I boot without entering KDE, the shutdown works properly. But if I enter KDE and then click "shutdown", the systems ends up with "acpi_power_off called" and never powers off. Did you manage to find a solution for this? It could be something wrong with KDE...

My system is Slackware 11, with Kernel 2.6.19.1 and KDE 3.5. Acpi daemon is working...
 
Old 01-03-2007, 02:41 PM   #14
Sputnikc
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
Nope, no solution found yet.
I'm not constantly looking for it anyway.
I think it might have something to do with kde's powermanagement.
 
Old 01-13-2007, 06:16 PM   #15
stelek
LQ Newbie
 
Registered: Dec 2006
Posts: 12

Rep: Reputation: 0
I just want to let everyone know that in my case the problem is solved now.It was related to Intel HDA / ALSA driver and KDE. It seems that someone has already found a workaround. Please read here:

http://bugzilla.kernel.org/show_bug.cgi?id=7195

I hope it helps...

***

Additional references:

ALSA error report:
https://bugtrack.alsa-project.org/al...ew.php?id=2475

KDE error report:
http://bugs.kde.org/show_bug.cgi?id=134480

Last edited by stelek; 01-13-2007 at 06:27 PM.
 
  


Reply

Tags
acpi, apm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
acpi_power_off sent sh4d0w13 Linux - General 2 06-13-2005 11:19 AM
acpi_power_off called TuxFreak Fedora 4 06-06-2005 09:27 AM
What are these called and where to get?? TippyToes Linux - Software 2 01-20-2005 03:38 PM
acpi_power_off not working with kernel 2.6 thrutchy Mandriva 3 09-17-2004 01:26 AM
what's this called? ph33r Linux - General 1 04-19-2002 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:10 AM.

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