*BSD News Article 10183


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA7350 ; Mon, 18 Jan 93 10:52:31 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!olivea!charnel!sifon!CC.UMontreal.CA!spb72.jsp.umontreal.ca!surprenc
From: surprenc@spb72.jsp.umontreal.ca (Surprenant Colin)
Newsgroups: comp.unix.bsd
Subject: [386BSD] Keyboard is locking up!
Message-ID: <1993Jan20.203154.26670@cc.umontreal.ca>
Date: 20 Jan 93 20:31:54 GMT
Sender: news@cc.umontreal.ca (Administration de Cnews)
Organization: Universite de Montreal
Lines: 38
X-Newsreader: TIN [version 1.1 PL8]

Hi, 
ok I posted a message some days ago, got no replys, but resolved my problem!

The problem was, after the whole boot sequence of TinyBSD on my 486, I got to the
prompt but the keyboard was frozen...

My machine is an Intel LP486/33 (known as the Professionnal Workstation)
With EISA bus, embeded SCSI, IDE, Video and Ethernet controllers.

Ok now, I could boot 386BSD on my 386 with not a problem. But it is not the
machine I want it to run on :( ... so I patched the kbd init sequence and
had it working. I'll explain what I did.

But first, I found another solution to my problem, the kbd would not lockup if I
kept a key depressed during the whole boot sequence. (Probably need to be
depressed only during kbd initialisation, but anyhow...)

I talked about my problem to one of my friend who told me he had the same
problem when he tried to install Minix (some time ago...) and what he did,
he resent a 'kbd reset' command after kbd initialisation sequence.

So, I did, I saw that kbd was actually initialised in the probe routine 
(all this in pccons.c) and that the attach routine was only looking for
video capabilities. I just added a line sending another 'KBC_RESET' to the
kbd and it actually solved my problem! :)

I dont have any specs or docs on the 8242 (?) kbd controller nor on the one used
in my machine (I dont have it under my hand, but if any interest, I'll post it) so
I can't explain why it solved my problem... but I'll dig...

-------------------------------------------------------------------------------
Colin Surprenant          |  ROT inc.
galaad@rot.qc.ca          |  Recherche Operationelle en Telecommunication
Phone: 514-849-0948       |  Montreal, Quebec
FAX:   514-849-6775       |  IP: 192.77.49.131
-------------------------------------------------------------------------------
surprenc@jsp.umontreal.ca |  Universite de Montreal 
-------------------------------------------------------------------------------