here's a really quick overview of how to get this card working under pdaXrom RC9/10.
I've attached the 0.3.7 hostap driver and prism2_srec util from the hostap utilities set to this post. make backups of anything you change/replace so that you can recover if anything goes wrong, etc. etc. etc.
the hostap modules and srec util were built against the latest pdaXrom-builder package and kernel source that is on the pdaxrom website. I used the stable hostap source straight from
http://hostap.epitest.fi/ (no patches necessary), and the standard zaurus/embedix kernel toolchain for building.
hostap-0.3.7-arm-zaurus.tar.gz contains the three hostap kernel modules; prism2_srec-arm-zaurus.tar.gz contains the prism2_srec utility.
to install the modules, untar the three modules from the hostap-0.3.7 tar into /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/net/wireless/. (this action will replace the existing older default pdaXrom version - so again, make backups...)
now untar the prism2_srec tar, and place the extracted binary somewhere in your PATH (e.g., /usr/sbin).
now you'll need to create a hostap.conf file for the PCMCIA cardmgr. edit /etc/pcmcia/hostap.conf (create it if one doesn't exist), and add the following:
device "hostap_cs"
class "network" module "hostap_crypt_wep", "hostap", "hostap_cs"
card "SanDisk ConnectPlus 128M"
version "SanDisk", "ConnectPlus"
manfid 0xd601,0x0101
# bind "ide_cs" to 1
bind "hostap_cs" to 0
after you create the file, force cardmgr to reload the config file:
kill -HUP `cat /var/run/cardmgr.pid`
or you can just reboot.
pull out the card, wait a moment, then plug the card back in.
you should now be able to download the firmware to the card. (you may want to check the logs via dmesg or tail /var/log/messages to ensure that the card was properly detected.)
grab the desired prism firmware from
http://www.red-bean.com/~proski/firmware/ and copy it over to the zaurus. for example, if you want to use the latest firmware, extract pm010102.hex from primary.tar.gz, and rf010803.hex from 1.8.3.tar.gz. place these files somewhere for the next operation (e.g., /usr/local/etc/firmware/).
to download the firmware to the card RAM, perform these steps:
prism2_srec -gs wlan0 /usr/local/etc/firmware/pm010102.hex
prism2_srec -gp wlan0 /usr/local/etc/firmware/pm010102.hex (this load will give an error, ignore it)
iwpriv wlan0 reset 1
prism2_srec -rp wlan0 /usr/local/etc/firmware/rf010803.hex
iwconfig wlan0 mode 2
you should see messages about plugging PDRs, etc., and at the end it should say something to the effect of
NIC: id=0x801d v1.0.0
PRI: id=0x15 v1.1.2
STA: id=0x1f v1.8.3
at this point your card should be functional, and you can try to bring the interface up:
ifconfig wlan0 up
if you have configured wi-fi properly with the normal pdaXrom network.py config tool, then the card should light up and associate with the network.
if you want the card to automatically download the firmware when powered up, make a script out of the firmware download sequence above, and call it from /etc/pcmcia/network or /etc/pcmcia/wireless or wherever works best for you. note also that you'll likely need to modify /usr/bin/apm to call the script as well (e.g., perhaps in post_suspend() in RC10).
to enable the flash part, edit your /etc/pcmcia/hostap.conf file (see above) and change the bind lines for the card:
bind "ide_cs" to 1
# bind "hostap_cs" to 0
after you do this, force cardmgr to reload the hostap config file (see the example "kill -HUP" line above), and pull the card, wait a moment, and plug in the card again (you could also do this programmatically/via script of course). you can then access it and format it, use it, etc. when it is formatted it will auto-mount as a normal flash CF card (/mnt/cf).
note that there are some other very helpful resources available regarding this card - e.g., see
http://www.bentzon.net/acb/sandisk.html and the related forum posts at
http://www.dsitri.de/phpBB2/viewforum.php?f=21 .
hope this is somewhat useful/helpful!