Can't control what module is loaded for a Prism2 card
Bug #31075 reported by
Andrew Jorgensen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcmciautils (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
There are at least three modules which handle the prism2 chipset on pcmcia: orinoco_cs, hostap_cs, and prism2_cs. I can't find any way to control which is used. The documentation for pcmciautils says it's handled by hotplug, which isn't used on dapper, or udev. Reality suggests that it's probably still controlled by the config files installed by pcmcia-cs.
I have tried replacing every mention of orinoco_cs in /etc/pcmcia with hostap_cs and what I get is that both orinoco_cs and hostap_cs are loaded but orinoco_cs gets the device.
The hostap driver is supported by wpasupplicant. The orinoco driver is not.
To post a comment you must log in.
On Fri, Feb 10, 2006 at 06:15:52PM -0000, Andrew Jorgensen wrote:
> There are at least three modules which handle the prism2 chipset on
> pcmcia: orinoco_cs, hostap_cs, and prism2_cs. I can't find any way to
> control which is used.
Add the ones you don't want to /etc/modprobe. d/blacklist.
> The documentation for pcmciautils says it's handled by hotplug, which
> isn't used on dapper, or udev. Reality suggests that it's probably
> still controlled by the config files installed by pcmcia-cs.
I think that version of reality is unlikely. :-) Nowadays the kernel is
responsible for mapping PCMCIA devices to drivers, and gets udev to load
the appropriate kernel modules. pcmcia-cs is only still there for a few
corner cases that don't apply to you, and cardmgr is no longer actually
run with the current kernel.
> The hostap driver is supported by wpasupplicant. The orinoco driver is
> not.
Yeah, sadly there is no sane default that works well for everyone here. d/blacklist.
If whatever the kernel picks doesn't work well for you then you need to
tell it otherwise using /etc/modprobe.
--
Colin Watson [<email address hidden>]