unload and load kernel-modules for suspend

Louis E Garcia II louisg00 at bellsouth.net
Thu Oct 12 20:41:40 UTC 2006


On Thu, 2006-10-12 at 14:32 -0400, Louis E Garcia II wrote:
> What is the best way to unload a kernel module for suspending and then
> load it after resume? I presume it's one of the pm-utils scripts?
> 
> I just need a /sbin/modprobe -r <module> and /sbin/modprobe <module>
> 
> this is for an out of tree driver.
> 
> Thanks, -Louis
> 
> 

/etc/pm/hooks/ looks to be the right place. Seems similar to an
initscript.

-Louis





More information about the users mailing list