From owner-freebsd-current Sat Aug 14 0:10:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id 7B0B114D2C for ; Sat, 14 Aug 1999 00:10:36 -0700 (PDT) (envelope-from kfarmer@sympatico.ca) Received: from sympatico.ca (ppp12815.on.bellglobal.com [206.172.162.14]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id DAA01057 for ; Sat, 14 Aug 1999 03:14:19 -0400 (EDT) Message-ID: <37B516C7.C5F45D04@sympatico.ca> Date: Sat, 14 Aug 1999 07:12:07 +0000 From: Kelvin Farmer X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: apm problems. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Apm does not seem to be behaving correctly on my computer (running yesterday's CURRENT) eg: with a make world running, the following happens after about 15 mins of not touching the keyboard. Received APM Event: PMEV_STANDBYREQ Execute APM hook "pcm suspend handler" Called APM sound suspend hook for unit 1 Execute APM hook "default suspend" However, disk activity continues and the monitor isn't blanked. then, if a key is pressed: Recieved APM Event: PMEV_STANDBYRESUME Execute APM hook "default resume" resume from suspended mode (Slept 00:28:34) Execute APM Hook "pcm resume handler" Called APM sound resume hook for unit 1 If apm -z is given, then the computer does go to sleep, monitor blanks, no disk activity. However, if apm -z is used while the computer is doing something (eg: compiling a kernel) then the computer goes to sleep, and everything stops, but will not wake up properly. no new process can be started ie: any command typed in starts but does not appear to do anything, and can't be stopped (control -c) if top is runing before apm -z is done then after resuming,top shows and continues to update: process state top RUN make SELECT ld getblk apmd biord syncer drainv etc. alt-ctl-delete also does not work. if more info is needed, just let me know what to do. Thanks =). (I also don't need the apm features of the motherboard that much, so if its likely to take a lot of work making apm work right just for this motherboard it probably isn't worth the effort) DMESG: apm0: on motherboard apm: APM BIOS version 0102 apm: Code16 0xc00f0000, Data 0xc0000400 apm: Code entry 0x0000ef50, Idling CPU disabled, Management enabled apm: CS_limit=0xffff, DS_limit=0xffff apm: Engaged control enabled apm: found APM BIOS v1.2, connected at v1.2 apm: Slow Idling CPU disabled Add hook "default suspend" Add hook "default resume" [I didn't originally have the 'idling CPU disabled' set in the bios, but then the cpu would be put into a slow state while actually busy, resulting in make world taking many more hours than usual...] apm: APM version: 1.2 APM Managment: Enabled AC Line status: on-line Battery status: unknown Remaining battery life: unknown Remaining battery time: unknown Number of batteries: 0 Resume timer: Wed Dec 31 18:59:59 1969 Resume on ring indicator: enabled APM Capacities: global standby state global suspend state resume timer from suspend -- kfarmer@sympatico.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message