Hi,
Sorry for the long post!
I have a Planex WiFi Card GW-CF11X for my Zaurus SL-C1000 with Cacko 1.23.
My card used to work, but now it always stay in Suspended mode after a brief moment in Ready mode.
When I put the card in, it is always recognized as a Planex card by the Zaurus, but it does not always transfer the MAC address.
cardctl ident gives:
Socket 0:
product info: "PLANEX COMMUNICATIONS INC.", "PLANEX GW-CF11X Wireless CF Card", "", ""
manfid: 0xd601, 0x0010
function: 6 (network)
cardctl status gives:
Socket 0:
3.3V 16-bit PC Card [suspended]
Socket 1:
no card
ifconfig wlan0 gives:
wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 TX bytes:0 (0.0
Interrupt:135
Sometime the HWaddr will show the correct MAC address, but not matter what, it always end up in Suspended mode even after doing cardctl resume or cardctl reset, or pulling the card in and out.
When I look at the lsmod, the hostap_cs module is loaded along with host_crypt_wep and hostap.
Could it be that the firmwares are not being picked up when the card is inserted. They are on the Zaurus, located here:
/etc/hotplug/firmware/pa010101.hex and /etc/hotplug/firmware/rf010804.hex
Maybe the hotplug script is expecting the firmware somewhere else, by the way which scripts actually uploads the firmware?
I also put CARDSUSPEND=n in the file network.opts and still nothing changed.
dmesg shows several error messages:
hostap_cs: CS_EVENT_CARD_REMOVAL
wifi0: card already removed or not configured during shutdown
pxa_pcmcia_init(0)
hostap_crypt: unregistered algorithm 'WEP'
hostap_cs: Driver unloaded
hostap_crypt: unregistered algorithm 'NULL' (deinit)
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_crypt: registered algorithm 'WEP'
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)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 135, io 0xf6000000-0xf600007f
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 00 e9 a1 ff
prism2_pccard_genesis_sreset: original COR 41
wifi0: registered netdevice wlan0
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 00 e9 a1 ff
wifi0: Could not initiate genesis mode
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
prism2: wlan0: operating mode changed 3 -> 2
wlan0: cannot set RID fc00 (len=2) - no PRI f/w
wlan0: cannot set RID fc0e (len=34) - no PRI f/w
wifi0: cannot get RID fc28 (len=2) - no PRI f/w
Could not read current WEP flags.
wifi0: encryption setup failed
wlan0: set_encryption failed
wlan0: cannot set RID fc02 (len=34) - no PRI f/w
wlan0: could not set interface UP - no PRI f/w
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd: entry still in list? (entry=c3a922a0, type=0, res=0)
wifi0: hfa384x_cmd: command was not completed (res=0, entry=c3a922a0, type=0, cmd=0x0002, param0=0x0000, EVSTAT=0000 INTEN=0010)
hostap_cs: Shutdown failed
pxa_pcmcia_suspend(0)
Anybody can help?
Is my card broke? I have no other way to verify if it works.
Thanks,
Bernard