From owner-freebsd-acpi@FreeBSD.ORG Thu May 28 09:45:55 2009 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D886B106566B; Thu, 28 May 2009 09:45:55 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from basalt.tackymt.homeip.net (unknown [IPv6:2001:3e0:577:0:20d:61ff:fecc:2253]) by mx1.freebsd.org (Postfix) with ESMTP id 5884C8FC08; Thu, 28 May 2009 09:45:55 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from localhost (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id AD5C110748; Thu, 28 May 2009 18:45:53 +0900 (JST) X-Virus-Scanned: amavisd-new at tackymt.homeip.net Received: from localhost ([127.0.0.1]) by localhost (basalt.tackymt.homeip.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a0LIazJdXayh; Thu, 28 May 2009 18:45:40 +0900 (JST) Received: from biotite (unknown [IPv6:2001:200:148:301:216:cfff:febc:1472]) by basalt.tackymt.homeip.net (Postfix) with ESMTP; Thu, 28 May 2009 18:45:40 +0900 (JST) Date: Thu, 28 May 2009 18:45:37 +0900 From: "YAMAMOTO, Taku" To: vova@fbsd.ru Message-Id: <20090528184537.b2ac4798.taku@tackymt.homeip.net> In-Reply-To: <1243346852.2384.62.camel@localhost> References: <1243346852.2384.62.camel@localhost> Organization: Trans New Technology, Inc. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__28_May_2009_18_45_37_+0900_vTiVoHcAFd4HRcme" Cc: acpi@freebsd.org, mobile@freebsd.org Subject: Re: Any success with Lenovo T60 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 09:45:56 -0000 This is a multi-part message in MIME format. --Multipart=_Thu__28_May_2009_18_45_37_+0900_vTiVoHcAFd4HRcme Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Vladimir, I have an X60 running 8.0-current/i386 as of Apr. 29, 2009 which can successfully suspend and resume, though things may be a bit different from your case. There were a couple of pitfalls which I ran into: 0. Pristine kernels for i386 SMP don't support the resume yet. We can either use amd64 ones, stick on i386 UP kernels or apply unofficial patch floating around. 1. DO NOT DISABLE the built-in modem! (It took almost 2 weeks to identify!) Disabling it ends up with hanging machine on resume. 2. Disable the USB while suspending; otherwise NMI parity error occurs on resume. (usb2 stack only; the old USB stack didn't have this problem) In rc.suspend (the magic to turn the root hubs off): usbconfig -a 1 set_config 255 In rc.resume (the magic to turn the root hubs on again): usbconfig -a 1 set_config 0 Cheers, -- -|-__ YAMAMOTO, Taku | __ < - A chicken is an egg's way of producing more eggs. - --Multipart=_Thu__28_May_2009_18_45_37_+0900_vTiVoHcAFd4HRcme Content-Type: text/plain; name="dmesg-biotite.log" Content-Disposition: attachment; filename="dmesg-biotite.log" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #181: Thu May 7 08:46:45 JST 2009 yamamoto@biotite:/home/yamamoto/work/build/biotite/usr/src/sys/BIOTITE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant real memory = 1073741824 (1024 MB) avail memory = 1032323072 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 102C/0 [20070320] ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard no match for ZwOpenKey no match for IoOpenDeviceRegistryKey no match for ZwCreateKey no match for ZwDeleteKey acpi0: on motherboard acpi0: [ITHREAD] acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 1100 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x1807 mem 0xee100000-0xee17ffff,0xd0000000-0xdfffffff,0xee200000-0xee23ffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: mem 0xee180000-0xee1fffff at device 2.1 on pci0 hdac0: mem 0xee240000-0xee243fff irq 17 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090401_0132 hdac0: [ITHREAD] pcib1: irq 20 at device 28.0 on pci0 pci2: on pcib1 em0: port 0x2000-0x201f mem 0xee000000-0xee01ffff irq 16 at device 0.0 on pci2 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:16:d3:2f:f4:65 pcib2: irq 21 at device 28.1 on pci0 pci3: on pcib2 ndis0: <11a/b/g/n Wireless LAN Mini-PCI Express Adapter> mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3 ndis0: [ITHREAD] ndis0: NDIS API version: 5.1 pcib3: irq 22 at device 28.2 on pci0 pci4: on pcib3 pcib4: irq 23 at device 28.3 on pci0 pci12: on pcib4 uhci0: port 0x1820-0x183f irq 16 at device 29.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0x1840-0x185f irq 17 at device 29.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0x1880-0x189f irq 19 at device 29.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xee444000-0xee4443ff irq 19 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 pcib5: at device 30.0 on pci0 pci21: on pcib5 cbb0: mem 0xe4300000-0xe4300fff irq 16 at device 0.0 on pci21 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [FILTER] pci21: at device 0.1 (no driver attached) sdhci0: mem 0xe4301800-0xe43018ff irq 18 at device 0.2 on pci21 sdhci0: 1 slot(s) allocated sdhci0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] atapci1: port 0x18d0-0x18d7,0x18c4-0x18c7,0x18c8-0x18cf,0x18c0-0x18c3,0x18b0-0x18bf mem 0xee444400-0xee4447ff irq 16 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI called from vendor specific driver atapci1: AHCI Version 01.10 controller with 4 ports PM not supported ata2: on atapci1 ata2: [ITHREAD] ichsmb0: port 0x18e0-0x18ff irq 23 at device 31.3 on pci0 ichsmb0: [ITHREAD] smbus0: on ichsmb0 smb0: on smbus0 acpi_dock0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 acpi_ibm0: on acpi0 cpu0: on acpi0 coretemp0: on cpu0 est0: on cpu0 cpu1: on acpi0 coretemp1: on cpu1 est1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xcf000-0xcffff,0xd0000-0xd0fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 sc0: on isa0 sc0: VGA <12 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0 at vga0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ad0: 114473MB at ata2-master SATA150 hdac0: HDA Codec #0: Analog Devices AD1981HD hdac0: HDA Codec #1: Conexant (Unknown) pcm0: at cad 0 nid 1 on hdac0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 SMP: AP CPU #1 Launched! Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered Trying to mount root from ufs:/dev/ad0s1a ugen3.2: at usbus3 WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD. --Multipart=_Thu__28_May_2009_18_45_37_+0900_vTiVoHcAFd4HRcme--