Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 12:50:05 -0500
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-mobile@freebsd.org
Subject:   Suspect/Resume success on Lenovo T510
Message-ID:  <201103281250.09703.josh@tcbug.org>

next in thread | raw e-mail | index | archive | help
--nextPart1812882.KVGsEVgVny
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I've had such bad luck with suspend and resume working on FreeBSD laptop th=
at=20
I didn't even try it on my new lenovo T510 and just assumed it was broken.

Then the power failed this weekend and it went to sleep to conserve the=20
battery.  I tried waking it up and the only thing that didn't come back was=
=20
the mouse.  I'm running moused, and a simple /etc/rc.d/moused restart fixed=
=20
that.

Nvidia discreet video, intel 6100 wireless using iwn, PC-BSD 8.2=20

rc.resume:

/usr/sbin/wpa_cli reassociate
ifconfig em0 down
ifconfig em0 up
sleep 1
dhclient lagg0
/etc/rc.d/moused restart

logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'`
sync && sync && sync

exit 0

=2D-=20
Thanks,

Josh Paetzel

--nextPart1812882.KVGsEVgVny
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAABAgAGBQJNkMpRAAoJEKFq1/n1feG2AOkH/jMev/yvMHREJ2jCbDpbbymv
OKsWCf7ijmxHuIPsUHlF+p2m3H/eO3vCr7enCOVWDGEmfR6GPaaMlTgt3ggo422l
ArwieY1K8AaR/34G3fjQI6aIrpe8fL/PySDDUfQGjyhzrhPhwb5s8nfqiHr2Wete
CYi9aEvv4zBo5NaSo2di0rC2GktfwAzOHA8WQcHTolj0OrSBGNfQYOSazOelHu1D
cVOpwDLwZf7GBVjGMqvXLmPZH3hfsXLgoiw706jLBmnjLe3FlY7L5cSAmpNpLqCC
z7Vw8y8vUNlf3VM0GtvruzYh74+x3NBTOV/KZrYnyhMVOsIrO8fea2TzqXb9j2o=
=/bLi
-----END PGP SIGNATURE-----

--nextPart1812882.KVGsEVgVny--



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