NetBSD-Users archive

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

Re: acpi resume on dell d810



Hallo,
sysctl -w machdep.sleep_state=3
has the same effects as zzz, on my laptop, i.e. hitting the 
power button leads to reboot.
Fulvio

At Sat, 20 Mar 2010 10:52:10 +0200,
Jukka Ruohonen wrote:
> 
> On Thu, Mar 18, 2010 at 03:21:44PM +0100, fulvio ciriaco wrote:
> > I own a Dell Latitude D810 with NetBSD 5.0.2 (GENERIC) installed.
> > zzz sends the laptop to sleep but pressing the power button does not resume
> > the computing state, it boots the laptop instead.
> 
> Generally, the apm(8) is a legacy interface and it is better to use acpi(4)
> directly for anything manufactured in the 2000s. Unfortunately the
> documentation is badly behind the current state of affairs.[1]
> 
> General steps to test the suspend/resume:
> 
>       1. Boot into single user mode (see boothowto(9)).
> 
>       2. Issue 'sysctl -w machdep.sleep_state=3'.
> 
>       3. Cross your fingers.
> 
> The acpi(4) manual page describes 'machdep.acpi_vbios_reset' -sysctl
> variable that might have something to do with the reboot when resuming. As a
> first step you could try different values for this variable.
> 
> - Jukka.
> 
> [1] Cf. the outdated http://netbsd.org/docs/power-mgmt/index.html


Home | Main Index | Thread Index | Old Index