From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 08:41:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B1E516A4BF for ; Fri, 22 Aug 2003 08:41:15 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D277543FE0 for ; Fri, 22 Aug 2003 08:41:14 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Fri, 22 Aug 2003 08:41:12 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 3C9435D04; Fri, 22 Aug 2003 08:41:12 -0700 (PDT) To: Armand Passelac In-Reply-To: Message from Armand Passelac <20030822141016.GA4599@freebie.freebsd.org> Date: Fri, 22 Aug 2003 08:41:12 -0700 From: "Kevin Oberman" Message-Id: <20030822154112.3C9435D04@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: How create /dev/apm* ??? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 22 Aug 2003 15:41:15 -0000 > Date: Fri, 22 Aug 2003 16:10:16 +0200 > From: Armand Passelac > Sender: owner-freebsd-current@freebsd.org > > > Hi, > I have installed a FreeBSD 5.1 on my Laptop (Compaq Armada E500). > I have a problem with the power management : > > - I can't use the ACPI module : the kernel can't be loaded. > OK no problem ! > As I saw within many FAQs, it's normal (it depends on the type of the laptop). > > - I would like to use APM so ! > I realize the following stages (see http://freebsd.unixtech.be/doc/en_US.ISO8859-1/articles/laptop/x61.html) : > > * I build my kernel with "device apm" > > * /boot/device.hints : > hint.acpi.0.disabled="1" > #hw.acpi.ec.event_driven="1" > hint.apm.0.disabled="0" > hint.apm.0.flags="0x20" > > * /boot/loader.conf : > apm_load="YES" > > * /etc/rc.conf > apm_enable="YES" > > > But during the boot I get an error : "can't open /dev/apm" > > Indeed, there is no device with apm* name within /dev > > How can I create this device (In the freebsd-questions list somebody tails me that's not possible with 5.X there is no possibility to use a kind of makedev). > That is correct. The apm driver creates the device automagically with devfs. S0 the question is why it is not doing so. Please attach the output of dmesg. (Actually, all of the apm stuff should be in the first 15 lines.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634