View previous topic :: View next topic |
Author |
Message |
Joseph K. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/376505908476dc1b9c8f6e.png)
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Sun Dec 23, 2007 4:59 am Post subject: Do desktop users need ACPI? |
|
|
My short question is: can I safely remove ACPI from the kernel (under Power Management) and USE=-acpi?
My main concern is that in the kernel configuration, there is a big warning about disabling Thermal Zones for your processor. Well, I've had it enabled probably for ever, but then today realised that I never added the acpid script to the default runlevel anyway.
The only power-saving feature I'm interested in is DPMS for the monitor, which I assume does not require ACPI.
The nvidia-drivers package has optional support for ACPI: does anyone know what features this provides?
This is mostly of academic interest to me: ACPI is posing no problem for me, I'd just rather remove it if I don't need it. Thanks, cheers. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sun Dec 23, 2007 10:35 am Post subject: |
|
|
ACPI is much more than just power management. Any modern system pretty much requires it, many won't work at all without it. You do however, only need kernel support. Nothing else needs to care about it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
albright Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/524660825462570600c7fb.jpg)
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Dec 23, 2007 2:13 pm Post subject: |
|
|
In particular, acpi assigns interrupts ... I know because when I
got too smart and thought I'd just get rid of it, my sata drives
caused an interrupt conflict that prevented booting. Acpi fixed
that right up ![Smile :)](images/smiles/icon_smile.gif) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
i92guboj Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/5913531844c4d36a8e43f9.jpg)
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Dec 23, 2007 2:24 pm Post subject: |
|
|
As people say, ACPI is more than just power management.
Things like cpu throttling, hardware monitoring (which in turn can save you some money and prevent damage due to overheat if a fan fails...). Not to speak about my preferred thing: if you don't use acpi and accidentally press the power button, all your filesystems will be trashed, which in turn may mean data loss, of even a completely trashed filesystem. With the acpi daemon running, linux will correctly turn off all the running services and umount all your filesystems, preventing data loss in the way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sun Dec 23, 2007 4:08 pm Post subject: |
|
|
i92guboj wrote: | As people say, ACPI is more than just power management.
Things like cpu throttling, hardware monitoring (which in turn can save you some money and prevent damage due to overheat if a fan fails...). Not to speak about my preferred thing: if you don't use acpi and accidentally press the power button, all your filesystems will be trashed, which in turn may mean data loss, of even a completely trashed filesystem. With the acpi daemon running, linux will correctly turn off all the running services and umount all your filesystems, preventing data loss in the way. |
By accidentally press, you mean hold down for eight seconds, right? ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Simba7 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/854676963614a3abd4e1a0.jpg)
Joined: 22 Jan 2007 Posts: 708 Location: Billings, MT, USA
|
Posted: Sun Dec 23, 2007 4:45 pm Post subject: |
|
|
Monkeh wrote: | By accidentally press, you mean hold down for eight seconds, right? ![Wink ;)](images/smiles/icon_wink.gif) |
You mean four?
But I've bumped into this. Things work ALOT better with ACPI. Without it, things tend to go absolutely nuts. You definitely don't want to disable this on a laptop without it burning up and/or draining your battery in a 1/2 hour. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
i92guboj Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/5913531844c4d36a8e43f9.jpg)
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Dec 23, 2007 4:47 pm Post subject: |
|
|
Monkeh wrote: | i92guboj wrote: | As people say, ACPI is more than just power management.
Things like cpu throttling, hardware monitoring (which in turn can save you some money and prevent damage due to overheat if a fan fails...). Not to speak about my preferred thing: if you don't use acpi and accidentally press the power button, all your filesystems will be trashed, which in turn may mean data loss, of even a completely trashed filesystem. With the acpi daemon running, linux will correctly turn off all the running services and umount all your filesystems, preventing data loss in the way. |
By accidentally press, you mean hold down for eight seconds, right? ![Wink ;)](images/smiles/icon_wink.gif) |
No. I mean accidentally. That depends on a number of factors, depending on both hardware and software. If your OS is not acpi capable, the normal behavior is frequently that: your pc shuts down when you press that button.
What you say (hold the button a number of seconds) is a way to tell the hardware to force the power off, overriding the OS acpi functions. But that is only relevant if the OS is acpi capable. If that is not the case, it just shuts down instantly in most cases. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Mon Dec 24, 2007 12:43 am Post subject: |
|
|
Power button behaviour varies quite wildly and depends on BIOS configuration if ACPI is not being used... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bunder Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Mon Dec 24, 2007 12:45 am Post subject: |
|
|
another thing acpi is good for is turning off / rebooting your pc... if you don't have acpi, the kernel will tell you to manually power off. ![Shocked 8O](images/smiles/icon_eek.gif) _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph K. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/376505908476dc1b9c8f6e.png)
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Thu Dec 27, 2007 6:47 am Post subject: |
|
|
I assume there is some confusion between ACPI and APIC going on here.
I have disabled ACPI and everything works fine, including hardware monitoring and fan control (controlled by the I2C bus). The only convenience that I've lost is that, as bunder mentioned, I have to power-off manually (it still reboots from software). So whilst I think you'd be mad to disable ACPI on a laptop, I'm not convinced that it offers desktop users anything really useful. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Thu Dec 27, 2007 9:29 am Post subject: |
|
|
Joseph K. wrote: | I assume there is some confusion between ACPI and APIC going on here.
I have disabled ACPI and everything works fine, including hardware monitoring and fan control (controlled by the I2C bus). The only convenience that I've lost is that, as bunder mentioned, I have to power-off manually (it still reboots from software). So whilst I think you'd be mad to disable ACPI on a laptop, I'm not convinced that it offers desktop users anything really useful. |
How many CPUs do you have? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph K. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/376505908476dc1b9c8f6e.png)
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Fri Dec 28, 2007 1:49 am Post subject: |
|
|
Monkeh wrote: | How many CPUs do you have? |
It's a Core2 Duo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Fri Dec 28, 2007 2:26 am Post subject: |
|
|
Well, in theory, ACPI things you loose *can* include: lm_sensors, powernow (Speedstep too?) and lots of other powersaving stuff (Some can still be accessed via APM, but it seems a lot of mobos don't support APM now?), APIC support, HPET support, SMP support (If the mobo doesn't support MPS).
Emphasis on the *can* and *in theory*.
Lots of mobos still work with lm_sensors, even without ACPI, although some sensors may go missing or be found in different places.
SMP requires an advanced interrupt handler, so if APIC doesn't work and MPS fallback isn't working then there's the possibility multi-core/socket CPUs systems will only find one CPU.
The main loss is powersaving stuff really, 'tho much of that can still be done via APM, assuming mobo support exists...
Most of this isn't technically necessary for operation of the compy 'tho. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph K. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/376505908476dc1b9c8f6e.png)
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Fri Dec 28, 2007 5:30 am Post subject: |
|
|
Cyker wrote: | Well, in theory, ACPI things you loose *can* include: lm_sensors, powernow (Speedstep too?) and lots of other powersaving stuff (Some can still be accessed via APM, but it seems a lot of mobos don't support APM now?), APIC support, HPET support, SMP support (If the mobo doesn't support MPS). |
Yeah, now that I've looked at the ACPI specification I can see the references to APIC, HPET, etc. Even some PCI-E stuff. OK, I guess I had the confusion after all.
Well, if it does more than power management and is crucial for the operation of some computers, then I think being under PM in the kernel is a little misleading. Maybe something about the importance of it should be in the installation manual or in the Wiki? I only did a cursory scan, but I couldn't find anything that suggests that it's necessary for anything other than PM. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Fri Dec 28, 2007 12:36 pm Post subject: |
|
|
It's probably there for 'historical reasons' (i.e. when ACPI came out it was just a newer buggier version of APM. It's 'evolved' to be more, but has stayed in the same place.)
As for importance, it's very relative.
I still have a pre-ACPI 'board here and that works perfectly well without ACPI support
I even disabled APM too and just relied on the BIOS to spin down the HDs and fans.
But yeah, there is that sort of un-mentioned assumption floating around that you should know to turn it on without actually being told.
Sadly, there's alot of things like that in Linuxland still... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|