[haiku-bugs] Re: [Haiku] #7958: [ps2] keyboard doesn't work if plugged in before boot

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Mon, 19 Nov 2012 17:28:43 -0000

#7958: [ps2] keyboard doesn't work if plugged in before boot
------------------------------------+----------------------------
   Reporter:  diver                 |      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 diver):

 commenting out ps2_service_notify_device_added in ps2_common.cpp:

 {{{
 index 37f902e..b97347f 100644
 --- a/src/add-ons/kernel/bus_managers/ps2/ps2_common.cpp
 +++ b/src/add-ons/kernel/bus_managers/ps2/ps2_common.cpp
 @@ -402,7 +402,7 @@ ps2_init(void)
 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE + 3]);
 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_KEYB]);
         } else {
 -
 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE]);
 +//
 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE]);
 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_KEYB]);
         }
 }}}

 gets the keyboard working, but breaks ps2 mouse in qemu and most likely on
 real hw too.

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

Other related posts: