[haiku-bugs] Re: [Haiku] #7973: No keyboard after graphics

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Sun, 25 Sep 2011 20:58:07 -0000

#7973: No keyboard after graphics
------------------------------------+----------------------------
   Reporter:  Doomtron              |      Owner:  siarzhuk
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Drivers/Keyboard/PS2  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by siarzhuk):

 The possible suspect is ps2 controller throwing no interrupts on key press
 or issuing wrong interrupt state.

 May I ask you for another test with just attached ps2 bus manager? This
 customized manager has additional check of ps2 controller command byte and
 tries to re-enable keyboard interrupt in the command byte on keyboard
 opening. It also produce some tracing for interrupts with OBF bit unset -
 probably they where ignored silently. Please use listed above procedure to
 perform this test. Note that it would be nice if you press any keys more
 that 30 - 50 times. It helps me to see if the keyboard interrupts were
 issued or not.

 Another possible point to test is checking KDL's "ints" state. Please try
 to press simultaneously Alt-Print-D keys. In case you fall through into
 Kernel Debugging Land successfully please check the following:


 1) run "ints" command. note the count of handled/unhandled interrupts for
 "int 1";

 2) run "es" command to go out of KDL;

 3) press any key about 20 times;

 4) press Alt-Print-D to go into KDL again;

 5) run "ints" command and note the count of handled/unhandled interrupts
 for "int 1" and show me, please, those counts from step 1 and step 5 in
 comparison.

 Please do not disappoint in case you cannot go into KDL by Alt-Print-D -
 it is predicted behavior for non-working ps2 controller. ;-) But you have
 said in the problem description that you can use keyboard in "debug mode"
 - did you mean KDL?

 Thank you for assistance and please exuse me for some delay. Good luck!

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7973#comment:12>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: