Skip to contentSkip to conversation

new pcmcia IDs for hostap - ASUS WL-110

PATCH Jean Tourrilhes 4 participants 4 messages May 12, 2006 – May 23, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · 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.

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).

Quoted 6 lines

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.

Quoted 21 lines
drivers/net/wireless/orinoco_cs.c +0 -1
@@ -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 */
drivers/net/wireless/orinoco_cs.c +0 -2
 	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", \

Quoted 2 lines
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

#1 lore raw
Quoted 7 lines · Jean Tourrilhes

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

root@ipaq-pxa270:~# pccardctl ident
Socket 0:
  product info: "ASUS", "802_11B_CF_CARD_25", "Version 01.00", ""
  manfid: 0x02aa, 0x0002
  function: 6 (network)
root@ipaq-pxa270:~# 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
drivers/net/wireless/hostap/hostap_cs.c +2 -0
Index: linux/drivers/net/wireless/hostap/hostap_cs.c
===================================================================
@@ -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, 0x00000000),
 	PCMCIA_DEVICE_PROD_ID12("ASUS", "802_11b_PC_CARD_25",
 				0x78fc06ee, 0xdb9aa842),
 	PCMCIA_DEVICE_PROD_ID12("ASUS", "802_11B_CF_CARD_25",
Signature · 5 lines
JID: hrw-jabber.org
Palmtop: Sharp Zaurus C760
OpenEmbedded/OpenZaurus developer

                 We are the Knights who say: MOVE.L USP,A1
#2 lore raw
In reply to Jean Tourrilhes
Quoted 11 lines · Jean Tourrilhes
Quoted 4 lines · 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.

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.

Signature · 2 lines
Regards,
Pavel Roskin
#3 lore raw
In reply to Jean Tourrilhes
Quoted 5 lines · Jean Tourrilhes

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

Signature · 1 line
Olivier Blin - Mandriva