Help needed: SanDisk Connect Plus with hostap_cs on Sharp Zaurus

Dr. H. Nikolaus Schaller hns
Wed Apr 14 08:56:48 PDT 2004


Dear all,
I could make the card being recognized and hostap_cs being loaded. But 
now, I get the following dmesg:

hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.1.2 - 2003-11-02 (Jouni Malinen <jkmaline at 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
eth%d: Interrupt, but dev not OK
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hostap_cs: index 0x01: Vcc 3.3, irq 35, io 0xc5670000-0xc567007f
hostap_cs: Registered netdevice eth0
prism2_hw_init: initialized in 0 ms
eth0: hfa384x_cmd: entry still in list? (entry=c19e63e0, type=0, res=0)
                                      ^^^^^^^^^^^
eth0: hfa384x_cmd: command was not completed (res=0, entry=c19e63e0, 
type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=0552 INTEN=945a)
eth0: interrupt delivery does not seem to work
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
eth0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=8)
Could not get RID for component NIC
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hostap_cs: Initialization failed
^^^^^^^^^^^^^^^^^^^^^^^^^^
ide_attach()
ide_config(0xc14c9580)
hda: SanDisk SDWCFB-128, ATA DISK drive
ide0 at 0xc5670000-0xc5670007,0xc567000e on irq 35
hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
  hda:
#

In other occasions I get a message like hda: interrupt lost. So there 
seems to be something goring wrong with the interrupts.

Looking at /proc/interrrupts shows that IRQ 35 is registered for 
hostap_cs (for WLAN) and ide_cs (for the memory part of the card)

Here is my conf file:

#
# configure to recognize SanDisk ConnectPlus card
#

device "hostap_cs"
    class "network" module "hostap", "hostap_cs", "hostap_crypt", 
"hostap_crypt_wep"

card "SanDisk ConnectPlus 128M"
         manfid 0xd601, 0x0101
         bind "hostap_cs" to 0
         bind "ide_cs" to 1

# somehow needs to fix IRQ

module "hostap_cs" opts "dev_template=eth%d"

# module "hostap_cs" opts "channel=6 iw_mode=3 essid='<the essid of 
your network>' ignore_cis_vcc=0"

Any hints are greatly appreciated

-- hns





More information about the Hostap mailing list