Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 14:02:22 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        Gustau Perez <gperez@entel.upc.edu>, freebsd-current@freebsd.org
Subject:   Re: [HEADSUP] amd64 suspend/resume code to be comitted
Message-ID:  <1237921342.1859.4.camel@balrog.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <gperez@entel.upc.edu> wro=
te:
> > Brandon Gooch wrote:
> >>
> >> On Mon, Mar 16, 2009 at 7:53 PM, Jung-uk Kim <jkim@freebsd.org> 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 <gperez@entel.upc.edu>
wrote:
> > Brandon Gooch wrote:
> >>
> >> On Mon, Mar 16, 2009 at 7:53 PM, Jung-uk Kim <jkim@freebsd.org>
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 <rnoland@FreeBSD.org>
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1237921342.1859.4.camel>