I have a system of multiple Phidgets (1047-Phidget, HUB0000, DAQ1300, two OUT1100, ENC1000, STC1003). The HUB000 is connected to a Nanopi4 via custom-made usb-cable. this usb-cable has a 5V input cable so it wont get its power from Nanopi-USB-port. The grounds of Nanopi-USB-port, Powersupply and Hub are connected. I had the system running with a regular USB-cable but there where this detach events. i also had an external powered hub port tested. the thought behind the custom made cable was to prevent breakdown of the usb-port-power of the NanoPiNeo4 in case HUB000 pulls to much power. it has two ferrit cores on it. the detach Events are still there. It is very important for me to get rid of this events.
So i get this detach Events sometimes when i want to drive the motors and sometimes when i am doing nothing with the system. It is very difficult to say when they occur. i have the newest phidget library installed.
my logfile is attached. with the command dmesg in linux i found this:
USB disconnect, device number 2
usb 6-1: new full-speed USB device number 3 using ohci-platform
usb 6-1: New USB device found, idVendor=06c2, idProduct=003f
usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 6-1: Product: HUB0000_0
usb 6-1: Manufacturer: Phidgets Inc.
usb 6-1: SerialNumber: 560493
hid-generic 0003:06C2:003F.0003: hiddev0,hidraw0: USB HID v1.01 Device [Phidgets Inc. HUB0000_0] on usb-fe3a0000.usb-1/input