From owner-freebsd-mobile Tue Apr 13 5:22:49 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from iglou.com (iglou1.iglou.com [192.107.41.3]) by hub.freebsd.org (Postfix) with ESMTP id 068F7155A3; Tue, 13 Apr 1999 05:22:43 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.70] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 10X2Ao-00052S-00; Tue, 13 Apr 1999 08:20:15 -0400 Content-Length: 2718 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199904130620.CAA04175@pinky.us.net> Date: Tue, 13 Apr 1999 08:20:11 -0400 (EDT) From: Patrick Gardella To: Brian Skrab Subject: RE: PCMCIA in a Notebook ??? Cc: freebsd-questions@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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