Suspect/Resume success on Lenovo T510
Josh Paetzel
josh at tcbug.org
Mon Mar 28 18:06:24 UTC 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20110328/0b3bd2c0/attachment.pgp
More information about the freebsd-mobile
mailing list