Project

General

Profile

Bug #1607

USB 2.0 devices cannot be connected/enumerated on MCP61

Added by Albert Lee almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
2011-10-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
usb, ehci

Description

User using an MCP61 board cannot use USB devices.
<stupac> Oct 6 14:41:26 GLaDOS usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci103c,2a6d@2,1 (ehci0): Connecting device on port 6 failed

Increasing hubd_device_delay and hubd_retry_enumerate do not help.

USB 1.1 devices work:
<stupac> Oct 6 15:31:19 GLaDOS usba: [ID 349649 kern.info] PIXART USB OPTICAL MOUSE
<stupac> Oct 6 15:31:19 GLaDOS genunix: [ID 936769 kern.info] hid0 is /pci@0,0/pci103c,2a6d@2/mouse@5
<stupac> Oct 6 15:31:19 GLaDOS genunix: [ID 408114 kern.info] /pci@0,0/pci103c,2a6d@2/mouse@5 (hid0) online

History

#1

Updated by Albert Lee almost 8 years ago

::usba_debug_buf output:

usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdbbe68 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdbbef8 cr=16 data=0x0 cb_flags=0x0
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdb9af8 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdb9b88 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01db7d4b00
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc5c580 (ep0) state=1 wrp=
0xffffff01dbdb9858 ref=3 reqcnt=1 cr=12
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc5c580 (ep0) state=1 wrp=
0xffffff01dbdb9858 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01c8d0d010)
usba:   deallocating usba_device = 0xffffff01db7d4b00, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdba770 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdba800 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01dc8c2500
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33e40 (ep0) state=1 wrp=
0xffffff01dbdb9858 ref=3 reqcnt=1 cr=12
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33e40 (ep0) state=1 wrp=
0xffffff01dbdb9858 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01d24672a8)
usba:   deallocating usba_device = 0xffffff01dc8c2500, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdb9858 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdb98e8 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01db7d4080
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dc0f6a00 (ep0) state=1 wrp=
0xffffff01dbdb8da0 ref=3 reqcnt=1 cr=12
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dc0f6a00 (ep0) state=1 wrp=
0xffffff01dbdb8da0 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01d2467000)
usba:   deallocating usba_device = 0xffffff01db7d4080, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdb8da0 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdb8e30 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01dc8c2500
ehci0:  ehci_check_for_error: Transaction Error
ehci0:  ehci_check_for_error: Error 5 Device address 0 Endpoint number 0
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33480 (ep0) state=1 wrp=
0xffffff01dbdb9318 ref=3 reqcnt=1 cr=5
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33480 (ep0) state=1 wrp=
0xffffff01dbdb9318 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01d24672a8)
usba:   deallocating usba_device = 0xffffff01dc8c2500, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdba690 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdba720 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01dc8c2500
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33480 (ep0) state=1 wrp=
0xffffff01dbdb8da0 ref=3 reqcnt=1 cr=12
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc33480 (ep0) state=1 wrp=
0xffffff01dbdb8da0 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01d24672a8)
usba:   deallocating usba_device = 0xffffff01dc8c2500, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
eusb0:  Connecting device on port 5 failed
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdb8da0 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdb8e30 cr=16 data=0x0 cb_flags=0x0
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01e1f7bb60 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01e1f7bbf0 cr=16 data=0x0 cb_flags=0x0
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01dbdb9698 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01dbdb9728 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01dc982000
ehci0:  ehci_check_for_error: Transaction Error
ehci0:  ehci_check_for_error: Error 5 Device address 0 Endpoint number 0
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01e267b540 (ep0) state=1 wrp=
0xffffff01dbdb9698 ref=3 reqcnt=1 cr=5
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01e267b540 (ep0) state=1 wrp=
0xffffff01dbdb9698 ref=3 reqcnt=1 cr=12
eusb0:  getting device descriptor failed (<Command timed out> 0x10 -1)
usba:   usba_destroy_child_devi: device-1 (0xffffff01d24672a8)
usba:   deallocating usba_device = 0xffffff01dc982000, address = 0x2
eusb0:  disabling port 5 again
eusb0:  retrying on port 5
usbai:  usba_req_exc_cb: ehci0: ph_data=0xffffff01c72d0740 (ep81) state=1 wrp=0x
ffffff01db1c7728 ref=2 reqcnt=1 cr=16
eusb0:  hubd_exception_cb: req=0xffffff01db1c77b8 cr=16 data=0x0 cb_flags=0x0
usba:   allocated usba_device 0xffffff01dbb20540
ehci0:  ehci_wait_for_transfers_completion:No transfers completion confirmation 
received
usbai:  usba_req_exc_cb: device-1: ph_data=0xffffff01dcc9c5c0 (ep0) state=1 wrp=
0xffffff01e1e49970 ref=3 reqcnt=1 cr=12

Also available in: Atom PDF