How create /dev/apm* ???

Eric efk at bitstream.net
Fri Aug 22 07:22:44 PDT 2003


This is better suited towards freebsd-questions, so I'm going to copy this
to that list.

It is my understanding that ACPI depreciates APM, and that APM was mainly
used in the 4.x branch. If anyone is the wiser, please correct me.

--
Eric

----- Original Message ----- 
From: "Armand Passelac" <apasselac at free.fr>
To: <freebsd-current at freebsd.org>
Sent: Friday, August 22, 2003 9:10 AM
Subject: How create /dev/apm* ???


>
> 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
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list