Bug 18162

Summary: APM: Add flag to disable timer-based BIOS requests [PATCH]
Product: Base System Reporter: Allan Saddi <asaddi>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Allan Saddi 2000-04-22 18:50:02 UTC
On my Compaq Presario 1215, the timer-based suspend/standby requests
from BIOS interfere with normal APM operation. For example, when I use
'zzz' to suspend, my laptop will wake up on its own after 15 minutes
due to a BIOS request. (I can only assume it's attempting a suspend-to-
disk operation, which I really haven't gotten to work yet.)

I cannot disable these requests from BIOS setup, hence this patch. I am
using device flag 0x40, which does not appear to be used, to signify
that BIOS timer requests should be disabled from apm_attach().

How-To-Repeat: 
Suspend using 'zzz' when on battery power. Wait 15 minutes.
Comment 1 Allan Saddi 2000-04-23 02:11:12 UTC
Please close this PR for now. After more extensive testing, I've found
that it doesn't quite fix the problem.

-- 
Allan Saddi                         "The Earth is the cradle of mankind,
asaddi@philosophysw.com              but we cannot live in the cradle
http://www.philosophysw.com/asaddi/  forever." - K.E. Tsiolkovsky
Comment 2 nrahlstr freebsd_committer freebsd_triage 2000-04-23 18:25:13 UTC
State Changed
From-To: open->closed

Closed at submitters request.