Date: Sat, 14 Dec 2002 21:21:59 -0800 From: paul beard <paulbeard@mac.com> To: freebsd-mobile@FreeBSD.ORG Subject: how to load/unload modules at suspend/resume? Message-ID: <3DFC1177.3060108@mac.com>
next in thread | raw e-mail | index | archive | help
I have finally figured out what I need to do for sound to work on my ThinkPad A20. My first mistake was compiling the module into the kernel: kinda makes it hard for the kernel to detach/attach devices and drivers if you do that. 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. But how to do that? I thought it was done in apmd.conf, but that hasn't paid off so far. What am I missing? -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: <http://paulbeard.no-ip.org/paulbeard.html> Weiner's Law of Libraries: There are no answers, only cross references. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DFC1177.3060108>