Compaq WL200 and pd6729

Jar jar at pcuf.fi
Fri Mar 18 02:03:51 EST 2005


> I've got an antiquidated old WL200 PCI card here that worked fine on 2.4.x
> with pcmcia-cs and hostap drivers.

Heh, if the card is pci it can't be be so antique. I have those cars also and they
are working 101% well with pd6729, my dmesg below.

Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 0000:00:0a.0
pd6729: Cirrus PD6729 PCI to PCMCIA Bridge at 0xd800 on irq 11
pd6729: configured as a 2 socket device.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0x0d0000-0x0dffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
Config has no IRQ info, but trying to enable IRQ anyway..
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
divert: not allocating divert_blk for non-ethernet device wifi0
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 11, io 0x0100-0x013f
prism2_hw_init: initialized in 162 ms
wifi0: NIC: id=0x8002 v1.0.1
wifi0: PRI: id=0x15 v0.3.0
wifi0: STA: id=0x1f v1.5.6
divert: allocating divert_blk for wlan0
wifi0: registered netdevice wlan0
prism2: wlan0: operating mode changed 3 -> 2

- Do you have a PS/2 mouse? Should the irq=12 be excluded in config.opts?

cardctl ident should give:
Socket 0:
  product info: "Compaq", "WL200_11Mbps_Wireless_PCI_Card", "", ""
  manfid: 0x0138, 0x0002
  function: 6 (network)
Socket 1:
  no product info available

- Have you edited the /etc/sysconfig/pcmcia ? Assume you have RedHat or Fedora.

PCMCIA=yes
PCIC=pd6729
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=

- Have you copied the hostap_cs.conf to the /etc/pcmcia directory ?
- Why not just reboot and start the pcmcia by runing: service pcmcia start instead
of just manually load modules/cardmgr ?

- The FCs /etc/init.d/pcmcia script has some troubles. I have to do following
changes to it, to get "service pcmcia restart" work properly.

The first star priority change isn't necessary.
-# chkconfig: 2345 24 96
+# chkconfig: 2345 9 96

--- pcmcia_ORG  2005-03-17 21:49:30.000000000 +0200
+++ pcmcia      2005-03-17 21:49:29.000000000 +0200
@@ -7,7 +7,7 @@

 # Tags for Red Hat init configuration tools
 #
-# chkconfig: 2345 24 96
+# chkconfig: 2345 9 96
 # processname: cardmgr
 # pidfile: /var/run/cardmgr.pid
 # config: /etc/pcmcia/config
@@ -103,7 +103,7 @@
                  (/sbin/modprobe yenta_socket >/dev/null 2>&1 &&
                   echo "using yenta_socket instead of $PCIC") ||
                  /sbin/modprobe $PCIC $PCIC_OPTS || break
-               /sbin/modprobe ds || break
+               /sbin/modprobe pcmcia || break
            elif [ -d $PC ] ; then
                /sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
                /sbin/insmod $PC/$PCIC.o $PCIC_OPTS
@@ -130,6 +130,8 @@

     stop)
        echo -n "Shutting down PCMCIA services: "
+       /sbin/cardctl eject 2>/dev/null
+        sleep 1
        if [ -s /var/run/cardmgr.pid ] ; then
            PID=`cat /var/run/cardmgr.pid`
            kill $PID
@@ -140,11 +142,11 @@
            done
        fi
        killall -q "CardBus Watcher"
-       if grep -q "^ds " /proc/modules ; then
-           /sbin/rmmod ds
-           /sbin/rmmod $PCIC 2>/dev/null || \
-               /sbin/rmmod yenta_socket 2>/dev/null
-           /sbin/rmmod pcmcia_core
+       if grep -q "^pcmcia " /proc/modules ; then
+           /sbin/modprobe -r pcmcia
+           /sbin/modprobe -r $PCIC 2>/dev/null || \
+               /sbin/modprobe -r yenta_socket 2>/dev/null
+           /sbin/modprobe -r pcmcia_core
        fi
        echo "done."
        rm -f /var/lock/subsys/pcmcia


-- 
Best Regards, Jar



More information about the linux-pcmcia mailing list