[haiku-bugs] [Haiku] #15561: USB stop working after disconnecting USB hub with keyboard and mouse

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 17 Dec 2019 12:58:08 -0000

#15561: USB stop working after disconnecting USB hub with keyboard and mouse
-------------------------+------------------------------
 Reporter:  X512         |        Owner:  mmlr
     Type:  bug          |       Status:  new
 Priority:  normal       |    Milestone:  Unscheduled
Component:  Drivers/USB  |      Version:  R1/Development
 Keywords:               |   Blocked By:
 Blocking:               |  Has a Patch:  0
 Platform:  All          |
-------------------------+------------------------------
 This is hrev53634 x86_64.

 USB 2 hub with 4 ports is connected to USB 3 port of PC. Keyboard and
 mouse are connected to hub. If hub is disconnected and connected again,
 keyboard and mouse are no longer working. Mouse LED flashes and turn off.

 syslog when hub is disconnected:
 {{{
 KERN: usb hub 2: port 2: device removed
 KERN: usb xhci 0: cancel queued transfers (1) for pipe 0xffffffff82c00008
 (1)
 KERN: usb error xhci 0: cancel queued transfers: could not stop endpoint:
 Operation timed out!
 KERN: usb xhci 0: KERN: usb xhci 0: usb xhci 0: KERN: cancel queued
 transfers (0) for pipe 0xffffffff82837100 (0)
 KERN: transfer error on slot 5 endpoint 3: Stopped
 KERN: cancel queued transfers (1) for pipe 0xffffffff82c00008 (1)
 KERN: usb xhci 0: KERN: usb error xhci 0: KERN: cancel queued transfers
 (0) for pipe 0xffffffff82c00008 (1)
 KERN: received command event for unknown command!
 KERN: usb error xhci 0: unsuccessful command 15, error Context state (19)
 KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff82d79f60
 (2)
 KERN: usb error xhci 0: unsuccessful command 15, error Context state (19)
 KERN: usb xhci 0: cancel queued transfers (1) for pipe 0xffffffff82c00058
 (1)
 KERN: usb error xhci 0: cancel queued transfers: could not stop endpoint:
 Operation timed out!
 KERN: usb xhci 0: Mouse device exiting, Device not ready
 KERN: usb xhci 0: KERN: cancel queued transfers (0) for pipe
 0xffffffff82837180 (0)
 KERN: transfer error on slot 4 endpoint 3: Stopped
 KERN: usb xhci 0: Last message repeated 1 time
 KERN: usb error xhci 0: cancel queued transfers (0) for pipe
 0xffffffff82c00058 (1)
 KERN: cancel queued transfers (0) for pipe 0xffffffff82c00058 (1)
 KERN: received command event for unknown command!
 KERN: usb error xhci 0: unsuccessful command 15, error Context state (19)
 KERN: usb xhci 0: cancel queued transfers (1) for pipe 0xffffffff82c00eb8
 (1)
 KERN: usb error xhci 0: cancel queued transfers: could not stop endpoint:
 Operation timed out!
 KERN: usb xhci 0: Last message repeated 1 time
 KERN: cancel queued transfers (0) for pipe 0xffffffff82837300 (0)
 KERN: transfer error on slot 1 endpoint 3: Stopped
 KERN: usb error xhci 0: KERN: received command event for unknown command!
 KERN: usb error xhci 0: KERN: unsuccessful command 10, error Slot not
 enabled (11)
 }}}
 syslog when hub is connected again:
 {{{
 KERN: usb hub 2: port 2: new device connected
 }}}

 Same problem can be caused by disconnecting USB device directly from PC,
 but effect is not reproduceable. I experieced similar problem with 32 bit
 USB 2 PC few years ago.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15561>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: