module loading ignores install script
o.finnendahl at mh-freiburg.de
Sun Jan 24 09:11:16 EST 2010
I'm trying to convince my laptop to start a custom script on
inserting a pc express audio interface card.
The card is a special soundcard which needs (and loads) a module
I added an "install" option into a modprobe.d/... config file which
loads the module and executes the script afterwards. Using "modprobe
snd-hdsp" works as expected: It loads the module *and* executes the
When I unload the module and insert the pc express card, the
module snd-hdsp gets loaded automatically, but the script isn't
executed. Doing "rmmod snd-hdsp && modprobe snd-hdsp" executes the
script. Somehow the pcmcia hotplug mechanism seems to circumvent the
Where do I have to tell the hotplug system to actually execute the
script when inserting the card?
BTW: The laptop is on Ubuntu 8.10, kernel 2.6.27-16
Let me know if you need more information.
Thx in advance,
More information about the linux-pcmcia