Date: Thu, 28 May 2009 20:18:44 +0900 From: "YAMAMOTO, Taku" <taku@tackymt.homeip.net> To: Takanori Watanabe <takawata@init-main.com> Cc: acpi@freebsd.org, mobile@freebsd.org Subject: Re: Any success with Lenovo T60 Message-ID: <20090528201844.7df2e164.taku@tackymt.homeip.net> In-Reply-To: <200905281022.n4SAMdxr065296@sana.init-main.com> References: <20090528191311.b68ab3b7.taku@tackymt.homeip.net> <200905281022.n4SAMdxr065296@sana.init-main.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart=_Thu__28_May_2009_20_18_44_+0900_2JXH5XYx0UfrcBzn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. On Thu, 28 May 2009 19:22:39 +0900 Takanori Watanabe <takawata@init-main.com> wrote: > In message <20090528191311.b68ab3b7.taku@tackymt.homeip.net>, "YAMAMOTO, Taku" > wrote: > >On Thu, 28 May 2009 18:52:08 +0900 > >Takanori Watanabe <takawata@init-main.com> wrote: > > > >> In message <20090528184537.b2ac4798.taku@tackymt.homeip.net>, "YAMAMOTO, Tak > >u" > >> wrote: > >> >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 > >> > > >> > >> Is the SMP/i386 patch applied cleanly? > >> Lazy author does not tried that since then. > > > >No, it requires slight modifications to apply, but that's it. > >Would it be worth to have it available somewhere? > > Yes, please. I want to review it. -- -|-__ YAMAMOTO, Taku | __ < <taku@tackymt.homeip.net> - A chicken is an egg's way of producing more eggs. - --Multipart=_Thu__28_May_2009_20_18_44_+0900_2JXH5XYx0UfrcBzn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090528201844.7df2e164.taku>