---------- Forwarded message ----------
From: George Fischer <ge.fischer at gmail.com>
Date: Tue, 22 Feb 2005 13:10:11 -0600
Subject: Re: [tclug-list] wrong kernel module loaded for wireless card
To: "John T. Hoffoss" <john.t.hoffoss at gmail.com>


I could be wrong (it's actually likely), but I don't think this is
where I need to be.  Since the wg511 is a 32 Cardbus card, my
understanding is that the pcmcia stuff doesn't apply so much.  Since
the cardbus card is treated as a PCI device, I've been trying to get
my head around
/etc/hotplug/pci.agent
and it seemed to me that the device database was built at the time the
kernel was compiled (I'm using the stock Debian 2.6.10 kernel for
i686).

Now I'm looking at
/lib/modules/2.6.10-1-686/modules.pcimap
and I'm not so sure.

If I change the line in modules.pcimap that lists my card
prism54              0x00001260 0x00003890 0xffffffff 0xffffffff
0x00000000 0x00000000 0x0
to
ndiswrapper        0x00001260 0x00003890 0xffffffff 0xffffffff
0x00000000 0x00000000 0x0

would that fix it?  Is that the file that is read during the hotplug event?


On Tue, 22 Feb 2005 12:02:12 -0600, John T. Hoffoss
<john.t.hoffoss at gmail.com> wrote:
> On Tue, 22 Feb 2005 11:37:26 -0600, George Fischer <ge.fischer at gmail.com> wrote:
> > Right now I just
> > $ modprobe -r prism54
> > $ modprobe ndiswrapper
> > to get it to work, but I'd like the correct driver to load the first time.
> >
> > I have been unable to figure out if there is a way to easily change
> > what hotplug loads.  Anyone have any advice?
>
> Not sure, but for Gentoo there's a file, /etc/pcmcia/default[s?] that
> lists each card ID and the module it will probe. Check there, or the
> other miscellaneous configuration files associated with pcmcia-cs.
> Once you find the entry for your card (lspci may help with this) you
> should be able to change prism54 to ndiswrapper.
>

--
George Fischer
Minneapolis


-- 
George Fischer
Minneapolis