From owner-freebsd-current Tue Jun 11 11: 1:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by hub.freebsd.org (Postfix) with ESMTP id 6749237B40C for ; Tue, 11 Jun 2002 11:01:05 -0700 (PDT) Received: from localhost.axe-inc.co.jp (localhost.axe-inc.co.jp [127.0.0.1]) by axe-inc.co.jp (8.9.3+3.2W/3.7W) with SMTP id DAA19975 for ; Wed, 12 Jun 2002 03:01:03 +0900 (JST) Message-Id: <200206111801.DAA19975@axe-inc.co.jp> X-Authentication-Warning: axegw.axe-inc.co.jp: localhost.axe-inc.co.jp [127.0.0.1] didn't use HELO protocol To: current@freebsd.org Subject: Re: no /dev/apmctl ? In-reply-to: Your message of "Tue, 11 Jun 2002 20:09:42 +0300." <20020611200324.I93773-100000@valu.uninet.ee> Date: Wed, 12 Jun 2002 03:01:03 +0900 From: Takanori Watanabe 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 In message <20020611200324.I93773-100000@valu.uninet.ee>, Taavi Talvik wrote: > >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