[haiku-bugs] Re: [Haiku] #8987: ps2: initial setup of command byte failed

  • From: "x-ist" <trac@xxxxxxxxxxxx>
  • Date: Sun, 23 Sep 2012 10:12:52 -0000

#8987: ps2: initial setup of command byte failed
----------------------------------+----------------------------------------
   Reporter:  x-ist               |      Owner:  siarzhuk
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:                      |    Version:  R1/Development
  Drivers/Keyboard/PS2            |   Keywords:  ps2 keyboard touchpad OHCI
 Resolution:                      |   Blocking:
 Blocked By:                      |   Platform:  All
Has a Patch:  1                   |
----------------------------------+----------------------------------------

Comment (by x-ist):

 The patch attached makes my ps2 keyboard and touchpad work together with
 the additional USB keyboard + mouse attached. It definetly fixes #8987,
 #8984 and possibly #7897, i.e. it also fixes occasional Media server
 chrashes during System shutdown I observed.[[BR]]
 Patch description:
 * OHCI interrupts must no be disabled when performing ownership change
 request. Otherwise the SMM does not reset the OHCI_INTERRUPT_ROUTING flag
 as expected. Thus disabling the OHCI interrupts is postponed to after the
 handover procedure.

 * Removed excess reset upon a failed handover since we do a reset anyway,
 regardless of the handover result.

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

Other related posts: