SanDisk ConnectPlus

joy at streamminister.de joy
Tue Jun 1 10:02:57 PDT 2004


Hi,
i recently purchased some of this SanDisk ConnectPlus-Cards for the 
Zaurus. Its a multifunction card with 128mb ram and a prism3 chipset.
Someone on the list posted recently a patch based on some pseudocode to 
get it to work. i integrated it into hostap-2.1 yesterday, but the card 
still refuses to work.
Is there some news about developement? i can help out in debuging, 
testing, but im really not familiar with writing bits somwhere (mean 
driver developement;).
there is some comment in the drivercode which says the base address needs 
tweaking. now it gets the io-base-adress automatically, which 
is:0xc4860000 the same what conf writes out at the end.
im a bit confused about this cause while setting the io.base in the 
conf-function it is set to 0x0? im tried both, but none worked.
even iwconfig wlan0 reset 1 doesnt work, but with enabling the 
firmware-download function the driver resets automatically so, it should 
be initialized.

here are some logs, tested with integrated patch to hostap-2.1.

dmesg:
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.2.1 - 2004-05-06 (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)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
wifi0: Interrupt, but dev not OK
hostap_cs: index 0x01: Vcc 3.3, irq 35, io 0xc4860000-0xc486007f
wifi0: init command completed too quickly - retrying
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 45
writing to attribute mem
Setting I/O base to 0xc4860000
Activating wireless function
prism2_pccard_genesis_sreset: original COR 45
Setting HCR directly to 0x1f
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 20 00 20
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 45
writing to attribute mem
Setting I/O base to 0xc4860000
Activating wireless function
prism2_pccard_genesis_sreset: original COR 45
Setting HCR directly to 0xf
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 00 20 00 20
prism2_pccard_genesis_sreset: original COR 45
Setting HCR directly to 0x17
wifi0: registered netdevice wlan0
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
wlan0: updating basic rate set automatically to match with the new 
supported rate set
wlan0: cannot set RID fcb3 (len=2) - no PRI f/w
wlan0: failed to set cnfBasicRates
wlan0: cannot set RID fc84 (len=2) - no PRI f/w
wlan0: TXRateControl/cnfSupportedRates setting to 0xf failed
wlan0: cannot set RID fc02 (len=34) - no PRI f/w

dump_cisreg:
Socket 0 function 0:
  Config register base = 0x03e0, mask = 0x0001
  Configuration option register = 0x45
    [level_req] [func_ena] [ireq_ena] [index = 00]

Socket 0 function 1:
  Config register base = 0x0200, mask = 0x000f
  read config register: Input/output error

# cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 35 [shared] [level]
  function 0:
    config base 0x03e0
      option 0x45
    io 0xc4860000-0xc486007f [16bit]
Socket 1:
  not configured


best regards / Mit freundlichen Gr?ssen

Zsolt Barat

------------------------------------------------
streamminister sch?nhauser alle 155 10435 berlin
t: 030 44735425 f: 030 44653872




More information about the Hostap mailing list