Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 1999 21:57:39 -0700
From:      Colin Eric Johnson <colinj@cs.unm.edu>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   apm and -stable
Message-ID:  <Pine.SGI.4.05.9902142148370.44722-100000@waimea.cs.unm.edu>

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

I'm running -stable and I'm having some trouble with apm. I can get things
to suspend fine if I do not have any PCMCIA cards in the machine. If I do
have a pc-card in then the machine won't suspend and eventually comes
back up. This is the case if I don't have X running. 

If I do have X running then my ability to suspend is mixed all of the
time, that is, I get the same behavior if a pc-card is in and a good
suspension when no card is in only some of the time. Either the machine
won't suspend at all or it won't come back from being suspended.

My attempts to power off with halt -p and shutdown -p always end up with
a "press any key to reboot" message instead of powering the machine down.

So, what am I doing wrong? 

This is on a Dell Lattitude CPi

here's the line from my kernel config

device          apm0    at isa? flags 0x31 # Advanced Power Management

and from rc.conf

apm_enable="YES"        # Set to YES if you want APM enabled.

uname -a and dmesg follow:

trurl 6 % uname -a
FreeBSD trurl.lternet.edu 3.1-BETA FreeBSD 3.1-BETA #1: Wed Feb 10
21:13:59 MST 1999     colinj@trurl.lternet.edu:/usr/src/sys/compile/TRURL
i386

trurl 5 % dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.1-BETA #1: Wed Feb 10 21:13:59 MST 1999
    colinj@trurl.lternet.edu:/usr/src/sys/compile/TRURL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping=0

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 127852544 (124856K bytes)
Preloaded elf kernel "kernel" at 0xf0299000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge (AGP disabled)> rev 0x02 on
pci0.0.0
vga0: <NeoMagic NM2160 laptop SVGA controller> rev 0x01 int a irq 11 on
pci0.2.0
pcic0: <TI 1131 PCI to PCMCIA/CardBus bridge> rev 0x01 int a irq 11 on
pci0.3.0
pcic1: <TI 1131 PCI to PCMCIA/CardBus bridge> rev 0x01 int b irq 11 on
pci0.3.1
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pcm0 at 0x52c irq 5 drq 1 flags 0xa613 on isa
mss_attach <mss>0 at 0x52c irq 5 dma 1:3 flags 0xa613
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DADA-26480>
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD-ROM  CDR_U200/1.12>, removable, intr, dma,
iordis
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
ep0 not found at 0x300
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x31 on isa
apm: found APM BIOS version 1.2
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
Initializing PC-card drivers: ep
changing root device to wd0s2a
Card inserted, slot 0
sio3: type 16550A



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.SGI.4.05.9902142148370.44722-100000>