XHCI Dies When Connecting CDC-ACM Device
Hello,
I am seeking assistance with a CDC-ACM / XHCI error. I am using TE0820-03 with a TE0706-03 carrier board.
When connecting a CDC-ACM device, I receive the following output:
root@trenz2019:~# [ 115.685629] usb 1-1: new full-speed USB device number 3 using xhci-hcd
[ 115.838354] usb 1-1: New USB device found, idVendor=15a2, idProduct=a50f, bcdDevice= 0.00
[ 115.846527] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 115.853660] usb 1-1: Product: USB-UART
[ 115.857402] usb 1-1: Manufacturer: Freescale
[ 115.861665] usb 1-1: SerialNumber: TEST_1.0
[ 115.874756] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
root@trenz2019:~# [ 126.225619] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[ 126.249831] xhci-hcd xhci-hcd.0.auto: xHCI host controller not responding, assume dead
[ 126.257745] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
[ 126.263633] usb 1-1: USB disconnect, device number 3
After this, USB is disabled (no USB detection occurs for any device).
I have tried connecting a mouse, multiple mass storage devices, and hubs. This is the only device that kills USB.
When connecting this same device to Windows 10 and Ubuntu 18.04.4 LTS, there are no issues. On Windows, a COM port is created and communication works. On Ubuntu, the "ttyACM0" device is created and communication works.
If the CDC-ACM driver is not included in the Petalinux kernel, the device does not get disconnected after 10 seconds, but no "ttyACM0" is created.
I have tried the following hardware configs, in each case adding the CDC-ACM driver to Kernel Configuration:
2018.3 - Custom hdf with configuration from Section 9 of 2018.3 TE0820 Test Board document
- Prebuilt hdf with prebuilt Petalinux image
- Prebuilt hdf with configuration from Section 9 of 2018.3 TE0820 Test Board document
2019.2 - Prebuilt xsa with configuration from Section 9 of 2019.2 TE0820 Test Board document, found here:
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+BoardOne additional item of note is the device will sometimes hold power to the board through USB with the power supply off. Output still appears through PuTTY.
Any help is appreciated. Thank you.