With loops 100 I easily got a crash.
Unfortunately it dídn't recover. Same old libusb debug message.
Code:
hal failed to wait for requested mode. waited 500ms
task: main loop took 0.018703 seconds
r = -4 when fail
Failed at 1
transmission failed, try to reconnect ...-4
transmission failed, try to reconnect ...-4
connection lost, cleaning up
libusb_handle_events_timeout_completed done 0
libusb_release_interface done -4
libusb_close done
process done
Done with process()
About to tear down usb
Trying again for 100th time
Started while looooop
After initWhb()
init pausing 3s, waiting for device to be gone ....... done
init usb context ... ok
init not waiting for device XHC-WHB04B-6 vendorId=0x10ce productId=0xeb93, will continue in 0s .... ok
init XHC-WHB04B-6 device found
init detaching active kernel driver ... ok
init claiming interface ... ok
Before mUsb.isDeviceOpen()
is Open
libusb: debug [libusb_unref_device] destroy device 3.8
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
This is on the "new" N100 mini pc.