[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stop autoloading of prism54 module



Hi Chris,

On Wed, Sep 14, 2005 at 12:15:25PM +0200, Chris wrote:
> 
> Using a 3com wireless card.
> 
> It doesn't work with the prism54 module (none of the firmwares from
> prism54.org work with it) - and googling on it suggests that they
> changed the chipset - but not the part number or other identifiers.
> 
> However - the card works just fine with ndiswrapper.
> 
> So - I have added the config to /etc/network/interfaces and added 
> 
> pre-up modprobe ndiswrapper
> post-down rmmod ndiswrapper
> 
> as part of that - works just fine too.

Good!
> 
> Only question I have left is that when you first plug the card into
> the PCMCIA slot something loads the prism54 driver. So - the first
> time I have to manually rmmod prism54 before I can ifup wlan0.
> 
> I've looked in /etc/pcmcia (cardmgr) and /etc/hotplug (hotplug) - I
> can't find anything mentioning prism54 at all.

I think the entry is somewhere in 
/lib/modules/<kernel-version>/modules.*map ,
containing the module name and the vendor and product id.
However, don't change this. Just add a new line with the module name to
/etc/hotplug/blacklist
and hotplug won't load this module any more.
> 
> In the logs all I get is:
> 
> Sep 12 17:53:18 localhost kernel: Loaded prism54 driver, version 1.2
> Sep 12 17:53:18 localhost kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
> Sep 12 17:53:18 localhost kernel: ACPI: PCI interrupt 0000:03:00.0[A] -> GSI 11 (level, low) -> IRQ 11
> Sep 12 17:53:18 localhost pci.agent[6500]:      prism54: loaded successfully
> 
> All I want is to stop the prism54 module from loading at card insert
> time - any hints as to what is causing this gratefully received.
> 
> -- 
> Chris
> 
HTH
-- 
Joachim Fahnenmüller



Reply to: