From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 19:02:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3FD910656C5 for ; Tue, 24 Mar 2009 19:02:53 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 919438FC14 for ; Tue, 24 Mar 2009 19:02:53 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-156-31-142.bna.bellsouth.net [70.156.31.142]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2OJ1QFw021989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Mar 2009 15:01:26 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Brandon Gooch In-Reply-To: <179b97fb0903240906w19629407u36fb737348f2a41e@mail.gmail.com> References: <1236802980.00085518.1236789602@10.7.7.3> <49BEE5BC.30703@FreeBSD.org> <200903162053.28614.jkim@FreeBSD.org> <179b97fb0903231416j4659101eu88dcc5ecf578167b@mail.gmail.com> <49C8FA92.7020104@entel.upc.edu> <179b97fb0903240906w19629407u36fb737348f2a41e@mail.gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-mNS+hGhHQH9zJXsdDkUo" Organization: FreeBSD Date: Tue, 24 Mar 2009 14:02:22 -0500 Message-Id: <1237921342.1859.4.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Gustau Perez , freebsd-current@freebsd.org Subject: Re: [HEADSUP] amd64 suspend/resume code to be comitted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 19:02:54 -0000 --=-mNS+hGhHQH9zJXsdDkUo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-03-24 at 11:06 -0500, Brandon Gooch wrote: > On Tue, Mar 24, 2009 at 10:21 AM, Gustau Perez wro= te: > > Brandon Gooch wrote: > >> > >> On Mon, Mar 16, 2009 at 7:53 PM, Jung-uk Kim wrote: > >> > >>> > >>> On Monday 16 March 2009 07:50 pm, Alexander Motin wrote: > >>> > >>>> > >>>> Jung-uk Kim wrote: > >>>> > >>>>> > >>>>> With popular demands, I will commit the following patch in next > >>>>> few days unless a showstopper is found or "over-my-dead-body" > >>>>> type of review is received. ;-) > >>>>> > >>>>> http://people.freebsd.org/~jkim/amd64_suspend-20090311.diff > >>>>> > >>>>> FYI, it was originally posted here: > >>>>> > >>>>> http://docs.freebsd.org/cgi/mid.cgi?200810211228.31028.jkim > >>>>> > >>>>> and here: > >>>>> > >>>>> http://docs.freebsd.org/cgi/mid.cgi?200812102120.03788.jkim > >>>>> > >>>>> Please read the original threads for more information about the > >>>>> patch. > >>>>> > >>>> > >>>> Have just retested this with just updated 8-CURRENT. Still works > >>>> fine as before with my Acer TM6292 > >>>> (Core2Duo+i965GM+ICH8M+bge+iwn+sdhci amd64 SMP). Writing this > >>>> letter just after successful resume. > >>>> > >>>> There is still some DRI resume problems (will try one rnoland@ > >>>> patch tomorrow) and my touch pad does not wakes up for some reason, > >>>> but that is probably unrelated. > >>>> > >>> > >>> I went ahead and committed slightly different version. Please resync > >>> the source if you tested the old version. > >>> > >>> Cheers, > >>> > >>> Jung-uk Kim > >>> _______________________________________________ > >>> freebsd-current@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>> To unsubscribe, send any mail to > >>> "freebsd-current-unsubscribe@freebsd.org" > >>> > >>> > >> > >> > > > > Hi there, > > > > in my Latitude D630 with 8-0 current updated this morning (+1 UTC) it = seems > > is trying to worOn Tue, 2009-03-24 at 11:06 -0500, Brandon Gooch wrote: On Tue, Mar 24, 2009 at 10:21 AM, Gustau Perez wrote: > > Brandon Gooch wrote: > >> > >> On Mon, Mar 16, 2009 at 7:53 PM, Jung-uk Kim wrote: > >> > >>> > >>> On Monday 16 March 2009 07:50 pm, Alexander Motin wrote: > >>> > >>>> > >>>> Jung-uk Kim wrote: > >>>> > >>>>> > >>>>> With popular demands, I will commit the following patch in next > >>>>> few days unless a showstopper is found or "over-my-dead-body" > >>>>> type of review is received. ;-) > >>>>> > >>>>> http://people.freebsd.org/~jkim/amd64_suspend-20090311.diff > >>>>> > >>>>> FYI, it was originally posted here: > >>>>> > >>>>> http://docs.freebsd.org/cgi/mid.cgi?200810211228.31028.jkim > >>>>> > >>>>> and here: > >>>>> > >>>>> http://docs.freebsd.org/cgi/mid.cgi?200812102120.03788.jkim > >>>>> > >>>>> Please read the original threads for more information about the > >>>>> patch. > >>>>> > >>>> > >>>> Have just retested this with just updated 8-CURRENT. Still works > >>>> fine as before with my Acer TM6292 > >>>> (Core2Duo+i965GM+ICH8M+bge+iwn+sdhci amd64 SMP). Writing this > >>>> letter just after successful resume. > >>>> > >>>> There is still some DRI resume problems (will try one rnoland@ > >>>> patch tomorrow) and my touch pad does not wakes up for some reason, > >>>> but that is probably unrelated. > >>>> > >>> > >>> I went ahead and committed slightly different version. Please resync > >>> the source if you tested the old version. > >>> > >>> Cheers, > >>> > >>> Jung-uk Kim > >>> _______________________________________________ > >>> freebsd-current@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>> To unsubscribe, send any mail to > >>> "freebsd-current-unsubscribe@freebsd.org" > >>> > >>> > >> > >> > > > > Hi there, > > > > in my Latitude D630 with 8-0 current updated this morning (+1 UTC) it seems > > is trying to wor > k. It has no xorg, just text console. > > > > First got to compile if_bge as a module, kldunloading it before acpico= nf -s > > 3. With if_bge compiled in the kernel I started to see some bge0 : ... = PHY > > read timeout, and then the machine freezed. > > > > Then, when resuming I got no video(but the keyboard was working, I was= able > > to echo "Hi there" > /tmp/prova with success!). I tried hw.acpi.reset_v= ideo > > with no success. The other one I tried was debug.acpi.suspend_bounce. N= o > > luck. > > > > Do you have any alternatives I can try ? > > > > Greets, > > > > Gus > > > > PD : is there any plan to work it to i386 ? > >> > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.= org" > >> > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" > > >=20 > For now, it seems X is required. The "switch-to-VTY-and-back-again" > solution works for me: Yes, drm has all the magic to save off the card state pre/post suspend. robert. > http://www.freebsd.org/doc/en/articles/laptop/power-management.html >=20 > In my /etc/rc.suspend: >=20 > ... > /usr/sbin/vidcontrol -s 1 < /dev/console > ... >=20 > In my /etc/rc.resume: >=20 > ... > /usr/sbin/vidcontrol -s 9 < /dev/console > ... >=20 > I've also seen various posts in forums and on mailing lists > about using the "vbetool" program (in ports), but I haven't messed > with it myself. >=20 > See here for more detail on this issue (under "Low Priority Tasks"): >=20 > http://www.freebsd.org/projects/acpi/#todo-list >=20 > -Brandon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Robert Noland FreeBSD --=-mNS+hGhHQH9zJXsdDkUo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknJLj4ACgkQM4TrQ4qfROOUawCbBAwbI8wU3nVOTtwnCbvy4l/F VUIAnAmVFgotyxjWp7zlLRRrCWqf56F9 =d6If -----END PGP SIGNATURE----- --=-mNS+hGhHQH9zJXsdDkUo--