Opened 4 years ago

Closed 5 months ago

#16857 closed bug (fixed)

Mouse and keyboard not working anymore.

Reported by: bga Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I installed a new KVM and, since then, mouse and keyboard stopped working under Haiku (in fact, any USB devices connected to the same KVM seem to not be working.

listdev output:

device Network controller (Ethernet controller) [2|0|0]
  vendor 8086: Intel Corporation
  device 15b7: Ethernet Connection (2) I219-LM

device Serial bus controller (SMBus) [c|5|0]
  vendor 8086: Intel Corporation
  device a123: 100 Series/C230 Series Chipset Family SMBus

device Multimedia controller (Audio device) [4|3|0]
  vendor 8086: Intel Corporation
  device a171: CM238 HD Audio Controller

device Memory controller [5|80|0]
  vendor 8086: Intel Corporation
  device a121: 100 Series/C230 Series Chipset Family Power Management Controller

device Bridge (ISA bridge) [6|1|0]
  vendor 8086: Intel Corporation
  device a152: HM175 Chipset LPC/eSPI Controller

device Signal processing controller [11|80|0]
  vendor 8086: Intel Corporation
  device a127: 100 Series/C230 Series Chipset Family Serial IO UART #0

device Mass storage controller (Non-Volatile memory controller, NVM Ex [1|8|2]
  vendor 8086: Intel Corporation
  device f1a8: SSD 660P Series

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a11c: 100 Series/C230 Series Chipset Family PCI Express Root Port #13

device Mass storage controller (Non-Volatile memory controller, NVM Ex [1|8|2]
  vendor 8086: Intel Corporation
  device f1a8: SSD 660P Series

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a118: 100 Series/C230 Series Chipset Family PCI Express Root Port #9

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a114: 100 Series/C230 Series Chipset Family PCI Express Root Port #5

device Network controller [2|80|0]
  vendor 8086: Intel Corporation
  device 24fd: Wireless 8265 / 8275

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a112: 100 Series/C230 Series Chipset Family PCI Express Root Port #3

device Network controller (Ethernet controller) [2|0|0]
  vendor 8086: Intel Corporation
  device 157b: I210 Gigabit Network Connection

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a111: 100 Series/C230 Series Chipset Family PCI Express Root Port #2

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device a110: 100 Series/C230 Series Chipset Family PCI Express Root Port #1

device Communication controller [7|80|0]
  vendor 8086: Intel Corporation
  device a13a: 100 Series/C230 Series Chipset Family MEI Controller #1

device Signal processing controller [11|80|0]
  vendor 8086: Intel Corporation
  device a162: 100 Series/C230 Series Chipset Family Serial IO I2C Controller #2

device Signal processing controller [11|80|0]
  vendor 8086: Intel Corporation
  device a161: 100 Series/C230 Series Chipset Family Serial IO I2C Controller #1

device Signal processing controller [11|80|0]
  vendor 8086: Intel Corporation
  device a160: 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0

device Signal processing controller [11|80|0]
  vendor 8086: Intel Corporation
  device a131: 100 Series/C230 Series Chipset Family Thermal Subsystem

device Serial bus controller (USB controller, XHCI) [c|3|30]
  vendor 8086: Intel Corporation
  device a12f: 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller

device Generic system peripheral [8|80|0]
  vendor 8086: Intel Corporation
  device 1911: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model

device Display controller [3|80|0]
  vendor 8086: Intel Corporation
  device 591b: HD Graphics 630

device Generic system peripheral (SD Host controller) [8|5|1]
  vendor 1217: O2 Micro, Inc.
  device 8621: SD/MMC Card Reader Controller

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 1909: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x4)

device Serial bus controller (USB controller, XHCI) [c|3|30]
  vendor 1b21: ASMedia Technology Inc.
  device 2142: ASM2142 USB 3.1 Host Controller

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 1905: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8)

device Multimedia controller (Audio device) [4|3|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device ab08: Polaris 22 HDMI Audio

device Display controller (VGA compatible controller, VGA controller) [3|0|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 694c: Polaris 22 XT [Radeon RX Vega M GH]

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 1901: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)

device Bridge (Host bridge) [6|0|0]
  vendor 8086: Intel Corporation
  device 5910: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers

listusb output:

0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "XHCI RootHub" ver. 0300
0557:2410 /dev/bus/usb/1/18/hub "ATEN International Co., Ltd" "" ver. 0119
0557:8021 /dev/bus/usb/1/2/2/hub "ATEN International Co., Ltd" "Hub" ver. 0100
0557:5411 /dev/bus/usb/1/2/hub "ATEN International Co., Ltd" "" ver. 0119
8087:0a2b /dev/bus/usb/1/8 "Intel Corp." "" ver. 0010
0000:0000 /dev/bus/usb/1/hub "HAIKU Inc." "XHCI RootHub" ver. 0300

I continuously see these messages being repeated in syslog:

KERN: usb hub 8: port 0: new device connected
KERN: usb error xhci 1: unsuccessful command 9, error No slots (9)
KERN: usb error xhci 1: KERN: AllocateDevice() failed enable slot
KERN: usb error xhci 1: unsuccessful command 9, error No slots (9)
KERN: usb error xhci 1: KERN: AllocateDevice() failed enable slot
KERN: usb error xhci 1: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 13: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 13: KERN: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 13: KERN: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 13: KERN: error updating port status
KERN: usb hub 45: port 0: new device connected
KERN: usb error xhci 1: unsuccessful command 9, error No slots (9)
KERN: usb error xhci 1: KERN: AllocateDevice() failed enable slot
KERN: usb error xhci 1: unsuccessful command 9, error No slots (9)
KERN: usb error xhci 1: KERN: AllocateDevice() failed enable slot
KERN: usb error xhci 1: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 34: KERN: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 34: KERN: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 34: error updating port status
KERN: usb error xhci 1: KERN: link descriptor for pipe: max transfers count exceeded
KERN: usb error hub 34: KERN: error updating port status

Any ideas?

Change History (4)

comment:1 by waddlesplash, 4 years ago

"No slots" is a really weird error. I don't know much about it, but it seems pretty specific as to what the problem is.

comment:2 by waddlesplash, 3 years ago

Please retest after hrev55430.

comment:3 by korli, 3 years ago

Please check with a current nightly.

comment:4 by waddlesplash, 5 months ago

Resolution: fixed
Status: newclosed

The "No slots" problem was probably fixed years ago in hrev55708. The "max transfers count exceeded" also will generally not happen these days, either. So this is probably long since fixed; if not, please open a new ticket.

Note: See TracTickets for help on using tickets.