Networking :: Loading ath_pci



I'd like to do the equivalent of manually reinstalling my wireless card via xterm. I've tried rmmod ath_pci, modprobe ath_pci, which works sometimes but not after the laptop returns from suspend mode.  Going into suspend mode shuts down my wireless card, and I have to reinstall the card manually before running my iwconfig script.
I while ago, I saw an application called "hibernate" (or something like that) which allowed you to unload and load drivers prior to and after suspend.
....gotta be a way to do this without software.   I have a hunch that the problem is that although I need to reload the driver after returning from suspend mode, there's no way to unload it without physically removing the card.  Thus, rmmod ath_pci generates a "device or resource busy" error.  Note that the light on the card is off upon return from suspend.
I believe apm handles suspend in a different way to acpi - there are various parameters to set for suspend with acpi (eg cat /sys/power/state = mem if suspend is supported, ACPI_SLEEP KERNEL_CONFIG set in .config) but maybe apm handles suspend almost entirely in bios?
Edit:  former response posted twice
Next Page...
original here.