From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 07:16:49 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BFCC1065674 for ; Wed, 30 Mar 2011 07:16:49 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC2D8FC19 for ; Wed, 30 Mar 2011 07:16:49 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 2C624398B3; Wed, 30 Mar 2011 08:58:28 +0200 (CEST) Date: Wed, 30 Mar 2011 08:58:28 +0200 From: Lars Engels To: Josh Paetzel Message-ID: <20110330065828.GI27936@e.0x20.net> References: <201103281250.09703.josh@tcbug.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sl5MdczEF/OU2Miu" Content-Disposition: inline In-Reply-To: <201103281250.09703.josh@tcbug.org> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-mobile@freebsd.org Subject: Re: Suspect/Resume success on Lenovo T510 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 07:16:49 -0000 --sl5MdczEF/OU2Miu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2011 at 12:50:05PM -0500, Josh Paetzel wrote: > I've had such bad luck with suspend and resume working on FreeBSD laptop = that=20 > I didn't even try it on my new lenovo T510 and just assumed it was broken. >=20 > 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 w= as=20 > the mouse. I'm running moused, and a simple /etc/rc.d/moused restart fix= ed=20 > that. >=20 > Nvidia discreet video, intel 6100 wireless using iwn, PC-BSD 8.2=20 >=20 > rc.resume: >=20 > /usr/sbin/wpa_cli reassociate > ifconfig em0 down > ifconfig em0 up > sleep 1 > dhclient lagg0 > /etc/rc.d/moused restart >=20 > logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'` > sync && sync && sync >=20 > exit 0 I think moused should be restarted on every machine that wakes up. Maybe this should be added to rc.resume: /etc/rc.d/moused forcestatus > /dev/null 2>&1 && /etc/rc.d/moused forcerest= art --sl5MdczEF/OU2Miu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAk2S1JMACgkQKc512sD3afhs5QCeILFdk5e7EscwPCL5xu/mXF2d qscAn11UiWZpQu04VDEfVrjdebf19mU3 =+gXm -----END PGP SIGNATURE----- --sl5MdczEF/OU2Miu--