From owner-freebsd-current Mon Aug 16 10:31:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id BA6C214D20 for ; Mon, 16 Aug 1999 10:31:33 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb01.imasy.or.jp [202.227.24.129]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id CAA10747; Tue, 17 Aug 1999 02:30:12 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <199908161730.CAA10747@tasogare.imasy.or.jp> To: plm@xs4all.nl Cc: iwasaki@jp.freebsd.org, freebsd-current@FreeBSD.ORG Subject: Re: recent apm changes In-Reply-To: Your message of "Fri, 13 Aug 1999 12:55:57 +0900" <199908130352.MAA19931@tasogare.imasy.or.jp> References: <199908130352.MAA19931@tasogare.imasy.or.jp> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 17 Aug 1999 02:33:52 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 91 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I got ASUS P2B M/B & ATX case and assembled new box yesterday. With my patch, new box successfully transit into suspend state. There is no sounds from CPU fun, chassis fun and IDE HDD spin (powered down by BIOS setting, Power management setup -> PM Timers -> HDD Power Down: 1 Min.). The power led keeps flashing during suspending. Without the patch, suspending system is never successful (standby also), message `slept 00:00:00' comes up :-( The key release event seems prevent suspend, so some sort of delay mechanism would be necessary such as my patch. Now I'm wondering why your PC doesn't get quite. I suspect that hardware configuration different from yours (I have no SCSI HD on new box). Any suggestions? I attached my dmesg output FYI. Thanks. > > MI> Please try this patch. > > MI> If it still fails, it's worth to try increasing APM_SUSPEND_DELAY, > > MI> something like: > > MI> #define APM_SUSPEND_DELAY 3 > > > > Alas, it doesn't make a difference. > > Hmmmm. OK, I'll buy new mather board same one as yours and investigate > what's happend on it. Could you tell me which M/B are you using? And > I'd like to have your dmesg output from kernel with APM_DEBUG option. > # In your kernel config file: > # options APM_DEBUG Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #4: Tue Aug 17 00:16:46 JST 1999 root@celeron.minet.imasy.or.jp:/usr/src/sys/compile/CELERON Timecounter "i8254" frequency 1193182 Hz CPU: Celeron (367.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183f9ff real memory = 134205440 (131060K bytes) avail memory = 126779392 (123808K bytes) Preloaded elf kernel "kernel" at 0xc033d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc033d09c. VESA: v1.2, 4096k memory, flags:0x0, mode table:0xc00c4ead (c0004ead) VESA: S3 Incorporated. Vision968 Pentium Pro MTRR support enabled Probing for PnP devices: npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: APM BIOS version 0102 apm: Code16 0xc00f0000, Data 0xc00fdbf0 apm: Code entry 0x00007870, 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" pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 ide_pci0: at device 4.1 on pci0 uhci0: irq 5 at device 4.2 on pci0 usb0: on uhci0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: at device 4.3 on pci0 vx0: <3COM 3C590 Etherlink III PCI> irq 10 at device 11.0 on pci0 utp[*utp*]: disable 'auto select' with DOS util! address 00:a0:24:38:b7:0b Warning! Defective early revision adapter! vga-pci0: irq 11 at device 12.0 on pci0 isa0: on motherboard fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 wdc0: unit 0 (wd0): wd0: 8693MB (17803440 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message