Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 13:07:59 +0200
From:      Armand Passelac <apasselac@free.fr>
To:        freebsd-questions@freebsd.org
Subject:   How create /dev/apm* ???
Message-ID:  <20030818110759.GC595@freebie.freebsd.org>

next in thread | raw e-mail | index | archive | help

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 (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030818110759.GC595>