From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 07:12:05 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 D818616A4BF for ; Fri, 22 Aug 2003 07:12:05 -0700 (PDT) Received: from SMT02002.global-asp.net (SMT02002.global-asp.net [194.51.152.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id B761F43FB1 for ; Fri, 22 Aug 2003 07:12:04 -0700 (PDT) (envelope-from apasselac@free.fr) Received: from smt02003.global-asp.net (localhost [127.0.0.1]) by SMT02002.global-asp.net (Postfix) with ESMTP id B0B232345D for ; Fri, 22 Aug 2003 16:12:01 +0200 (CEST) Received: from freebie.freebsd.org (Mix-Poitiers-111-1-75.w80-9.abo.wanadoo.fr [80.9.23.75]) by smt02003.global-asp.net (Postfix) with ESMTP id C64E12FA09 for ; Fri, 22 Aug 2003 16:12:02 +0200 (CEST) Received: from freebie.freebsd.org (freebie.freebsd.org [127.0.0.1]) by freebie.freebsd.org (8.12.9/8.12.9) with ESMTP id h7MEAPre004670 for ; Fri, 22 Aug 2003 16:10:25 +0200 (CEST) (envelope-from kmaster@freebie.freebsd.org) Received: (from kmaster@localhost) by freebie.freebsd.org (8.12.9/8.12.9/Submit) id h7MEAGX6004668 for freebsd-current@freebsd.org; Fri, 22 Aug 2003 16:10:16 +0200 (CEST) Date: Fri, 22 Aug 2003 16:10:16 +0200 From: Armand Passelac To: freebsd-current@freebsd.org Message-ID: <20030822141016.GA4599@freebie.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Subject: 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 14:12:06 -0000 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). Thanks a lot. -- "No guts No glory" =] PASSELAC Armand [= ( @ @ ) Ingenieur Systemes-Reseaux & Securite ORBYTES INGENIERIE