Re: how to load/unload modules at suspend/resume?
paul beard <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
Greg Troxel wrote: > Given that you need to unload and reload the sound driver, I wonder if > that is a symptom that some of the control registers are not being > saved and restored properly across a suspend. I ran into this problem > on a 600E. well, i added some stuff to apmd.conf to exec a couple of kldload/kldunload statements. It still doesn't work upon resume and when I tried loading and unloading it crashed the laptop. I'll try it again but *after* I send this. I confess to some confusion: I can't figure out what comes first, rc.suspend/resume or apmd. There are zzz commands in all of them: I was thinking there was something that listened for zzz and then got things in order before suspending. I guess I should stop being lazy and write a suspend script and have done with this. -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: <http://paulbeard.no-ip.org/paulbeard.html> FreeBSD: Have you had your fairings today? To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-mobile" in the body of the message