[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: 2xQ: Is PM + ACPI but /no/ APM a valid configuration? Interru pts enabled in APM set power state?

Admittedly, I don't know much about APM, though I may have some general

> No PM, no ACPI, no APM
> suspend works - i.e. doesn't crash on resume,
> but 'dumbly' and doesn't restore some PCI states
> (unsurprising), clock, etc., and no /proc/apm
> etc.

/proc/apm is created by the APM driver.

Many drivers have

#ifdef CONFIG_PM

around power management functionality, so you're not going to get that if
none of these are enabled. Even if CONFIG_PM, it's not going to be called
unless APM is up and running.

The BIOS is supposed to restore all the PCI config space, but we all know
how well the BIOS does what it's supposed to reliably.

> PM, no ACPI, no APM
> this seems to work, but debugging the power management
> stuff suggests that the PCI drivers are never sent
> suspend or resume events, which is causing the
> crashes below.

The suspend resume events are triggered by the APM subsystem. You won't
get them without it.

> PM, ACPI, no APM
> Suspend buttons (all of them) & closing laptop
> lid no longer do anything. As there's no apm support,
> apm -s doesn't work either, so impossible to test
> suspend.

The suspend buttons and lid switch are controlled via GPEs. IIRC, all the
GPEs are disabled by ACPI. If they're not, I know there are no handlers
for them ATM.

ACPI suspend has not been implemented fully yet, so you're not going to
get good results anyway..


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.057 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site