Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Aug 1999 11:47:30 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Jay Kuri <jay@oneway.com>
Cc:        freebsd-small@freebsd.org, freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: Access to keyboard without video. 
Message-ID:  <199908090247.LAA23264@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Sun, 08 Aug 1999 21:49:41 -0400." <Pine.BSF.4.05.9908082144460.22512-100000@daedal.oneway.com> 
References:  <Pine.BSF.4.05.9908082144460.22512-100000@daedal.oneway.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>> 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-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908090247.LAA23264>