From owner-freebsd-mobile Sun Dec 8 6:17:18 2002 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 358FF37B401 for ; Sun, 8 Dec 2002 06:17:17 -0800 (PST) Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20F1743EBE for ; Sun, 8 Dec 2002 06:17:16 -0800 (PST) (envelope-from dmagda@magda.ca) Received: from number6.magda.ca ([64.229.177.206]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021208141715.ISTN17429.tomts22-srv.bellnexxia.net@number6.magda.ca>; Sun, 8 Dec 2002 09:17:15 -0500 Received: from number6.magda.ca (localhost.magda.ca [127.0.0.1]) by number6.magda.ca (8.12.6/8.12.6) with ESMTP id gB8EHEfW000431 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 8 Dec 2002 09:17:14 -0500 (EST) (envelope-from dmagda@magda.ca) Received: (from dmagda@localhost) by number6.magda.ca (8.12.6/8.12.6/Submit) id gB8EHDjc000430; Sun, 8 Dec 2002 09:17:13 -0500 (EST) (envelope-from dmagda) Date: Sun, 8 Dec 2002 09:17:13 -0500 From: David Magda To: Harald Hanche-Olsen Cc: freebsd-mobile@freebsd.org Subject: Re: Inspiron 7K and APM Message-ID: <20021208141710.GA269@number6.magda.ca> Reply-To: David Magda References: <20021207232042.GA9471@number6.magda.ca> <20021208131619D.hanche@math.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021208131619D.hanche@math.ntnu.no> User-Agent: Mutt/1.4i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Dec 08, 2002 at 01:16:19PM +0100, Harald Hanche-Olsen wrote: > FWIW, I have been using > > device apm0 at nexus? flags 0x20 # Advanced Power Management > > on my Inspirons, and it has worked fine on my 3500 from 3.3 to 4.7. > (I haven't gotten around to 5.0 yet, but may want to run it on my > brand new 4150. For now, the above works fine on this one too.) Well I have nothing left to lose: I'll try it in a couple of days (after my last exam). > No, that only indicates a missing device file. Fix by going to /dev > and running ./MAKEDEV apm (you may wish to do ./MAKEDEV apmctl too). The 5 series uses devfs, so device files are created dynamically. If you go into the source of apm(4) you'll see that upon initialization, it calls the make_dev() kernel function call which tells the devfs system to create a /dev entry. -- David Magda Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message