Re: different config for same card

Mayank Sharma <[email protected]> Fri, 22 Nov 2002 14:00:40 +0530
Newsgroups gmane.linux.pcmcia.devel
Organization Impulsesoft
Message-ID <[email protected]>
Thanx Dave that will help. But i was just wondering if we can have a convinent
way to do it. the wavelan card is a typical example. I might want to use
it sometimes in 'access mode' or sometimes to connect an access point. instead
of changing the config at run time maybe we can have an extension to the
config file where we can specify to load a particular module if the card
is inserted in slot 1 and another module if inserted in slot 2.

--Mayank

dhinds wrote:

On Wed, Nov 20, 2002 at 12:46:12PM +0530, Mayank Sharma wrote:

Hello listers,
I want to use two wavelan cards simultaneously on my ipaq. I want
one of them to act in an access mode state (hence want to load
hostap_cs.o) and the other in normal mode (thus orinico_cs.o) but the
name and manfid of both the cards are same. How can i force pcmcia to
load orinico_cs.o instead oh host_ap.o when i put the second card in?

There isn't a convenient way to do this currently. You can maybe
kludge it with a shell script that did something like:

PCMCIA_OPTS="card 'my card' manfid 0x1234,0x5678 bind 'host_ap'"
export PCMCIA_OPTS
/sbin/cardmgr -o
/sbin/cardctl eject 1
/sbin/cardctl insert 1
PCMCIA_OPTS="card 'my card' manfid 0x1234,0x5678 bind 'orinoco_cs'"
/sbin/cardmgr -o

-- Dave

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Pcmcia-cs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmcia-cs-devel

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf