From owner-freebsd-current@FreeBSD.ORG Thu Jun 21 19:52:51 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C32B16A41F for ; Thu, 21 Jun 2007 19:52:51 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id E79D313C448 for ; Thu, 21 Jun 2007 19:52:50 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 17034 invoked from network); 21 Jun 2007 16:29:35 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 21 Jun 2007 16:29:35 -0000 Message-ID: <467AA768.60306@root.org> Date: Thu, 21 Jun 2007 09:29:28 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: Lars Engels References: <46756BBE.5030603@root.org> <20070621155330.GE17194@e.0x20.net> In-Reply-To: <20070621155330.GE17194@e.0x20.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org, arch@freebsd.org, current Subject: Re: patch: acpi usermode suspend API change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2007 19:52:51 -0000 Lars Engels wrote: > And I just saw that every 5 second a new apm device is created! > > # ls /dev > acd0 apm12 apm3 apm47 apm8 > acpi apm13 apm30 apm48 apm9 > ad0 apm14 apm31 apm49 ata > ad0.journal apm15 apm32 apm5 atkbd0 > ad0.journals1 apm16 apm33 apm50 bpf0 > ad0.journals2 apm17 apm34 apm51 bpf1 > ad0.journals3 apm18 apm35 apm52 bpsm0 > ad0.journals4 apm19 apm36 apm53 cardbus0.cis > ad0.journals4a apm2 apm37 apm54 cd0 > ad0.journals4b apm20 apm38 apm55 cdrom@ > ad0.journals4c apm21 apm39 apm56 console > ad0.journals4d apm22 apm4 apm57 consolectl > ad0.journals4e apm23 apm40 apm58 ctty > ad0.journals4f apm24 apm41 apm59 cuad0 > agpgart apm25 apm42 apm6 cuad0.init > apm0 apm26 apm43 apm60 cuad0.lock > apm1 apm27 apm44 apm61 devctl > apm10 apm28 apm45 apm62 devstat > apm11 apm29 apm46 apm7 dri/ > > [...] What are you running that opens /dev/apm? Maybe powerd? I have a patch that handles reaping these devices, unfortunately it is pending completion of another patch that allows devfs_destroy() from a close() routine. That part is a core problem in FreeBSD, and it isn't really something in acpi. -- Nate