[PATCH] Re: ISA->PCMCIA problem
From: Andreas Kotes (count-ml-hostap_at_flatline.de)
Date: 2002-07-11 12:30:44 UTC
Hi Yann!
- Yann Klis <yannski_at_www-aius.u-strasbg.fr> [19700101 01:00]:
> I have an ISA->PCMCIA adapter (Vadem VG-469) and when I insert a DWL-650 card,
> it doesn't work. Here are the messages I caught in /var/log/syslog :
>
> Mar 5 09:59:27 ap kernel: prism2: (c) SSH Communications Security Corp
> <jkm_at_ssh.com>
> Mar 5 09:59:27 ap kernel: prism2: setting Vcc=33 (constant)
> Mar 5 09:59:27 ap kernel: prism2: CS_EVENT_CARD_INSERTION
> Mar 5 09:59:27 ap kernel: prism2_config()
> Mar 5 09:59:27 ap kernel: prism2: setting Vcc=50 (from config)
> Mar 5 09:59:27 ap kernel: CISTPL_MANFID: 0x0156, 0x0002
> Mar 5 09:59:27 ap kernel: Lucent-based card
> Mar 5 09:59:27 ap kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
> Mar 5 09:59:27 ap kernel: prism2: GetNextTuple: No more items
> Mar 5 09:59:27 ap kernel: prism2_release
> Mar 5 09:59:27 ap kernel: release -> prism2_hw_shutdown
> Mar 5 09:59:27 ap kernel: prism2: card not configured
> Mar 5 09:59:27 ap kernel: release <- prism2_hw_shutdown
> Mar 5 09:59:27 ap kernel: release: CardServices(Release*) done
> Mar 5 09:59:27 ap kernel: release - done
> Mar 5 09:59:28 ap cardmgr[438]: get dev info on socket 0 failed: Resource
> temporarily unavailable
> Mar 5 09:59:28 ap kernel: prism2_detach
> Mar 5 09:59:28 ap kernel: prism2: link->dev == NULL: do not unregister netdevic
>
> Is there a thing that I misconfigured ?
no, you didn't. the driver assumes an incompatible card when it can't
set the Vcc parameters as it expects to be able to. some ISA<->PCMCIA /
ISA<->CardBus bridges don't support setting the voltage the same way
notebook or PCI adapters do, so ..
The attached patch (against current CVS) fixes the problem and makes
hostap compatible to i82365-based (e.g. Vadem, like you can get from
(ex-)Lucent) ISA<->PCMCIA bridges.
Have Fun
Count
P.S: I'd be happy to see this change go into the next release, along
with a short update of the manual :)
--
Andreas Kotes - ICQ: 3741366 - The views expressed herein are (only) mine.
Look to the future, because that is where you'll spend the rest of your
life.
-- George Burnsh -- OpenPGP Key 0x8F94C228
This archive was generated by
hypermail 2.1.4.