Subject: Re: Getting lk401 kb/mouse working on Alpha 3000/400
To: George Michaelson <ggm@dstc.edu.au>
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
List: port-alpha
Date: 07/26/1999 13:19:17
ggm@dstc.edu.au said:
> I have an alpha 3000/400 which is reporting it cannot initialize the
> keyboard/mouse and switches to serial console. 

If it is the error message in dec_3000_500.c (around line 131),
then it means that there is a problem with the keyboard _or_
the display side.
Looking at the code, I have reason to believe that the keyboard
side can never have worked due to an inconsistency in error handling.
Can you try the appended patch?
If noone beats me in this I'll clean this up a bit.

best regards
Matthias


Index: dec_3000_500.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/alpha/alpha/dec_3000_500.c,v
retrieving revision 1.25
diff -c -r1.25 dec_3000_500.c
*** dec_3000_500.c	1999/04/15 22:06:47	1.25
--- dec_3000_500.c	1999/07/26 11:16:32
***************
*** 122,128 ****
  	case CTB_GRAPHICS:
  #if NWSDISPLAY > 0
  		/* display console ... */
! 		if (zs_ioasic_lk201_cnattach(0x1e0000000, 0x00180000, 0) &&
  		    tc_3000_500_fb_cnattach(
  		     CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot))) {
  			break;
--- 122,128 ----
  	case CTB_GRAPHICS:
  #if NWSDISPLAY > 0
  		/* display console ... */
! 		if (zs_ioasic_lk201_cnattach(0x1e0000000, 0x00180000, 0) == 0 &&
  		    tc_3000_500_fb_cnattach(
  		     CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot))) {
  			break;