Any success with Lenovo T60
YAMAMOTO, Taku
taku at tackymt.homeip.net
Thu May 28 11:18:53 UTC 2009
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 at init-main.com> wrote:
> In message <20090528191311.b68ab3b7.taku at tackymt.homeip.net>, "YAMAMOTO, Taku"
> wrote:
> >On Thu, 28 May 2009 18:52:08 +0900
> >Takanori Watanabe <takawata at init-main.com> wrote:
> >
> >> In message <20090528184537.b2ac4798.taku at 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 at tackymt.homeip.net>
- A chicken is an egg's way of producing more eggs. -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: takawata-mpresume-r189903.patch
Type: text/x-diff
Size: 8874 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20090528/54b9cc1d/takawata-mpresume-r189903.bin
More information about the freebsd-mobile
mailing list