From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 26 18:55:32 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D93E106564A for ; Thu, 26 Jun 2008 18:55:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id A17F58FC30 for ; Thu, 26 Jun 2008 18:55:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5QItI1v076798; Thu, 26 Jun 2008 14:55:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Christopher Sean Hilton Date: Thu, 26 Jun 2008 14:55:06 -0400 User-Agent: KMail/1.9.7 References: <66563A20-95EB-443C-97DF-72761D2CEE4B@vindaloo.com> <200806260838.19933.jhb@freebsd.org> <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> In-Reply-To: <32757427-BB7F-4400-BFE3-65B0ABE0E4DD@vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806261455.06561.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 26 Jun 2008 14:55:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7572/Thu Jun 26 12:25:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: HP compaq nc6230 lockup on 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: Thu, 26 Jun 2008 18:55:32 -0000 On Thursday 26 June 2008 01:47:35 pm Christopher Sean Hilton wrote: > > On Jun 26, 2008, at 8:38 AM, John Baldwin wrote: > > > On Wednesday 25 June 2008 06:50:04 pm Christopher Sean Hilton wrote: > >> Hi, > >> > >> I'd love to have this thing actually suspend/resume but I'm out of > >> tricks as to how to get it working. > > > > My nc6220 needs an ATA patch to resume. Otherwise it loses all its > > ATA > > devices on resume. > > > > http://people.freebsd.org/~jhb/patches/ata_resume.patch > > > > Okay, good progress at least. > > With the ata_resume.patch that you provided I can get the > machine to suspend and resume but the video doesn't come back. > However, the caps and numlock keys are doing their jobs and the > keyboard works on the console so I can login and shutdown saving > myself an fsck after the reboot. > > Enabling hw.acpi.reset_video causes a hard hang on resume. > > I enabled comconsoles to get a better idea of what was going on. > On the console when I resume the bge driver complains about write and > read time outs. Then initialization fails. Shortly after that the > keyboard works again. My plan is to cut the bge driver out of the > kernel and see if that makes things better although I'm not sure what > to do about the lack of video. Yes, I haven't gotten bge to resume yet. I've tried resuming brgphy, etc. but still no dice. For video, use acpi_video and try forcing the lcd on in /etc/rc.resume via hw.acpi.video.lcd0.active=1. -- John Baldwin