*BSD News Article 27103


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Shutting down XFree86-2.0
Date: 11 Feb 1994 10:54:45 GMT
Organization: Montana State University - Bozeman MT
Lines: 57
Message-ID: <2jfo5l$akg@pdq.coe.montana.edu>
References: <2iuadr$aid@portal.gmu.edu> <CKv326.KpI.3@cs.cmu.edu> <mcb.760732977@mach>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <mcb.760732977@mach>,
Mike Busby <mcb@mach.eng.hou.compaq.com> wrote:
>cline+@cs.cmu.edu (Kenneth Cline) writes:
>
>>We have been discussing this problem.  The best solution for now
>>seems to be switching to SYSCONS rather than PCCONS console
>>support in the kernel.

>The only problem with this suggestion is that if I use the SYSCONS driver,
>then I don't get ANY keyboard response in X.

The most common solution to this is that both the getty and X are competing
for the keyboard. Another quite common problem is that the /dev entries are
incorrect.  Make sure /dev/console is major 0, minor 0, and /dev/vga is
major 12, minor 0, and if you want to use ONLY syscons from now on remove
/dev/vga and create just the ttyv0 devices.

Here are my entries for /dev and the start of /etc/ttys for reference.

Script started on Fri Feb 11 03:53:59 1994
bsd % ls -al console
crw-------    1 root       0,   0 Feb  9 13:50 console
bsd % ls -al ttyv*
crw-------    1 root      12,   0 Feb 10 11:16 ttyv0
crw-------    1 root      12,   1 Feb 10 09:46 ttyv1
crw-------    1 root      12,   2 Feb  9 13:21 ttyv2
crw-------    1 root      12,   3 Jan  6 17:44 ttyv3
bsd % cat /etc/ttys
#
#	@(#)ttys	5.1 (Berkeley) 4/17/89
#
# name	getty				type	status		comments
#
ttyv0	"/usr/libexec/getty Pc"		pc3	on secure
ttyv1	"/usr/libexec/getty Pc"		cons25	on secure
ttyv2	"/usr/libexec/getty Pc"		cons25	on secure
ttyv3	"/usr/libexec/getty Pc"		cons25	off secure
....
bsd % 
Script done on Fri Feb 11 03:54:20 1994

>The bottom line is, if I use the SYSCONS driver, my keyboard is dead
>after ENTERING X.  If I use the PCCONS driver, my keyboard is dead
>after EXITING X.  Perhaps if someone would kindly post the correct
>setup for SYSCONS in /etc/ttys, it would help.  I took a guess and
>commented out the /dev/console getty entry after adding all the ttyv*
>entries.  This seems to work, as far as VT's are concerned.

See above.


Nate
-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       |  Graduating May '94 with a BS in EE 
home #: (406) 586-0579       |  - looking for work in CS/EE field.