We had this issue again today, captured some better logs from the Phidget22 Network Server:
Code: Select all
2020-04-15T13:54:26 <ERROR> phidget22usb[PhidgetUSBSendPacket()] : libusb_control_msg() stalled too many times.
2020-04-15T13:54:26 <ERROR> phidget22[sendpacket()] : PhidgetUSBSendPacket() returned: 0x05 - IO Issue
2020-04-15T13:54:26 <Warn> phidget22[PhidgetUSBError()] : Detaching device because of USB error.
2020-04-15T13:54:26 <Info> phidget22net[removeChannelNetworkConnections()] : www,nodejs://127.0.0.1:39512 unlinked from RTD input Ch:0 -> TMP1200 -> HUB0000 Port:0 S/N:560574 Label:vhub
2020-04-15T13:54:26 <Info> phidget22[deviceDetach()] : TMP1200 (RTD Phidget) v106 -> HUB0000 Port:0 S/N:560574 Label:vhub
2020-04-15T13:54:26 <Info> phidget22net[removeChannelNetworkConnections()] : www,nodejs://127.0.0.1:39512 unlinked from PhidgetTemperatureSensor
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : libusb_interrupt_transfer() failed: LIBUSB_ERROR_IO - Input/Output Error. Maybe detaching?
2020-04-15T13:54:26 <Info> phidget22[deviceDetach()] : TMP1200 (RTD Phidget) v106 -> HUB0000 Port:1 S/N:560574 Label:vhub
2020-04-15T13:54:26 <Info> phidget22net[removeChannelNetworkConnections()] : www,nodejs://127.0.0.1:39512 unlinked from Digital Output Ch:0 -> OUT1100 -> HUB0000 Port:2 S/N:560574 Label:vhub
2020-04-15T13:54:26 <Info> phidget22net[removeChannelNetworkConnections()] : www,nodejs://127.0.0.1:39512 unlinked from Digital Output Ch:1 -> OUT1100 -> HUB0000 Port:2 S/N:560574 Label:vhub
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : libusb_interrupt_transfer() failed: LIBUSB_ERROR_IO - Input/Output Error. Maybe detaching?
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : libusb_interrupt_transfer() failed: LIBUSB_ERROR_IO - Input/Output Error. Maybe detaching?
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : libusb_interrupt_transfer() failed: LIBUSB_ERROR_IO - Input/Output Error. Maybe detaching?
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : libusb_interrupt_transfer() failed: LIBUSB_ERROR_IO - Input/Output Error. Maybe detaching?
last message repeated 16 times
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : Device was unplugged - detach.
2020-04-15T13:54:26 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1067 (PhidgetStepper Bipolar HC) v202 S/N:522891: ReadThread exiting normally (Phidget detach detected in PhidgetDevice_read)
2020-04-15T13:54:26 <Info> phidget22usb[PhidgetUSBReadPacket()] : Device was unplugged - detach.
2020-04-15T13:54:26 <Info> phidget22[PhidgetUSBReadThreadFunction()] : 1010/1018/1019 (PhidgetInterfaceKit 8/8/8) v904 S/N:594722: ReadThread exiting normally (Phidget detach detected in PhidgetDevice_read)
Immediately after I see the disconnects (again, dmesg):
Code: Select all
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB2: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB1: usb_serial_generic_write_bulk_callback - urb stopped: -32
[Wed Apr 15 13:54:27 2020] usb 1-1.2: USB disconnect, device number 7
[Wed Apr 15 13:54:27 2020] usb 1-1.2.1: USB disconnect, device number 8
[Wed Apr 15 13:54:27 2020] usb 1-1.2.2: USB disconnect, device number 9
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: error from flowcontrol urb
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[Wed Apr 15 13:54:27 2020] ftdi_sio 1-1.2.2:1.0: device disconnected
[Wed Apr 15 13:54:27 2020] usb 1-1.2.3: USB disconnect, device number 10
[Wed Apr 15 13:54:27 2020] usb 1-1.2.4: USB disconnect, device number 11
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB1: error from flowcontrol urb
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[Wed Apr 15 13:54:27 2020] ftdi_sio 1-1.2.4:1.0: device disconnected
[Wed Apr 15 13:54:27 2020] usb 1-1.2.5: USB disconnect, device number 12
[Wed Apr 15 13:54:27 2020] cdc_acm 1-1.2.5:1.0: failed to set dtr/rts
[Wed Apr 15 13:54:27 2020] usb 1-1.2.6: USB disconnect, device number 13
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB2: error from flowcontrol urb
[Wed Apr 15 13:54:27 2020] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[Wed Apr 15 13:54:27 2020] ftdi_sio 1-1.2.6:1.0: device disconnected
[Wed Apr 15 13:54:27 2020] usb 1-1.2.7: USB disconnect, device number 14
I should note that everything we're connecting to has its own external power supply, other than the VINT hub of course.