Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ACPI S1 state



On Wed, Jun 11, 2008 at 03:43:36AM -0500, David Young wrote:
> This patch helps my ancient HP Pavilion N3270 enter/leave S1 state.
> (The N3270 does not have an S3 state.)  I can put the system to sleep
> with 'sysctl -w machdep.sleep_state=1', and I can wake it by tapping
> the power button.

The first part assumes that interrupts where not already disabled. I
don't think we should make that assumption. So if we want to go this
way, disable interrupt should actually return the current state.

> If I do not put the devices to sleep, then the system hangs instead
> of waking up.  It seems to have something to do with interrupts from
> PCI devices.

Can you try what happens if you mask all ioapic/pic pins before entering
S1?

Joerg


Home | Main Index | Thread Index | Old Index