From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 9 12:54:23 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE94716A419; Fri, 9 Jun 2006 12:54:23 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E7443D73; Fri, 9 Jun 2006 12:54:23 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k59CsKuh086886; Fri, 9 Jun 2006 08:54:21 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Fri, 9 Jun 2006 08:20:33 -0400 User-Agent: KMail/1.9.1 References: <20060604200834.8db4782c.nork@FreeBSD.org> In-Reply-To: <20060604200834.8db4782c.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606090820.33793.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 09 Jun 2006 08:54:21 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1523/Fri Jun 9 03:10:10 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Norikatsu Shigemura Subject: Re: FYI: Panasonic Toughbook CF-R4 can suspend/resume 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: Fri, 09 Jun 2006 12:54:24 -0000 On Sunday 04 June 2006 07:08, Norikatsu Shigemura wrote: > I confirmed 3rd generation CF-R4 (Panasonic Toughbook/ > Let's Note series, 2006 Spring Model) can suspend/resume:-) > with following settings. > > Add to /boot/loader.conf > - - - - - - - - - - - - - - - - > hint.apic.0.disabled="1" > hint.psm.0.flags="0x2000" > - - - - - - - - - - - - - - - - Does it work if you don't disable APIC? > And, mita-san (mita@FreeBSD.org) has CF-W4 (3rd > generation). It can suspend/resume:-), too. But Ume-san > (ume@) has CF-R4(1st generation), it cannot suspend/resume:-(. > Takahashi-san(nyan@) has CF-R3, same too:-(. > > I read /usr/src/sys/i386/i386/io_apic.c, and I'm suprised > following code: > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > #define TODO printf("%s: not implemented!\n", __func__) > > static void > ioapic_suspend(struct intsrc *isrc) > { > TODO; > } > > static void > ioapic_resume(struct intsrc *isrc) > { > ioapic_program_intpin((struct ioapic_intsrc *)isrc); > } > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > Hum.................... It's actually implemented. However, the atpic isn't being reinitialized on resume and that's probably the problem. -- John Baldwin