Tool/software: Linux
Hi team.
My customer configured to connect SoC USB and UART BLE using TUSB3410.
Currently, the following message is displayed in the linux kernel:
'ti_usb_3410_5052_1 ttyUSB0: ti_open - cannot clear output buffers, -104 (usb communication error)'
The meaning of the message is a USB communication error.
I suspect that the TUSB3410 will enter sleep mode. (If it occurs only once, normal operation will be done.)
1. In which case, check to see if the message is occurring.
2. And he asked if there is a way to prevent it from entering suspend. (WAKEUP, RI / CP pin ... etc)
Please refer to the detailed log below.
============================================< Output Log >=========================================================
# ./test_ttyUSB0
[AT+VER] Written = 8, Read = 31
Data= 10020700,70:B7:96:CF:52:6E,-69
[AT+INFO] Written = 9, Read = 1
Data=
# ./test_ttyUSB0
[AT+VER] Written = 8, Read = 18
Data= ▒:96:CF:52:6E,-75
[AT+INFO] Written = 9, Read = 1
Data=
# ./test_ttyUSB0
[AT+VER] Written = 8, Read = 36
Data= 22d4537313030,00:1B:C3:07:27:BA,-60
[AT+INFO] Written = 9, Read = 1
Data=
# ./test_ttyUSB0
[AT+VER] Written = 8, Read = 41
Data= b2f45f5425a6af1904,2D:72:C7:81:32:FC,-78
[AT+INFO] Written = 9, Read = 1
Data=
# ./test_ttyUSB0
[AT+VER] Written = 8, Read = 3
Data= OK
[AT+INFO] Written = 9, Read = 47
Data= 74:F0:7D:C9:FB:DA,BoT,CLIENT[OBSERVER],ADV[ON]
# ./test_ttyUSB0
ti_usb_3410_5052_1 ttyUSB0: ti_open - cannot clear output buffers, -104
open error!!!
# [WN5 Event] wn5_event_notify_to_app : cmd (0x00000003), sub(0x00000000)
[event] USB device disconnect devnum=3, idVendor=0451, idProduct=3410
usb 1-1: USB disconnect, device number 3
ti_usb_3410_5052_1 ttyUSB0: TI USB 3410 1 port adapter converter now disconnected from ttyUSB0
ti_usb_3410_5052 1-1:2.0: device disconnected
usb 1-1: new full-speed USB device number 4 using dwc2
usb 1-1: New USB device found, idVendor=0451, idProduct=3410
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: TUSB3410 Boot Device
usb 1-1: Manufacturer: Texas Instruments
usb 1-1: SerialNumber: TUSB3410
[event] USB device connect
[WN5 Event] wn5_event_notify_to_app : cmd (0x00000003), sub(0x00000001)
ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected
usb 1-1: Direct firmware load for ti_usb-v0451-p3410.fw failed with error -2
usb 1-1: reset full-speed USB device number 4 using dwc2
usb 1-1: device firmware changed
ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5
[WN5 Event] wn5_event_notify_to_app : cmd (0x00000003), sub(0x00000000)
[event] USB device disconnect devnum=4, idVendor=0451, idProduct=3410
usb 1-1: USB disconnect, device number 4
usb 1-1: new full-speed USB device number 5 using dwc2
usb 1-1: New USB device found, idVendor=0451, idProduct=3410
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: TUSB3410 Boot Device
usb 1-1: Manufacturer: Texas Instruments
usb 1-1: SerialNumber: TUSB3410
[event] USB device connect
[WN5 Event] wn5_event_notify_to_app : cmd (0x00000003), sub(0x00000001)
ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected
ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5
ti_usb_3410_5052 1-1:2.0: TI USB 3410 1 port adapter converter detected
usb 1-1: TI USB 3410 1 port adapter converter now attached to ttyUSB0
============================================================================================================
Thank you!