From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 3 08:48:31 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4870D1065677; Wed, 3 Jun 2009 08:48:31 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7176C8FC19; Wed, 3 Jun 2009 08:48:29 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id n538mJhi003185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Jun 2009 12:48:21 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MBm8x-0006m9-Aa; Wed, 03 Jun 2009 12:48:19 +0400 From: Vladimir Grebenschikov To: "YAMAMOTO, Taku" In-Reply-To: <20090528201844.7df2e164.taku@tackymt.homeip.net> References: <20090528191311.b68ab3b7.taku@tackymt.homeip.net> <200905281022.n4SAMdxr065296@sana.init-main.com> <20090528201844.7df2e164.taku@tackymt.homeip.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 03 Jun 2009 12:48:19 +0400 Message-Id: <1244018899.1784.45.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org, Takanori Watanabe , mobile@freebsd.org Subject: Re: Any success with Lenovo T60 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 08:48:31 -0000 Hi > I'll attach the patch in a Triaez fashion :) > though I don't think this is the way to go. > # We need to implement suspend_cpus() for i386 and utilize it. Just tested patch with modem suggestion on my T60. Kind of success, If I boot kernel without modules and then do suspend It resumes, and kind of 'lived' after that (everything expect display). If I had X on another vt I can switch here and it works fine. On switch back to console I get again black screen (no even backlight). hw.acpi.reset_video=1 makes difference, now after wake-up there is backlight, even sometimes just after wake-up it shows previous screen for a moment then makes it black again (but with backlight). Only switching to X reconfigures video mode again. If I try to suspend with modules loaded it does not wake up. (need to dig what module is problem) Any hints are very appreciated. PS. fresh 8-CURRENT, recent ports, patch from this thread. -- Vladimir B. Grebenschikov vova@fbsd.ru