Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 09:56:25 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Patrick Gardella <patrick@cre8tivegroup.com>
Cc:        Brian Skrab <sillybug@pinky.us.net>, freebsd-mobile@FreeBSD.ORG
Subject:   RE: PCMCIA in a Notebook ???
Message-ID:  <Pine.BSF.3.96.990414095222.4085B-100000@andrsn.stanford.edu>
In-Reply-To: <XFMail.990413082011.patrick@cre8tivegroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote up a short how-to on getting pccards to work that's on my
web page at http://andrsn.stanford.edu/FreeBSD/pccards.html.  

	Annelise

On Tue, 13 Apr 1999, Patrick Gardella wrote:

> 
> On 13-Apr-99 Brian Skrab wrote:
> > Hello,
> > 
> >I have a Fujitsu notebook with a fresh copy of FreeBSD 2.2.8
> >installed on it.  I have a D-Link DFE-650 10/100 PCMCIA NIC sitting
> >in one of the card slots, but cannot figure out how to get FreeBSD
> >to detect it.  Should I try to find a way to set the resources on
> >the card?  Is there some special tweak that's needed to get FreeBSD
> >to detect PCMCIA cards?  Does FreeBSD even support PCMCIA NICs? Do
> >I need a new "supported" NIC?
> 
> Yes, PCMCIA NICs are supported in FreeBSD.  
> 
> You need to configure /etc/pccard.conf to make the card work.  And make
> sure you have support compiled into the kernel:
> 
> # PCCARD (PCMCIA) support
> controller     card0
> device         pcic0   at card?
> device         pcic1   at card?
> 
> Finally, in /etc/rc.conf, you have to enable pccard:
> 
> pccard_enable="YES"      # Set to YES if you want to configure PCCARD
> devices.
> pccard_mem="DEFAULT"    # If pccard_enable=YES, this is card memory
> address.
> pccard_ifconfig="change to match your card"    # Specialized pccard
> ethernet configuration (or NO).
> 
> However, your NIC is not listed in the pccard.conf.sample file, so that
> means no one has tried it and if they have, they might not have gotten
> it to work.  So will yours work?  Maybe.  You'll have to try it.  Do
> all the above and then start working on making it work.
> 
> To see if it will work, run:
> pccardc dumpcis > pccard.info
> 
> This will dump the card information to a file pccard.info.  In there,
> you will see tuples describing different configuration possibilities. 
> (My laptop is at home or I would include one.)
> 
> Look for one like 0x20 (may be a different number).  It will tell you
> an IRQ, and other information.  The card identifier at the top will
> tell you what it refers to itself as.  Use these to make your
> configuration in /etc/pccard.conf.  As an example, my Accton 2216 has a
> configuration of:
> 
> card "ACCTON" "EN2216-PCMCIA-ETHERNET"
>         config 0x20 "ed0" 10
>         insert echo Accton 2216 inserted
>         insert /etc/pccard_ether ed0
>         remove echo Accton 2216 removed
>         remove /sbin/ifconfig ed0 delete
> 
> You may have to try other ethernet drivers than "ed0" to make it work. 
> But if its an NE 2000 compatible, ed0 is a good place to start.  
> 
> One other thing, the configuration of the card must match whats in the
> kernel.  So if you have IRQ 10 in the kernel and IRQ 7 in the
> /etc/pccard.conf, it won't work.
> 
> I've cross posted this to -mobile, since that's the place to ask for
> laptop support.
> 
> Patrick
> 
> ---
> Patrick S. Gardella                    Director of Web Development 
> The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
> http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990414095222.4085B-100000>