LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-25-2003, 07:42 AM   #1
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
ACPI & XFree catch 22


I've got gentoo installed and running after some battles with the nvidia drivers.
Anyhow, it's not 100% of course, and I'm sort of disappointed with it. I have a catch 22 - I need ACPI so that linux will shutdown and turn off my pc, but I can't have ACPI and X (nvidia?) running - ie, starting X with ACPI in the kernel causes the system to freeze with ascii characters, and only ctl+alt+del will let me reboot.

Also, I'm unable to boot into WindowsXP if I disable ACPI in the BIOS. So Things are a bit sucky. I have ACPI enabled i nthe BIOS which is fine, I don't have ACPI in the kernel - which is what I want, and I have X with nvidia drivers working.

So I'm left with a PC that won't shutdown from Linux.

Perhaps someone has some experience, ideas etc?
I have tried the APM modules, they didn't do anything for me. I've tried multiple kernel sources and get the same thing.
 
Old 04-25-2003, 07:46 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You mention you tried the apm modules - did you load the apm daemon (apmd) after you loaded the modules?

If you're getting errors stating that you can't load apm because you already have ACPI enabled then you'll need to stop ACPI first.
 
Old 04-25-2003, 08:08 AM   #3
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Original Poster
Rep: Reputation: 30
I put apm in the modules.autoload file, and startup indicated that the apm module was loaded ok. However, I don't know anything about apmd!!!
Oh, I can shutdown now -h and the machine will run the shutdown procedure correctly, with the last thing you see (and it stays there ) is 'Powerdown'.
So when you get to that point, you actually have to turn off the machine.
Just wanted to make that clear

Last edited by acjt; 04-25-2003 at 08:35 AM.
 
Old 04-26-2003, 05:40 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Try opening a console and type in (as root) apmd to load the apm daemon. Now 'halt' your machine and see if it turns off properly. If not have a look at the BIOS and see if you can enable both ACPI and APM (most machines are capable of this).
 
Old 04-26-2003, 06:35 AM   #5
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Original Poster
Rep: Reputation: 30
Last night when I came home, I run apmd to start the daemon. Then I did shutdown now -h (is that the same as 'halt') but the same thing, it just runs the shutdown script, then stops at 'Powerdown'. I have to have ACPI enabled in the BIOS, otherwise WindowsXP won't boot (and I have to keep it around to play some games on, and unless I work out how to get winex to run them). I haven't noticed in the BIOS apm options anywhere, and I've been in there a LOT!
When the machine does the 'Powerdown' I do hear a click in the machine as if it is trying to turn it off, but it doesn't actually do it. Does this tell you anything?
 
  


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
ACPI on Samsung x15 mandrake 10 *&"^£*&^ Jakkin Linux - Laptop and Netbook 6 12-29-2004 06:20 PM
P4M266/A & XFree anyone know ? ..:eMa:.. Debian 3 06-10-2004 10:12 AM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM
XFree & Waimea Akuji Linux - Software 1 03-09-2003 10:19 AM
Xfree & Vmware problem frankiepn Linux - General 0 10-24-2002 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:37 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