Subject: Re: Call for testers: ACPI suspend/resume, part 2
To: None <current-users@NetBSD.org>
From: Bernhard Moellemann <zza@serpens.de>
List: current-users
Date: 12/25/2007 11:53:55
Hi!

I testet with an Compaq Evo N600c. It does suspend to state 3 and resumes.
Some gotchas:

I had to disable midi, fdc, com and lpt.

Sound doesn't work anymore after resume.

I have to call vbetool post, otherwise, the display is lit, but I get
no characters.

This is -current from 18-12-2007. The broken sound is a showstopper. My dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.42 (GENERIC) #0: Wed Dec 19 05:31:11 CET 2007
	root@arcanic:/mnt/top/src/src/obj/sys/arch/i386/compile/GENERIC
total memory = 255 MB
avail memory = 237 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable lpt
[ 10] lpt0 disabled
[ 11] lpt1 disabled
[ 12] lpt2 disabled
[ 13] lpt* disabled
uc> disable fdc
[398] fdc0 disabled
uc> disable midi
[  1] midi* disabled
[  2] midi* disabled
uc> disable com
[145] com0 disabled
[146] com1 disabled
[147] com2 disabled
[148] com* disabled
[149] com* disabled
[150] com* disabled
[151] com* disabled
[152] com* disabled
[153] com* disabled
[154] com* disabled
[155] com* disabled
uc> quit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xf0000
SMBIOS rev. 2.3 @ 0xfc087 (37 entries)
Compaq Evo N600c                           
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Mobile Pentium III (686-class), 797.40 MHz, id 0x6b1
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: "Intel(R) Pentium(R) III Mobile CPU      1200MHz"
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 512 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 16 page colors
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpi0: X/RSDT: OemId <COMPAQ,CPQ0030 ,31120320>, AslId <CPQ ,00000001>
mpacpi: could not get bus number, assuming bus 0
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BA: ACPI: Found matching pin for 0.29.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BC: ACPI: Found matching pin for 0.29.INTC at func 2: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BC: ACPI: Found matching pin for 0.31.INTA at func 1: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BB: ACPI: Found matching pin for 1.0.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0C0: ACPI: Found matching pin for 2.3.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BF: ACPI: Found matching pin for 2.4.INTA at func 0: 11
acpi_pci_link: WARNING: powerhook_establish is deprecated
C0BE: ACPI: Found matching pin for 2.8.INTA at func 0: 11
C0BA: ACPI: Found matching pin for 2.9.INTA at func 0: 11
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
C000 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
C00D (PNP0C01) [System Board] at acpi0 not configured
C03E (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
C0D1 (PNP0A06) [Generic Container Device] at acpi0 not configured
C149 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
C14E (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C14F (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
C162 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C166 (SMCF010) at acpi0 not configured
C167 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C168 (PNP0401) [ECP printer port] at acpi0 not configured
C16B (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
npx1 at acpi0 (C16D, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
attimer1 at acpi0 (C16E, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
C15C (PNP0200) [AT DMA Controller] at acpi0 not configured
pcppi1 at acpi0 (C16F, PNP0800)
pcppi1: io 0x61
sysbeep0 at pcppi1
C170 (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pckbc1 at acpi0 (C171, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (C172, PNP0F13): aux port
pckbc2: irq 12
C174 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C175 (PNP0000) [AT Interrupt Controller] at acpi0 not configured
C1DA (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
C0BA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0BB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0BC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0BD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0BE (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0BF (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C0C0 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C1D7 (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
acpibat0 at acpi0 (C19F, PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (C1A0, PNP0C0A-2): ACPI Battery (Control Method)
acpiacad0 at acpi0 (C1A2, ACPI0003): ACPI AC Adapter
acpibut0 at acpi0 (C1A3, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (C1A4, PNP0C0D): ACPI Lid Switch
C1C1 (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
C1F3 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C1F4 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C1F5 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C1F6 (PNP0C0B) [ACPI Fan] at acpi0 not configured
C1F7 (PNP0C0B) [ACPI Fan] at acpi0 not configured
C1F8 (PNP0C0B) [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (TZ1): active cooling level 0: 75.0C active cooling level 1: 65.0C active cooling level 2: 50.0C critical 108.0C passive 55.0C
apm0 at acpi0: Power Management spec V1.2
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 5.8
pms0: Palm detect, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82830MP CPU to I/O Bridge 1 (rev. 0x02)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: Intel 82830MP CPU to AGP Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M6 LY (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
direct rendering for vga1 unsupported
uhci0 at pci0 dev 29 function 0: Intel 82801CA USB Controller (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801CA USB Controller (rev. 0x01)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801CA USB Controller (rev. 0x01)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x41)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 3 function 0: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci2 dev 3 function 1: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
Lucent Technologies LTMODEM (miscellaneous communications, revision 0x02) at pci2 dev 4 function 0 not configured
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VM Network Controller, rev 65
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:02:a5:b4:ce:e9
inphy0 at fxp0 phy 1: i82562EM 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
esa0 at pci2 dev 9 function 0: ESS Technology Allegro-1 PCI Audio Accelerator (rev. 0x12)
esa0: interrupting at irq 11
esa0: ac97: ESS Technology ES1921 codec; 20 bit DAC, 20 bit ADC, ESS Technology
esa0: ac97: ext id 2<DRA>
audio0 at esa0: full duplex, mmap, independent
cbb0: enabling read/write bursts
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
cbb1: read/write bursts enabled
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4
pcmcia1 at cardslot1
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CAM LPC Interface (rev. 0x01)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801CA IDE Controller (ICH3) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
esa0: hardware volume interrupt
esa0: esa_intr: FIXME
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
Too many symbols for tree, skipping 1350 symbols
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
wd0 at atabus0 drive 0: <SAMSUNG HM080HC>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <SD-R2002, , 1A25> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
cd0(piixide0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Medium Not Present

acpibat0: battery info:  COMPAQ , LIon, Primary 0000004D4622660085
acpiacad0: AC adapter offline.
acpilid0: lid opened.
acpilid0: lid closed.
acpiacad0: AC adapter online.
wi0 at pcmcia0 function 0: <Lucent Technologies, WaveLAN/IEEE, Version 01.01, >
wi0: 802.11 address 00:60:1d:f0:84:38
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (4.32.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
acpilid0: lid opened.

    Bernhard  //
            \X/