From owner-freebsd-mobile Sat Dec 14 22:41:25 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B37637B401 for ; Sat, 14 Dec 2002 22:41:24 -0800 (PST) Received: from aurora.peterson.ath.cx (12-254-245-65.client.attbi.com [12.254.245.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9EB543EB2 for ; Sat, 14 Dec 2002 22:41:23 -0800 (PST) (envelope-from jlp@softhome.net) Received: from localhost (localhost [127.0.0.1]) by aurora.peterson.ath.cx (Postfix) with ESMTP id A3FF0C554A; Sat, 14 Dec 2002 23:40:53 -0700 (MST) Date: Sat, 14 Dec 2002 23:40:53 -0700 (MST) From: "Jan L. Peterson" X-X-Sender: jlp@peterson.ath.cx To: paul beard Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: how to load/unload modules at suspend/resume? In-Reply-To: <3DFC1177.3060108@mac.com> Message-ID: <20021214233943.C1200-100000@peterson.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > So now I have worked out that if I can send a "kldunload snd_pcm > && kldunload snd_csa" at suspend and the reverse (kldload) at > resume, everything will be fine. Check out /etc/rc.suspend and /etc/rc.resume... I use them to turn my PCMCIA wireless card off and on at suspend and resume time, which lets me suspend while in one wireless realm and resume in another without having to fiddle around after resume (it just works). -jan- -- Jan L. Peterson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message