Date: Tue, 2 Jan 2001 14:27:34 +0100 (MET) From: Per Andersson <pa@cdg.chalmers.se> To: freebsd-mobile@freebsd.org Subject: APM problem on IBM Thinkpad 570 Message-ID: <Pine.GSO.4.21.0101021210160.13271-300000@wilfer4.cdg.chalmers.se>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hello!
I have problem getting APM working on my laptop.
When doing "apm -Z", the first time it turns off the screen (it turns on again
if I press a key), the second time the screen blinks off-on and the third
(and subsequent) time I get the error message "Entire system suspend failure:
errcode = 96" from the kernel.
When doing "apm -z" it goes to sleep but I can't wake it up (you can hear
that it turns the harddisk on but thats about all).
I append my config file and dmesg.boot.
I run a fairly recent -current.
Does anybody have anu ideas?
/Per Andersson
[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.2-STABLE #47: Tue Jan 2 12:25:07 CET 2001
root@bigblue.cdg.chalmers.se:/usr/src/sys/compile/BIGBLUE
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (497.84-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x681 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 201261056 (196544K bytes)
avail memory = 192372736 (187864K bytes)
Preloaded elf kernel "kernel" at 0xc036e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
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
pci1: <NeoMagic MagicMedia 256AV SVGA controller> at 0.0 irq 11
pcic-pci0: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci1: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
csa0: <Crystal Semiconductor CS4614/4622/4624 Audio accelerator/4280 Audio controller> mem 0xf4000000-0xf40fffff,0xf4100000-0xf4100fff irq 11 at device 5.0 on pci0
pcm0: <CS461x PCM Audio> on csa0
isab0: <Intel 82371AB PCI to ISA bridge> at device 6.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1800-0x180f at device 6.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1820-0x183f irq 11 at device 6.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> port 0x1040-0x104f irq 9 at device 6.3 on pci0
intpm0: I/O mapped 1040
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 1000
pci0: <unknown card> (vendor=0x11c1, dev=0x0448) at 7.0 irq 11
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
unknown: <PNP0000> can't assign resources
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 irq 1 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
pca0: <AT-style speaker sound> at port 0x61 on isa0
unknown: <PNP0c02> can't assign resources
pcic0: <VLSI 82C146> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
unknown: <PNP0680> can't assign resources
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
unknown: <IBM0071> can't assign resources
ppc0: <ECP parallel printer port> at port 0x378-0x37f,0x778-0x77f irq 7 drq 0 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
unknown: <IBM3780> can't assign resources
ad0: 11509MB <IBM-DARA-212000> [24944/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s3a
WARNING: / was not properly dismounted
pccard: card inserted, slot 1
[-- Attachment #3 --]
# BIGBLUE config
machine i386
cpu I686_CPU
ident BIGBLUE
maxusers 32
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions KERNEL=kernel
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options PNPBIOS
options SOFTUPDATES
device isa
device pci
# Floppy drives
device fdc0
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID #Static device numbering
#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
device apm0 at nexus?
# PCCARD (PCMCIA) support
device card
#device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000
device pcic0
# Serial (COM) ports
device sio
# Parallel port
device ppc0
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# ISA Ethernet NICs.
device ep
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
device wi
# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
# PCI and ISA varieties.
device an
#
# For PnP/PCI sound cards
device pcm
# csa: Crystal Semiconductor CS461x/428x PCI
device csa
# pca: PCM audio through your PC speaker
device pca0
#
# SMB bus
#
# System Management Bus support provided by the 'smbus' device.
#
# Supported devices:
# smb standard io
#
# Supported interfaces:
# iicsmb I2C to SMB bridge with any iicbus interface
# intpm Intel PIIX4 Power Management Unit
#
device smbus # Bus support, required for smb below.
device intpm
device smb
#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ic i2c network interface
# iic i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
#
device iicbus # Bus support, required for ic/iic/iicsmb below.
device ic
device iic
device iicsmb # smb over i2c bridge
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif 4 # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
#device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uscanner # Scanners
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0101021210160.13271-300000>
