From owner-freebsd-mobile Sat Nov 10 10: 9:50 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 0981A37B419 for ; Sat, 10 Nov 2001 10:09:48 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id fAAI9kd25609; Sat, 10 Nov 2001 10:09:46 -0800 (PST) Message-Id: <200111101809.fAAI9kd25609@ptavv.es.net> To: Alexey Koptsevich Cc: mobile@FreeBSD.ORG Subject: Re: APM on Dell Latitude C800 In-reply-to: Your message of "Fri, 09 Nov 2001 18:39:01 PST." Date: Sat, 10 Nov 2001 10:09:46 -0800 From: "Kevin Oberman" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Date: Fri, 9 Nov 2001 18:39:01 -0800 (PST) > From: Alexey Koptsevich > Sender: owner-freebsd-mobile@FreeBSD.ORG > > > Hello, > > I have a couple of questions: > > 1. FreeBSD suspends (I guess to memory) when lid is closed. But kernel > does not see apm0 and apmd does not run -- what could be the reason? > > # apmd -d > apmd[470]: start > apmd: cannot open device file `/dev/apm': Device not configured > # dmesg | grep apm > # grep apm /sys/i386/conf/GENERIC > device apm0 at nexus? disable flags 0x20 # Advanced Power Management > # ls -l /dev/apm* > crw-rw-r-- 1 root operator 39, 0 Nov 9 15:54 /dev/apm > crw-rw---- 1 root operator 39, 8 Nov 9 15:54 /dev/apmctl You need to either remove the 'disable' in the config and rebuild the kernel or add 'en apm0' to /boot/kernel.conf. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message