mplutka / tm-bt-led

Use your Thrustmaster BT LED with your Windows based racing sims on your PC.
MIT License
15 stars 4 forks source link

FATAL ERROR: LIBUSB_TRANSFER_STALL (TP LINK UB400) #21

Open code-KNOX opened 8 months ago

code-KNOX commented 8 months ago

USB Dongle: TP LINK UB400 (Driver Zadig WinUSB v6.1.7600.16385) USB Hardware ID: VID 0A12, PID 0001, REV 8891 OS: Win10 Pro 21H2

Games affected: AC, F1 22 (run.bat doesn't recognize game), Dirt Rally 2, Automobilista 2 (which I have tried with this error result) Symptoms: 100% working for couple of minutes, then suddenly disconnects with following below.

FATAL ERROR: LIBUSB_TRANSFER_STALL 1: 00007FF712DAFB5F napi_wrap+133759 2: 00007FF712D49676 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap,2>::NumberOfElementsOffset+31286 3: 00007FF712D4A50D node::OnFatalError+301 4: 00007FF712D49CE9 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap,2>::NumberOfElementsOffset+32937 5: 00007FF712D7776C napi_fatal_error+156 6: 00007FFF147A1897 7: 00007FFF14823A1E 8: 00007FFF147F9010 9: 00007FFF147F7F69 10: 00007FFF4B4D17E6 RtlCaptureContext2+1190 11: 00007FFF147B3782 12: 00007FFF147A26A8 13: 00007FF712D7594E node_module_register+4798 14: 00007FF712D751E1 node_module_register+2897 15: 00007FF712E0C8EB uv_async_send+331 16: 00007FF712E0C07C uv_loop_init+1292 17: 00007FF712E0C21A uv_run+202 18: 00007FF712D02FC5 v8::internal::compiler::JSHeapBroker::root_index_map+51749 19: 00007FF712D7C7C7 node::Start+311 20: 00007FF712C066C8 RC4_options+339400 21: 00007FF713B950F8 v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+12968 22: 00007FFF4AD27614 BaseThreadInitThunk+20 23: 00007FFF4B4826F1 RtlUserThreadStart+33

Note: sometimes it shows (run.bat in cmd window) noble warning: unknown peripheral 0008d3f22cbe

Solutions that worked fluently but then couldn't re-occur: run.bat --interval 50 (Ran perfectly for hours, even switching between supported games, then suddenly Fatal error, and noble warning: unknown peripheral 0008d3f22cbe) This fix does not recognize running or starting F1 22.

Solutions tried without success: run_compat.bat run_compat.bat --interval 50 run.bat selective.bat for each game Different USB ports

Your awesome software seems to be working for a while except this one bug that kills the connection. Thanks for your time and effort, and a donation will be made as appreciation if a solution is possible.

dump file { "services": [ { "startHandle": 1, "endHandle": 11, "uuid": "1800" }, { "startHandle": 12, "endHandle": 15, "uuid": "1801" }, { "startHandle": 16, "endHandle": 34, "uuid": "180a" }, { "startHandle": 35, "endHandle": 38, "uuid": "180f" }, { "startHandle": 39, "endHandle": 63, "uuid": "1812" } ], "characteristics": { "1800": [ { "startHandle": 2, "properties": 10, "valueHandle": 3, "uuid": "2a00", "propsDecoded": [ "read", "write" ], "rawProps": 10, "endHandle": 3 }, { "startHandle": 4, "properties": 2, "valueHandle": 5, "uuid": "2a01", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 5 }, { "startHandle": 6, "properties": 10, "valueHandle": 7, "uuid": "2a02", "propsDecoded": [ "read", "write" ], "rawProps": 10, "endHandle": 7 }, { "startHandle": 8, "properties": 2, "valueHandle": 9, "uuid": "2a04", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 9 }, { "startHandle": 10, "properties": 14, "valueHandle": 11, "uuid": "2a03", "propsDecoded": [ "read", "writeWithoutResponse", "write" ], "rawProps": 14, "endHandle": 11 } ], "1801": [ { "startHandle": 13, "properties": 34, "valueHandle": 14, "uuid": "2a05", "propsDecoded": [ "read", "indicate" ], "rawProps": 34, "endHandle": 15 } ], "1812": [ { "startHandle": 41, "properties": 2, "valueHandle": 42, "uuid": "2a4a", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 42 }, { "startHandle": 43, "properties": 4, "valueHandle": 44, "uuid": "2a4c", "propsDecoded": [ "writeWithoutResponse" ], "rawProps": 4, "endHandle": 44 }, { "startHandle": 45, "properties": 2, "valueHandle": 46, "uuid": "2a4b", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 47 }, { "startHandle": 48, "properties": 6, "valueHandle": 49, "uuid": "2a4e", "propsDecoded": [ "read", "writeWithoutResponse" ], "rawProps": 6, "endHandle": 49 }, { "startHandle": 50, "properties": 26, "valueHandle": 51, "uuid": "2a4d", "propsDecoded": [ "read", "write", "notify" ], "rawProps": 26, "endHandle": 53 }, { "startHandle": 54, "properties": 14, "valueHandle": 55, "uuid": "2a4d", "propsDecoded": [ "read", "writeWithoutResponse", "write" ], "rawProps": 14, "endHandle": 56 }, { "startHandle": 57, "properties": 14, "valueHandle": 58, "uuid": "2a4d", "propsDecoded": [ "read", "writeWithoutResponse", "write" ], "rawProps": 14, "endHandle": 59 }, { "startHandle": 60, "properties": 26, "valueHandle": 61, "uuid": "2a4d", "propsDecoded": [ "read", "write", "notify" ], "rawProps": 26, "endHandle": 63 } ], "180f": [ { "startHandle": 36, "properties": 18, "valueHandle": 37, "uuid": "2a19", "propsDecoded": [ "read", "notify" ], "rawProps": 18, "endHandle": 38 } ], "180a": [ { "startHandle": 17, "properties": 2, "valueHandle": 18, "uuid": "2a29", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 18 }, { "startHandle": 19, "properties": 2, "valueHandle": 20, "uuid": "2a24", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 20 }, { "startHandle": 21, "properties": 2, "valueHandle": 22, "uuid": "2a25", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 22 }, { "startHandle": 23, "properties": 2, "valueHandle": 24, "uuid": "2a27", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 24 }, { "startHandle": 25, "properties": 2, "valueHandle": 26, "uuid": "2a26", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 26 }, { "startHandle": 27, "properties": 2, "valueHandle": 28, "uuid": "2a28", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 28 }, { "startHandle": 29, "properties": 2, "valueHandle": 30, "uuid": "2a23", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 30 }, { "startHandle": 31, "properties": 2, "valueHandle": 32, "uuid": "2a2a", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 32 }, { "startHandle": 33, "properties": 2, "valueHandle": 34, "uuid": "2a50", "propsDecoded": [ "read" ], "rawProps": 2, "endHandle": 34 } ] }, "uuid": "0008d3f22cbe", "address": "00:08:d3:f2:2c:be", "name": "TM BT LED DISPLAY" }