Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 02:33:52 +0900
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        plm@xs4all.nl
Cc:        iwasaki@jp.freebsd.org, freebsd-current@FreeBSD.ORG
Subject:   Re: recent apm changes 
Message-ID:  <199908161730.CAA10747@tasogare.imasy.or.jp>
In-Reply-To: Your message of "Fri, 13 Aug 1999 12:55:57 %2B0900" <199908130352.MAA19931@tasogare.imasy.or.jp>
References:  <199908130352.MAA19931@tasogare.imasy.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
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: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> 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: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 4.1 on pci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 5 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> 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: <S3 968 graphics accelerator> irq 11 at device 12.0 on pci0
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
wdc0 at port 0x1f0-0x1f7 irq 14 on isa0
wdc0: unit 0 (wd0): <IBM-DJNA-370910>
wd0: 8693MB (17803440 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908161730.CAA10747>