[haiku-bugs] Re: [Haiku] #12376: HID usb stall on healthy usb device

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Mon, 14 Sep 2015 14:02:53 -0000

#12376: HID usb stall on healthy usb device
--------------------------------+----------------------------
Reporter: kallisti5 | Owner: mmlr
Type: bug | Status: new
Priority: high | Milestone: R1/beta1
Component: Drivers/USB/EHCI | Version: R1/Development
Resolution: | Keywords: HID
Blocked By: | Blocking:
Has a Patch: 0 | Platform: x86-64
--------------------------------+----------------------------

Comment (by mmlr):

There are only few recent changes to the usb_hid code, so if it worked a
few months ago then this was possibly introduced in f1a02a8 which changed
the stall handling. It looks like both transfers, the one for the actual
input and the control transfer to clear the stall, stall. A device
stalling the unstall command should generally not happen, so something
seems to go fundamentally wrong. AFAIR there is no special recovery
mechanism in USB HID (as opposed to reset recovery in USB mass storage for
example), which would mean this isn't a missing feature of the usb_hid
driver.

More info is needed to figure out what's actually happening. Possibly a
full syslog with the initial error message already sheds some light on
what happens. Otherwise enabling full logging in the USB stack and the
respective bus driver (EHCI in this case) will be needed.

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

Other related posts: