From owner-freebsd-current Tue Jun 11 11:12:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from valu.uninet.ee (valu.uninet.ee [194.204.34.51]) by hub.freebsd.org (Postfix) with ESMTP id E182B37B406 for ; Tue, 11 Jun 2002 11:12:09 -0700 (PDT) Received: by valu.uninet.ee (Postfix, from userid 1002) id A343C36420; Tue, 11 Jun 2002 21:12:05 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by valu.uninet.ee (Postfix) with ESMTP id A82A932619; Tue, 11 Jun 2002 21:12:05 +0300 (EEST) Date: Tue, 11 Jun 2002 21:12:03 +0300 (EEST) From: Taavi Talvik To: Takanori Watanabe Cc: current@freebsd.org Subject: Re: no /dev/apmctl ? In-Reply-To: <200206111801.DAA19975@axe-inc.co.jp> Message-ID: <20020611210939.P95887-100000@valu.uninet.ee> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Jun 2002, Takanori Watanabe wrote: > In message <20020611200324.I93773-100000@valu.uninet.ee>, Taavi Talvik wrote: Yes, acpi the case. Acpi tries to emulate apm, but seams that this emulation is incomplete. At least it does not provide support for apmd. Actually, i should have looked at acpi sources before asking from list. Again fingers are faster than brain:( best regards, taavi > >I have included apm in kernel (cvsupped yesterday) config file. However, > >it does not create /dev/apmctl > > > >>l /dev/apm* > >crw-rw-r-- 1 root operator 39, 0 Jun 11 19:31 /dev/apm > > This can be fake apm device node made by ACPI driver. > > >How is this possible? Driver code /usr/src/sys/i386/apm/apm.c calls > >creation of both device nodes around line 1106 without any conditionals > > > > make_dev(&apm_cdevsw, 0, 0, 5, 0664, "apm"); > > make_dev(&apm_cdevsw, 8, 0, 5, 0660, "apmctl"); > > Are you surely using apm driver? You may have to disable acpi loading > by typing 'unset acpi_load' in boot loader. > ACPI makes apm node only, not apmctl node. > > Takanori Watanabe > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > ----------------------------------------------------------- Taavi Talvik | Internet: taavi@uninet.ee AS Uninet | phone: +372 6800013 Parnu mnt. 105 | fax: +372 6800001 Tallinn 11312, Estonia | gsm: +372 56569996 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message