[haiku-bugs] Re: [Haiku] #8939: USB Mouse pauses erratically

  • From: "ithamar" <trac@xxxxxxxxxxxx>
  • Date: Mon, 16 Mar 2015 13:14:15 -0000

#8939: USB Mouse pauses erratically
   Reporter:  jessicah           |      Owner:  ithamar
       Type:  bug                |     Status:  assigned
   Priority:  normal             |  Milestone:  R1
  Component:  Drivers/Mouse/USB  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:  8685
Has a Patch:  0                  |   Platform:  All
Changes (by ithamar):

 * owner:  mmlr => ithamar
 * status:  new => assigned


 I have a patch in testing here that I suspect will solve this problem.
 When the interrupt pipe stalls, it does a clear_feature() from the
 callback, which causes a synchronous transfer, which is not allowed from
 the callback (since the callback executes in the finish thread). Once that
 happens, the usb stack gets seriously confused, causing the "usb error hub
 XXX: error updating port status" messaging from the Explore thread.

 Sometimes the stack recovers, sometimes it doesn't, very much dependent on
 "undefined" controller behavior, and other bus activity at the time.

Ticket URL: <https://dev.haiku-os.org/ticket/8939#comment:17>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: