From owner-freebsd-hackers Sun Aug 8 19:46:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id EAA5314D36; Sun, 8 Aug 1999 19:46:18 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:r7dbORY7NzORHmsvT70xohaEyI1GYP3+@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id LAA06718; Mon, 9 Aug 1999 11:43:12 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id LAA23264; Mon, 9 Aug 1999 11:47:31 +0900 (JST) Message-Id: <199908090247.LAA23264@zodiac.mech.utsunomiya-u.ac.jp> To: Jay Kuri Cc: freebsd-small@freebsd.org, freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: Access to keyboard without video. In-reply-to: Your message of "Sun, 08 Aug 1999 21:49:41 -0400." References: Date: Mon, 09 Aug 1999 11:47:30 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> In FreeBSD version 3.1 or later, the keyboard controller atkbdc(4) and >> AT keyboard driver atkbd(4) will give you access to the keyboard even >> when there is no video card. > Thanks, I read the source and found the CDEV stuff... I had to >disable the sc0 device to get access to it. and then I had to hack As I wrote before, when the console device, sc or vt, is present, the keyboard is exclusively used by the console driver. You can remove or disable the console driver to prevent this. Or pull out the video card. When a video card is not present, the console driver won't be installed. >kbdcontrol to open /dev/kbd0 instead of stdin (which is what it currently >does) > > Shouldn't you be able to specify the kbd you want to control with >kbdcontrol? Maybe default to stdin.. but allow access to the keyboard >device as specified? kbdcontrol _whatever_ < /dev/kbd0 Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message