Author Topic: Planex Wifi Card Problems With Cacko1.23  (Read 3786 times)

mivilleb

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://www.vetero.info
Planex Wifi Card Problems With Cacko1.23
« on: October 19, 2006, 06:51:18 am »
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
________________________________________________________
Zaurus SL-C1000 with Cacko 1.23 on NAND
Katastrophos kernel 2.4.20 on NAND /boot
Flashed with Ångström kexecboot kernel 2.6.26-r12
Zubuntu 2.0 on SD
Ångström Xcfe on SD (not working)
WIFI CF Card: Planex GW-CF11X (Only working in Cacko)

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
Planex Wifi Card Problems With Cacko1.23
« Reply #1 on: October 24, 2006, 10:30:34 am »
I have exactly the same problem. And I am wondering too if my card is broken, (and it is a likely possibility because it has a crack on the plastic side protruding...)
Yet, it DOES work SOMETIMES....

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Planex Wifi Card Problems With Cacko1.23
« Reply #2 on: October 24, 2006, 11:43:17 am »
The card is most problably not broken.

The interesting line in the log is:

Code: [Select]
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
no PRI f/w = no primary firmware. This card requires a piece of firmware to be downloaded to the card on initialization. Thie primary firmware is stored in the RAM of the card, so it is lost on eject and must be re-loaded on each insertion.

Here (Post # 16)
is described how to solve the problem for pdaXrom.
As far as I recall, the firmware files are actually present in Cacko so that the card should work without tweaking.
If it doesn't, maybe the files were deleted, the script which loads them is broken, or something fails during the firmware download.

To debug this, make sure the files are there,
the script which loads the files onto the card is there and acesses the correct files (find it with cd /etc/pcmcia && grep [f/w-filename] *) and maybe call dmesg after card insertion to see if there is a hint about failed f/w download.

Good luck!

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

harenber

  • Newbie
  • *
  • Posts: 3
    • View Profile
Planex Wifi Card Problems With Cacko1.23
« Reply #3 on: December 05, 2006, 04:12:12 am »
Quote from: daniel3000,Oct 24 2006, 05:43 PM
The card is most problably not broken.

Here (Post # 16)
is described how to solve the problem for pdaXrom.
As far as I recall, the firmware files are actually present in Cacko so that the card should work without tweaking.

Had anyone success with that Card? I installed Cacko 1.23 and tried a lot of hints, but no luck at all. The log says:

Code: [Select]
pxa_pcmcia_suspend(0)
wifi0: cannot get RID fd51 (len=6) - no PRI f/w
hostap_cs: CS_EVENT_PM_RESUME
hostap_cs: CS_EVENT_CARD_RESET
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xb2e9
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wifi0: cannot get RID fd51 (len=6) - no PRI f/w
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wifi0: cannot get RID fd51 (len=6) - no PRI f/w
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xb2e9
wifi0: hfa384x_cmd: entry still in list? (entry=c3f96c20, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
hostap_cs: Shutdown failed
pxa_pcmcia_suspend(0)
hostap_cs: CS_EVENT_PM_RESUME
hostap_cs: CS_EVENT_CARD_RESET
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xb2e9
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wifi0: cannot get RID fd51 (len=6) - no PRI f/w
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xb2e9
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wifi0: cannot get RID fd51 (len=6) - no PRI f/w
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0xb2e9
wifi0: hfa384x_cmd: entry still in list? (entry=c3f96c20, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
hostap_cs: Shutdown failed
pxa_pcmcia_suspend(0)
hostap_cs: CS_EVENT_PM_RESUME
hostap_cs: CS_EVENT_CARD_RESET
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xb2e9
hostap_cs: first command failed - assuming card does not have primary firmware
hostap_cs: assuming no Primary image in flash - card initialization not completed
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (32<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (64<88)
wlan0 (WE) : Buffer for request SIOCGIWPRIV too small (16<88)                                                                    

I also tried to install the "driver" available here:

http://www.pulster.de/index.htm?sharp_zaur...00_zubehoer.htm

One has to modify the IPK, as a script inside looks for a C3000 or a C3100, but fails with a C3200. Afterwards, the card was not even switching its LED on.

If anyone had success, please post what you did to get it working.

Thanks,

  Torsten