Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-23 Thread Olivier Blin
Jean Tourrilhes [EMAIL PROTECTED] writes:

   The overall architecture of hotplug/udev module loading is
 broken as it does not allow user override. I have explained in details
 the problem to the concerned people, but it seems that they don't
 really care. The standard answer is blacklist the orinoco
 module. Let's not even mention libusual.

You can also have a local alias overriding in a /etc/modprobe.d/ file,
for example:
alias pcmcia:m02AAc0002f*fn*pfn*pa*pb*pc*pd* hostap_cs

modprobe will use this alias only, since it doesn't look in
module.alias if the alias is resolved before.

This allows to override the driver for a specific card, without
blacklisting a driver still usable with a whole number of cards.

Regards

-- 
Olivier Blin - Mandriva
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-13 Thread Jochen Friedrich

Hi Marcin,


[EMAIL PROTECTED]:~# pccardctl ident
Socket 0:
  product info: ASUS, 802_11B_CF_CARD_25, Version 01.00, 
  manfid: 0x02aa, 0x0002
  function: 6 (network)


Yet another card known to work OK with hostap_cs:

# pccardctl ident
Socket 0:
 no product info available
Socket 1:
 product info: U.S. Robotics, IEEE 802.11b PC-CARD, Version 01.02, 
 manfid: 0x0156, 0x0002
 function: 6 (network)

Thanks,
Jochen
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-13 Thread Jar

Pavel Roskin wrote:
I strongly believe that every driver should list all devices it can
support.  In case of multiple drivers supporting one device, the choice
should be done in userspace.

Just from end user's standpoint:

I am totally bored with this model. Every time new kernel comes I 
first delete all orinoco drivers, because I can't even blacklist them. I 
don't want to use them, I have a better driver --hostap. When I try to 
do the following in the /etc/modprobe.d/blacklist-custom :


# a) Do NOT load orinoco_pci/plx when we are using hostap driver
# b) Do NOT load eepro100, 8139cp

blacklist orinoco_pci
blacklist orinoco_plx

blacklist eepro100
blacklist 8139cp

The eepro100 and 8139cp get blacklisted just fine but not the 
orinoco_pci, it always want to load itself.


Because of this and the lack of WPA support in orinoco drivers the 
prism2 id:s should be removed from the orinoco drivers. To achieve 
security you have to run vpn over wireless when you use orinoco drivers.


How the orinoco driver can be as _good_ as the hostap driver for the 
prism2 cards? I think hostap is a lot better.


--
Best Regards, Jar
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-12 Thread Marcin Juszkiewicz

This time I checked more carefully my changeset and split it into
smaller parts. Few of my patches was tested by OpenZaurus users, some
are waiting for testing.

We switched to pcmciautils when moved to 2.6.16 and many users complain
that their WiFi CompactFlash cards are driven by orinoco instead of
hostap.

BTW - how to force using of hostap_cs when both hostap_cs and orinoco_cs
has card in device table?

All patches require 24_hostap_cs_id.diff from Pavel Roskin.

I'm subscribed to netdev mailing list now.
---

Here's another card that would benefit from a hostap driver: ASUS WL-110

Platform: HP Ipaq hx4700 running 2.6.16-hh

[EMAIL PROTECTED]:~# pccardctl ident
Socket 0:
  product info: ASUS, 802_11B_CF_CARD_25, Version 01.00, 
  manfid: 0x02aa, 0x0002
  function: 6 (network)

[EMAIL PROTECTED]:~# ifconfig wlan0
wlan0 Link encap:Ethernet  HWaddr 00:0C:6E:F0:DA:CD
  inet addr:172.20.0.3  Bcast:172.20.255.255  Mask:255.255.0.0
  inet6 addr: 2001:610:600:93:20c:6eff:fef0:dacd/64 Scope:Global
  inet6 addr: fe80::20c:6eff:fef0:dacd/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:158 errors:0 dropped:0 overruns:0 frame:0
  TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:17978 (17.5 KiB)  TX bytes:11424 (11.1 KiB)
  Interrupt:92


Signed-off-by: Marcin Juszkiewicz [EMAIL PROTECTED]

Index: linux/drivers/net/wireless/orinoco_cs.c
===
--- linux.orig/drivers/net/wireless/orinoco_cs.c2006-05-12 
15:02:13.0 +0200
+++ linux/drivers/net/wireless/orinoco_cs.c 2006-05-12 15:03:31.0 
+0200
@@ -533,7 +533,6 @@
PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1613), /* Linksys WPC11 Version 3 */
PCMCIA_DEVICE_MANF_CARD(0x028a, 0x0002), /* Compaq HNW-100 11 Mbps 
Wireless Adapter */
PCMCIA_DEVICE_MANF_CARD(0x028a, 0x0673), /* Linksys WCF12 Wireless 
CompactFlash Card */
-   PCMCIA_DEVICE_MANF_CARD(0x02aa, 0x0002), /* ASUS SpaceLink WL-100 */
PCMCIA_DEVICE_MANF_CARD(0x02ac, 0x0002), /* SpeedStream SS1021 Wireless 
Adapter */
PCMCIA_DEVICE_MANF_CARD(0x14ea, 0xb001), /* PLANEX RoadLannerWave 
GW-NS11H */
PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x7300), /* Airvast WN-100 */
@@ -548,8 +547,6 @@
PCMCIA_DEVICE_PROD_ID12(Addtron, AWP-100 Wireless PCMCIA, 
0xe6ec52ce, 0x08649af2),
PCMCIA_DEVICE_PROD_ID123(AIRVAST, IEEE 802.11b Wireless PCMCIA 
Card, HFA3863, 0xea569531, 0x4bcb9645, 0x355cb092),
PCMCIA_DEVICE_PROD_ID12(Allied Telesyn, AT-WCL452 Wireless PCMCIA 
Radio, 0x5cd01705, 0x4271660f),
-   PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11b_PC_CARD_25, 0x78fc06ee, 
0xdb9aa842),
-   PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11B_CF_CARD_25, 0x78fc06ee, 
0x45a50c1e),
PCMCIA_DEVICE_PROD_ID12(Avaya Communication, Avaya Wireless PC 
Card, 0xd8a43b78, 0x0d341169),
PCMCIA_DEVICE_PROD_ID12(BENQ, AWL100 PCMCIA ADAPTER, 0x35dadc74, 
0x01f7fedb),
PCMCIA_DEVICE_PROD_ID12(BUFFALO, WLI-PCM-L11G, 0x2decece3, 
0xf57ca4b3),
Index: linux/drivers/net/wireless/hostap/hostap_cs.c
===
--- linux.orig/drivers/net/wireless/hostap/hostap_cs.c  2006-05-12 
15:02:51.0 +0200
+++ linux/drivers/net/wireless/hostap/hostap_cs.c   2006-05-12 
15:06:26.0 +0200
@@ -935,6 +935,8 @@
PCMCIA_DEVICE_PROD_ID123(
U.S. Robotics, IEEE 802.11b PC-CARD, Version 01.02,
0xc7b8df9d, 0x1700d087, 0x4b74baa0),
+   PCMCIA_DEVICE_PROD_ID1234(ASUS, 802_11B_CF_CARD_25, Version 
01.00, 
+   0x78fc06ee, 0x45a50c1e, 0xa57adb8c, 0x),
PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11b_PC_CARD_25,
0x78fc06ee, 0xdb9aa842),
PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11B_CF_CARD_25,



-- 
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer

  So when I die, the first thing I will see in Heaven is a hi-score list?
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-12 Thread Jean Tourrilhes
Marcin Juszkiewicz wrote :
 
 This time I checked more carefully my changeset and split it into
 smaller parts. Few of my patches was tested by OpenZaurus users, some
 are waiting for testing.

I'm sorry, but I will have again to veto part of your patch.
You are removing IDs from the Orinoco driver. Please don't do
that, those card work perfectly with the orinoco driver, and some of
us run them with the orinoco driver (orinoco is one third the
footprint of hostap).

 We switched to pcmciautils when moved to 2.6.16 and many users complain
 that their WiFi CompactFlash cards are driven by orinoco instead of
 hostap.
 
 BTW - how to force using of hostap_cs when both hostap_cs and orinoco_cs
 has card in device table?

The overall architecture of hotplug/udev module loading is
broken as it does not allow user override. I have explained in details
the problem to the concerned people, but it seems that they don't
really care. The standard answer is blacklist the orinoco
module. Let's not even mention libusual.

 --- linux.orig/drivers/net/wireless/orinoco_cs.c  2006-05-12 
 15:02:13.0 +0200
 +++ linux/drivers/net/wireless/orinoco_cs.c   2006-05-12 15:03:31.0 
 +0200
 @@ -533,7 +533,6 @@
   PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1613), /* Linksys WPC11 Version 3 */
   PCMCIA_DEVICE_MANF_CARD(0x028a, 0x0002), /* Compaq HNW-100 11 Mbps 
 Wireless Adapter \
 */  PCMCIA_DEVICE_MANF_CARD(0x028a, 0x0673), /* Linksys WCF12 Wireless 
 CompactFlash \
 Card */
 - PCMCIA_DEVICE_MANF_CARD(0x02aa, 0x0002), /* ASUS SpaceLink WL-100 */
   PCMCIA_DEVICE_MANF_CARD(0x02ac, 0x0002), /* SpeedStream SS1021 Wireless 
 Adapter */
   PCMCIA_DEVICE_MANF_CARD(0x14ea, 0xb001), /* PLANEX RoadLannerWave 
 GW-NS11H */
   PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x7300), /* Airvast WN-100 */
 @@ -548,8 +547,6 @@
   PCMCIA_DEVICE_PROD_ID12(Addtron, AWP-100 Wireless PCMCIA, 
 0xe6ec52ce, \
 0x08649af2),  PCMCIA_DEVICE_PROD_ID123(AIRVAST, IEEE 802.11b Wireless 
 PCMCIA \
 Card, HFA3863, 0xea569531, 0x4bcb9645, 0x355cb092),  \
 PCMCIA_DEVICE_PROD_ID12(Allied Telesyn, AT-WCL452 Wireless PCMCIA Radio, \
 0x5cd01705, 0x4271660f),
 - PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11b_PC_CARD_25, 0x78fc06ee, 
 0xdb9aa842),
 - PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11B_CF_CARD_25, 0x78fc06ee, 
 0x45a50c1e),
   PCMCIA_DEVICE_PROD_ID12(Avaya Communication, Avaya Wireless PC 
 Card, \
 0xd8a43b78, 0x0d341169),  PCMCIA_DEVICE_PROD_ID12(BENQ, AWL100 PCMCIA 
 ADAPTER, \
 0x35dadc74, 0x01f7fedb),  PCMCIA_DEVICE_PROD_ID12(BUFFALO, WLI-PCM-L11G, \
 0x2decece3, 0xf57ca4b3),

Please do *NOT* remove those IDs from the Orinoco driver. The
Orinoco driver do support those devices properly.

Regards,

Jean
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-12 Thread Marcin Juszkiewicz
Dnia piątek, 12 maja 2006 18:57, Jean Tourrilhes napisał:
 Marcin Juszkiewicz wrote :

   I'm sorry, but I will have again to veto part of your patch.
   You are removing IDs from the Orinoco driver. Please don't do
 that, those card work perfectly with the orinoco driver, and some of
 us run them with the orinoco driver (orinoco is one third the
 footprint of hostap).

Ok - I will update all patches to not doing this.

Thx for answers.

--
Here's another card that would benefit from a hostap driver:

Platform: HP Ipaq hx4700 running 2.6.16-hh

[EMAIL PROTECTED]:~# pccardctl ident
Socket 0:
  product info: ASUS, 802_11B_CF_CARD_25, Version 01.00, 
  manfid: 0x02aa, 0x0002
  function: 6 (network)

[EMAIL PROTECTED]:~# ifconfig wlan0
wlan0 Link encap:Ethernet  HWaddr 00:0C:6E:F0:DA:CD
  inet addr:172.20.0.3  Bcast:172.20.255.255  Mask:255.255.0.0
  inet6 addr: 2001:610:600:93:20c:6eff:fef0:dacd/64 Scope:Global
  inet6 addr: fe80::20c:6eff:fef0:dacd/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:158 errors:0 dropped:0 overruns:0 frame:0
  TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:17978 (17.5 KiB)  TX bytes:11424 (11.1 KiB)
  Interrupt:92


Signed-off-by: Marcin Juszkiewicz [EMAIL PROTECTED]
Index: linux/drivers/net/wireless/hostap/hostap_cs.c
===
--- linux.orig/drivers/net/wireless/hostap/hostap_cs.c  2006-05-12 
15:02:51.0 +0200
+++ linux/drivers/net/wireless/hostap/hostap_cs.c   2006-05-12 
15:31:07.0 +0200
@@ -935,6 +935,8 @@
PCMCIA_DEVICE_PROD_ID123(
U.S. Robotics, IEEE 802.11b PC-CARD, Version 01.02,
0xc7b8df9d, 0x1700d087, 0x4b74baa0),
+   PCMCIA_DEVICE_PROD_ID1234(ASUS, 802_11B_CF_CARD_25, Version 
01.00, ,
+   0x78fc06ee, 0x45a50c1e, 0xa57adb8c, 0x),
PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11b_PC_CARD_25,
0x78fc06ee, 0xdb9aa842),
PCMCIA_DEVICE_PROD_ID12(ASUS, 802_11B_CF_CARD_25,


-- 
JID: hrw-jabber.org
Palmtop: Sharp Zaurus C760
OpenEmbedded/OpenZaurus developer

 We are the Knights who say: MOVE.L USP,A1
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-12 Thread Pavel Roskin
On Fri, 2006-05-12 at 09:57 -0700, Jean Tourrilhes wrote:
 Marcin Juszkiewicz wrote :
  
  This time I checked more carefully my changeset and split it into
  smaller parts. Few of my patches was tested by OpenZaurus users, some
  are waiting for testing.
 
   I'm sorry, but I will have again to veto part of your patch.
   You are removing IDs from the Orinoco driver. Please don't do
 that, those card work perfectly with the orinoco driver, and some of
 us run them with the orinoco driver (orinoco is one third the
 footprint of hostap).

Once again, I really appreciate your vigilance, Jean :-)

I strongly believe that every driver should list all devices it can
support.  In case of multiple drivers supporting one device, the choice
should be done in userspace.

-- 
Regards,
Pavel Roskin

-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/5] new pcmcia IDs for hostap - ASUS WL-110

2006-05-12 Thread Pavel Roskin
On Fri, 2006-05-12 at 15:21 +0200, Marcin Juszkiewicz wrote:
 All patches require 24_hostap_cs_id.diff from Pavel Roskin.

This patch was never submitted.  Please ignore the series.

-- 
Regards,
Pavel Roskin

-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html