Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another apm or acpi problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Sat Nov 30, 2002 11:34 am    Post subject: Another apm or acpi problem Reply with quote

Well, as the topic says, I'm having trouble getting apm or acpi in the kernel to work properly. I'd like to be able to power off my machine without having to push on the power button, just like on other distro, like redhat.
When I type shutdown -h now, everything stops fine, everything? well not exaclty... I hear the hd powering down, but not the system, in fact there may still be some things running e.g. the radio. I have a FM tuner card in my box, and when I switch my computer down, the radio is sitll playing.... how can that be possible.

Another problem about acpi or apm is that even when I'm taking a redhat config file for the kernel, and compile it, apm doesn't work. I know that Redhat patches their kernel, but isn'it supposed to work anyway? I run a 2.4.19 kernel gentoo-sources-r9. My mb is an Asus a7v133 with a Athlon 1Ghz.

Can somebody help me?
Back to top
View user's profile Send private message
turi
n00b
n00b


Joined: 02 Nov 2002
Posts: 16

PostPosted: Sat Nov 30, 2002 12:51 pm    Post subject: Reply with quote

Acpi worked for me after compiling it into the kernel instead of as modules.
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Sat Nov 30, 2002 9:48 pm    Post subject: Reply with quote

well, not for me....
Back to top
View user's profile Send private message
Lasitus
Apprentice
Apprentice


Joined: 05 Oct 2002
Posts: 188
Location: Orlando, FL

PostPosted: Mon Dec 02, 2002 1:29 am    Post subject: Reply with quote

I have had this problem as well... I am currently recompiling my kernel. Go to ACPI in your kernel config and make sure System is checked under ACPI

I'll keep you informed if this works in my case. Also, try emerging acpid and see what it says when you start it.
Back to top
View user's profile Send private message
Lasitus
Apprentice
Apprentice


Joined: 05 Oct 2002
Posts: 188
Location: Orlando, FL

PostPosted: Mon Dec 02, 2002 1:30 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=5199&highlight=
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Mon Dec 02, 2002 9:19 am    Post subject: Reply with quote

Well, I read that post, and a lot more on the forums, all about acpi or apm. I recompiled my kernel doezns of times, but It doesn't work....
Is there anything else in the kernel config that is about power management.... Or anything else, a package..... whatever, a config file I should modify?

My disks stop but not my system, even when I checked all the options in the acpi or apm tree, even when I checked only the one recommended in other posts, even when I checked the ones redhat checks....
Back to top
View user's profile Send private message
bpkri
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 118
Location: Germany

PostPosted: Mon Dec 02, 2002 9:44 am    Post subject: Reply with quote

Did you have another kernel before the -r9?

I have the same problem, not switchitng off completely - and onyl making a make mrproper and then configuring my kernel anew, recompiling it, helped me. I do not know what the problem really was...
Back to top
View user's profile Send private message
henke
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 165
Location: Stockholm, Sweden

PostPosted: Tue Dec 03, 2002 7:40 am    Post subject: Reply with quote

You might want to read /usr/src/linux/Documentation/pm.txt

Quote:
The best way to determine which, if either, your system supports is to
build a kernel with both ACPI and APM enabled (as of 2.3.x ACPI is
enabled by default). If a working ACPI implementation is found, the
ACPI driver will override and disable APM, otherwise the APM driver
will be used.

No sorry, you can not have both ACPI and APM enabled and running at
once. Some people with broken ACPI or broken APM implementations
would like to use both to get a full set of working features, but you
simply can not mix and match the two. Only one power management
interface can be in control of the machine at once. Think about it..


If I were you I'd try compiling my kernel with just ACPI support (since it is newer/better). If that doesn't work try compiling it with just apm support.

I'm not sure I trust the ACPI driver disabling/enabling apm... (Nope I have no rational basis for this opinion)
Back to top
View user's profile Send private message
checkyoulater
n00b
n00b


Joined: 01 Aug 2002
Posts: 30
Location: Toronto

PostPosted: Tue Dec 03, 2002 4:04 pm    Post subject: Stupid question... Reply with quote

But you do have ACPI enabled in the BIOS, right? I know that the BIOS on my board allows power management to be completely disabled. When this is the case, the machine will not power down correctly, even under Windows.
Back to top
View user's profile Send private message
Lizzard
n00b
n00b


Joined: 26 Nov 2002
Posts: 31
Location: Germany

PostPosted: Tue Dec 03, 2002 4:14 pm    Post subject: Reply with quote

I have the same problem for a long time and compile many kernels ......
now I switched from ACPI to APM and now it works for me.

The box can boot with wake-on-lan and shutoff completely with a halt. :D
_________________
Wir befinden uns im Jahr 1 vor 2000. Die ganze Welt ist vom Makrovirus besetzt. Die ganze Welt? Nein, ein von unbeugsamen Entwicklern gebautes Betriebssystem hört nicht auf, dem Eindringling Widerstand zu leisten...
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Wed Dec 04, 2002 9:03 am    Post subject: Reply with quote

well I got it to work by adding acpi4linux in my USE flags, and with the new r10 kernel....

Thanks for the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum