netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Remove Prism II support from Orinoco
  2006-06-13  0:10           ` Jesse Brandeburg
@ 2006-06-13  4:20             ` Stephen Hemminger
  2006-06-13  4:30               ` Faidon Liambotis
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2006-06-13  4:20 UTC (permalink / raw)
  To: Jesse Brandeburg; +Cc: netdev

On 12/06/06 17:10 -0700, Jesse Brandeburg wrote:
> On 6/12/06, John W. Linville <linville@tuxdriver.com> wrote:
> >On Mon, Jun 12, 2006 at 01:49:54AM +0300, Faidon Liambotis wrote:
> >
> >> Having two drivers supporting the same set of hardware seems pretty
> >> pointless to me. Plus, it confuses hotplugging/automatic detection.
> >
> >This subject comes-up from time to time.  In fact, I'm pretty sure
> >it came-up very recently w.r.t. orinoco and hostap.
> >
> >The consensus seems to be that drivers should have IDs for all devices
> >they support, even if that means that some devices are supported by
> >multiple drivers.  This leaves the choice of which driver to use in
> >the hands of the user and/or distro.
> 
> my problem is that for my prism 2 adapter both drivers are loaded at
> which point neither of them works.  I'm running FC5, and i have to
> keep removing the orinoco*.ko files to keep them from loading, so I'm
> all for this patch.
> 

use blacklist in module config to block one.
Just put in /etc/modprobe.conf

blacklist orinoco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Remove Prism II support from Orinoco
  2006-06-13  4:20             ` Stephen Hemminger
@ 2006-06-13  4:30               ` Faidon Liambotis
  2006-06-14 11:53                 ` Jiri Benc
  0 siblings, 1 reply; 5+ messages in thread
From: Faidon Liambotis @ 2006-06-13  4:30 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Stephen Hemminger wrote:
>> my problem is that for my prism 2 adapter both drivers are loaded at
>> which point neither of them works.  I'm running FC5, and i have to
>> keep removing the orinoco*.ko files to keep them from loading, so I'm
>> all for this patch.
>>
> 
> use blacklist in module config to block one.
> Just put in /etc/modprobe.conf
> 
> blacklist orinoco
Unfortunately, that workaround doesn't work so well when you want to
have the ability to plug real orinoco (hermes) cards to your computer...
In other words and unless I'm missing something, there isn't currently a
way to have a Hermes card and a Prism II card both plugged in and working.

Regards,
Faidon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Remove Prism II support from Orinoco
@ 2006-06-13 18:24 Jar
  2006-06-14 19:09 ` Mike Kershaw
  0 siblings, 1 reply; 5+ messages in thread
From: Jar @ 2006-06-13 18:24 UTC (permalink / raw)
  To: netdev

Stephen Hemminger wrote:

 >use blacklist in module config to block one.
 >Just put in /etc/modprobe.conf

 >blacklist orinoco

Unfortunately this is not work at least it is not work with FC4. I can 
blacklist eepro100 and 8139cp.

blacklist eepro100
blacklist 8139cp

but I can't blacklist orinoco_pci
blacklist orinoco_pci

It always loads itself with or without blacklist. That's why I have to 
do 'rm -f orinoco*.* && depmod -a' when the new kernel arrives. Seems 
that users are directed to use unsecure orinoco (wep) driver rather than 
secure hostap (wpa/wpa2,tkip,aes) driver for their prism2 hardware.

-- 
Best Regards, Jar

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Remove Prism II support from Orinoco
  2006-06-13  4:30               ` Faidon Liambotis
@ 2006-06-14 11:53                 ` Jiri Benc
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Benc @ 2006-06-14 11:53 UTC (permalink / raw)
  To: Faidon Liambotis; +Cc: netdev

On Tue, 13 Jun 2006 07:30:56 +0300, Faidon Liambotis wrote:
> Unfortunately, that workaround doesn't work so well when you want to
> have the ability to plug real orinoco (hermes) cards to your computer...
> In other words and unless I'm missing something, there isn't currently a
> way to have a Hermes card and a Prism II card both plugged in and working.

Do you know about /sys/bus/pci/drivers/*/bind and unbind?

http://lwn.net/Articles/143397/

-- 
Jiri Benc
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Remove Prism II support from Orinoco
  2006-06-13 18:24 Remove Prism II support from Orinoco Jar
@ 2006-06-14 19:09 ` Mike Kershaw
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Kershaw @ 2006-06-14 19:09 UTC (permalink / raw)
  To: Jar; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

On Tue, Jun 13, 2006 at 09:24:49PM +0300, Jar wrote:
> It always loads itself with or without blacklist. That's why I have to 
> do 'rm -f orinoco*.* && depmod -a' when the new kernel arrives. Seems 
> that users are directed to use unsecure orinoco (wep) driver rather than 
> secure hostap (wpa/wpa2,tkip,aes) driver for their prism2 hardware.

The hostap drivers are also much better behaved for rfmon than the
orinoco drivers for prism2.

-m

-- 
Mike Kershaw/Dragorn <dragorn@kismetwireless.net>
GPG Fingerprint: 3546 89DF 3C9D ED80 3381  A661 D7B2 8822 738B BDB1

Bus Error at 008BE426 while reading byte from DEADBEEF in User data space


[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-14 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 18:24 Remove Prism II support from Orinoco Jar
2006-06-14 19:09 ` Mike Kershaw
  -- strict thread matches above, loose matches on Subject: below --
2006-06-10 17:50 [PATCH 2.6.17-rc6] " Faidon Liambotis
2006-06-10 18:08 ` Dave Jones
2006-06-11 22:27   ` Dave Jones
2006-06-11 22:40     ` Dave Jones
2006-06-11 22:49       ` Faidon Liambotis
2006-06-12 15:24         ` John W. Linville
2006-06-13  0:10           ` Jesse Brandeburg
2006-06-13  4:20             ` Stephen Hemminger
2006-06-13  4:30               ` Faidon Liambotis
2006-06-14 11:53                 ` Jiri Benc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).