From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 5 21:07:47 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE8D716A4CE for ; Wed, 5 Jan 2005 21:07:47 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73A3D43D48 for ; Wed, 5 Jan 2005 21:07:47 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15891 invoked from network); 5 Jan 2005 21:07:47 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 5 Jan 2005 21:07:46 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id j05L7QC7076097; Wed, 5 Jan 2005 16:07:40 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-mobile@FreeBSD.org Date: Wed, 5 Jan 2005 16:03:05 -0500 User-Agent: KMail/1.6.2 References: <20050101172544.9BB655D04@ptavv.es.net> In-Reply-To: <20050101172544.9BB655D04@ptavv.es.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501051603.06005.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Alex Povolotsky Subject: Re: pccardd in 5.3 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 21:07:47 -0000 On Saturday 01 January 2005 12:25 pm, Kevin Oberman wrote: > > Date: Sat, 1 Jan 2005 13:32:28 +0300 > > From: Alex Povolotsky > > Sender: owner-freebsd-mobile@freebsd.org > > > > On Fri, 31 Dec 2004 11:38:30 -0500 > > > > John Baldwin wrote: > > > Is your network card already working? (That is, does it probe and > > > attach when you plug it in?) If so, you don't need to use pccardd. > > > FreeBSD 5.x uses a completely different driver for all of the pccard > > > stuff that supports most laptops. Only some older non-cardbus laptops > > > need the OLDCARD stuff that uses pccardd IIRC. > > > > Okay, thanks; but how can I automatically run ifconfig when I attach a > > card? > > This is now handled by devd. See /etc/devd.conf for the attach and > detach. Basically, it calls pccard_ether to startx the device and that > does most of the work. Added, custom setup comes from start_if.int, just > as is done in V4. And devd should already be setup by default to setup your interface out of the box as long as you add an ifconfig_foo0 line to /etc/rc.conf. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org