Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 15:37:24 -0700 (PDT)
From:      Tom Glover <tomg@egg.net>
To:        freebsd-mobile@freebsd.org
Subject:   apmd
Message-ID:  <Pine.BSF.4.21.0005161526530.93967-100000@ostrich.egg.net>

next in thread | raw e-mail | index | archive | help

Running FreeBSD 4.0-RELEASE on a Sony Vaio PCG-Z505HE. Am having problems
with apmd.

Have "device          apm0    at nexus? flags 0x20" in the kernel
config. Also 
	apm_enable="YES"
	apmd_enable="YES"
	apm_flags=""
in /etc/rc.conf. 

/etc/apmd.conf is :
	#

	apm_event SUSPENDREQ {
	        exec "/etc/rc.suspend";
	}

	apm_event USERSUSPENDREQ {
	        exec "sync && sync && sync";
	        exec "sleep 1";
	        exec "apm -z";
	}

	apm_event NORMRESUME, STANDBYRESUME {
        	exec "/etc/rc.resume";
	}

A "ps -ax" shows apmd running. "apm -z or zzz" puts the laptop in suspend
mode and any key brings it back. So far so good.

Closing the laptop lid does zilch. I could wait for winter and still
nothing. In the BIOS for this laptop there is no option for configuring
what happens when the lid is closed. When running Windoze the laptop goes
to sleep on a close lid just fine. Just not under FreeBSD.

What dumb thing am I missing here?

--
Regards,
Tom Glover



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005161526530.93967-100000>