Suspect/Resume success on Lenovo T510

Josh Paetzel <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
I've had such bad luck with suspend and resume working on FreeBSD laptop that 
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 
battery.  I tried waking it up and the only thing that didn't come back was 
the mouse.  I'm running moused, and a simple /etc/rc.d/moused restart fixed 
that.

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

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

-- 
Thanks,

Josh Paetzel
signature.asc (application/pgp-signature, 488 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.