From nobody  Sat Mar 22 23:12:10 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id XAA27408;
          Sat, 22 Mar 1997 23:12:10 -0800 (PST)
Message-Id: <199703230712.XAA27408@freefall.freebsd.org>
Date: Sat, 22 Mar 1997 23:12:10 -0800 (PST)
From: hendrik@hg.com
To: freebsd-gnats-submit@freebsd.org
Subject: Keyboard does not fonction after booting 2.2-RELEASE
X-Send-Pr-Version: www-1.0

>Number:         3067
>Category:       kern
>Synopsis:       Keyboard does not fonction after booting 2.2-RELEASE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 22 23:20:01 PST 1997
>Closed-Date:    Sun Apr 27 00:37:01 PDT 1997
>Last-Modified:  Sun Apr 27 00:39:46 PDT 1997
>Originator:     Hendrik Groeneveld
>Release:        2.2-RELEASE
>Organization:
>Environment:
FreeBSD klatu.hg.com 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Sun Mar 16 07:47:59 GMT 1997     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>Description:
When booting from the install floppy the keyboard does not function properly. The keyboard does work properly in UserConfig but is not functional when sysinstall executes. In sysinstall keys seem to produce random results. When booting with the -v option the system reports a keyboard reset failure. I tried setting the console flags to 0x10 but it didn't help. I have not found a work-around for this problem.

The problem occurs on a Vega 486 motherboard that worked very well with 2.1.5-RELEASE.
>How-To-Repeat:
Boot the kernel from the installation floppy (boot.flp).
>Fix:

>Release-Note:
>Audit-Trail:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: hendrik@hg.com
Cc: freebsd-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: kern/3067: Keyboard does not fonction after booting 2.2-RELEASE 
Date: Sun, 23 Mar 1997 17:37:51 +0900

 >>Number:         3067
 >>Category:       kern
 >>Synopsis:       Keyboard does not fonction after booting 2.2-RELEASE
 >>Confidential:   no
 >>Severity:       critical
 >>Priority:       high
 >>Responsible:    freebsd-bugs
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Sat Mar 22 23:20:01 PST 1997
 >>Last-Modified:
 >>Originator:     Hendrik Groeneveld
 >>Organization:
 >>Release:        2.2-RELEASE
 >>Environment:
 >FreeBSD klatu.hg.com 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Sun Mar 16 07:47:59 G
 >MT 1997     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
 >>Description:
 >When booting from the install floppy the keyboard does not function properly. 
 >The keyboard does work properly in UserConfig but is not functional when sysin
 >stall executes. In sysinstall keys seem to produce random results. When bootin
 >g with the -v option the system reports a keyboard reset failure. I tried sett
 
 Would you tell us the exact error messages? With the -v option, I
 expect something like:
 
 sc0: the current keyboard command byte: bb.
 ...
 kbdio: RESET_KBD return code: xx.
 kbdio: RESET_KBD status: yy.
 sc0: failed to reset the keyboard.
 
 You may see the above "kbdio:..." lines repeated several times as the
 driver retries. (There may be additional messages for other keyboard
 I/O errors.)
 
 Also, have you booted the install floppy without entering UserConfig
 (by typing Q or ENTER when prompted to start configuration menu)? What
 was the outcome?
 
 >ing the console flags to 0x10 but it didn't help. I have not found a work-arou
 >nd for this problem.
 >
 >The problem occurs on a Vega 486 motherboard that worked very well with 2.1.5-
 >RELEASE.
 
 I don't think the flag bit 0x10 will help; it is primarily for some
 IBM ThinkPad models. So long as you did not need it before, you don't
 need it now too.
 
 Kazu

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: Hendrik Groeneveld <hendrik@hg.com>
Cc: freebsd-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: kern/3067: Keyboard does not fonction after booting 2.2-RELEASE 
Date: Wed, 02 Apr 1997 17:16:50 +0900

 >The output with -v is as follows:
 >
 >	sc0: the current keyboard command byte:0045
 >	kbdio: RESET_KBD return code:00fa
 >	kbdio: RESET_KBD status:ffffffff
 >	kbdio: DIAGNOSE status:0055
 >	kbdio: TEST_KBD_PORT status:0000
 >	sc0: failed to reset the keyboard
 >
 >None of the messages repeat.
 
 The status ffffffff indicates timeout when reseting the keyboard.
 The keyboard reset routine waits upto one second, which apparently
 is too short for your keyboard...
 
 Timeout duration can be adjust by specifying the following options 
 in the kernel configuration file:
 
 options "KBDIO_RESETDELAY=X"
 options "KBDIO_MAXWAIT=Y"
 
 The timeout value is X(msec)*Y, with 200(msec)*5 being the default.
 
 If you have another, working 2.2 box, compile a kernel in that box
 with increased values for these options, and try to load the kernel to
 your Vega 486 system.
 
 Kazu
State-Changed-From-To: open->closed 
State-Changed-By: yokota 
State-Changed-When: Sun Apr 27 00:37:01 PDT 1997 
State-Changed-Why:  
Fixed in syscons.c 1.182.2.16 (RELENG_2_2) and 1.209 (-current). 
>Unformatted:
