Subject: Re: apm enabled in kernel but not configured on boot
To: Tim Heckman <theckman@panix.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/14/2003 22:20:32
On Mon, Apr 14, 2003 at 11:40:38AM -0400, Tim Heckman wrote:
> Hello all,
> 
> I am trying to set up NetBSD 1.6 on a laptop, and I want to get apm support 
> working. The kernel I'm using is GENERIC_LAPTOP, modified to add support for 
> my ethernet interface (sip0).
> 
> apm is enabled in the configuration file:
> apm0	at mainbus0			# Advanced power management
> 
> And I have "apmd=YES" in rc.conf. However, apmd fails to start, giving the 
> message "cannot open device file '/dev/apmctl'"
> 
> The device file does exist, though:
> crw-r--r--  1 root  wheel  21, 0 Apr  8 09:53 /dev/apm
> crw-r--r--  1 root  wheel  21, 8 Apr  8 09:53 /dev/apmctl
> 
> In the output of dmesg, I also notice the following:
> Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 

This is not what is used by the apm driver. The apm driver talks with the
BIOS.
> 17 function 0 not configured
> 
> Can anyone offer any help with this? The full dmesg output is attached.

Hum, maybe this laptop is too new, and has only ACPI support.
Maybe look in the bios for apm enable.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--