Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!fanoe!veit
From: veit@fanoe.gmd.de (Holger Veit)
Subject: Re: Cannot open /dev/kbd when running Xfree error
Message-ID: <1993Mar10.103559.27799@gmd.de>
Sender: veit@fanoe (Holger Veit)
Nntp-Posting-Host: fanoe
Organization: GMD - German National Research Center for Computer Science
References: <1nituiINNied@charnel.ecst.csuchico.edu>
Date: Wed, 10 Mar 1993 10:35:59 GMT
Lines: 30
In article <1nituiINNied@charnel.ecst.csuchico.edu>, chafey@ecst.csuchico.edu (Chris Hafey) writes:
|> Hello All,
|> When I run startx, I get a fatal server error: Cannot open /dev/kbd.
|> I couldn't find any reference to setting up this device and it isn't
|> standard as far as I can tell. Can someone point me in the right direction?
|> --
|> Chris Hafey | True programming is rebooting the machine
|> chafey@cscihp.ecst.csuchico.edu | after each crash until it works.
/dev/kbd is a special device introduced in the codrv console driver to
overcome some problems of passing non-ASCII data (scan codes) through the
tty subsystem. You need (at least) three things to get a X11 configuration
running that asks for /dev/kbd at all:
1. a kernel with codrv compiled in
2. an xserver compiled with codrv support
3. the devices /dev/kbd and /dev/vga
mknod /dev/kbd c 15 0 (in future, see README for kernel binary: 21 0)
mknod /dev/vga c 15 128 (in future 21 128)
Also you need to have /dev/console, *not* /dev/vga in /etc/ttys.
I think something like this should be in the latest XFree86 386bsd-README.
Holger
--
Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de
| | / GMD-SET German National Research | Phone: (+49) 2241 14 2448
|__| / Center for Computer Science | Fax: (+49) 2241 14 2342
| | / P.O. Box 13 16 | Three lines Signature space
| |/ Schloss Birlinghoven | available for rent. Nearly
DW-5205 St. Augustin, Germany | unused, good conditions