Page 1 of 1

Spurious Detach Events with Phidget

Posted: Thu Sep 24, 2020 2:10 am
by user123
Hi together,
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

Re: Spurious Detach Events with Phidget

Posted: Thu Sep 24, 2020 1:52 pm
by Patrick
Hi,

Your HUB0000 is running a quite old firmware v119. Please upgrade to the latest v127 using the Phidget control panel on a Windows or macOS machine and report back. There have been numerous USB bugfixes.

-Patrick

Re: Spurious Detach Events with Phidget

Posted: Wed Sep 30, 2020 2:04 am
by user123
So i am reporting back: i updated the firmware. i did a lot of testing. no detach events appeared. i hope it stays this way.

thanks a lot