Spinnaker SDK resets other miscellaneous USB devices on Ubuntu
AnsweredHello,
We are using a FLIR Blackfly S BFS-U3-16S2M-BD camera along with the Spinnaker SDK v. 3.0.0.118 on Ubuntu 20.04.6.
We have noticed that this function call in the Spinnaker SDK:
SystemPtrsystem = System::GetInstance();causes a USB bus reset on devices other than the FLIR Blackfly camera when the device has been set up with the same bDeviceSubClass ( = 2) as the FLIR Blackfly.
Bus 004 Device 005: ID 1e10:4000 Point Grey Research, Inc. Blackfly S BFS-U3-16S2M-BD
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 9
Bus 003 Device 012: ID 0001:0002
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 Abstract (modem)
bDeviceProtocol 1 AT-commands (v.25ter)
bMaxPacketSize0 64
Using the USB configuration for the device 0001:0002 above, the following is written in dmesg when the System::GetInstance() method is called:
[91553.692533] usb 4-2: reset SuperSpeed USB device number 12 using xhci_hcd
[91553.862078] usb 3-11: reset full-speed USB device number 61 using xhci_hcd
Where device number 61 is device 0001:0002. This reset causes serious unwanted behaviour in our system.
If we change the bDeviceClass to something other than 2, for instance to 0, then the device 0001:0002 is NOT reset by Spinnaker SDK, and our system works as expected.
Why does this happen? Thanks.
-
Official comment
Hello Maren,
This looks like a known issue that we are already testing a fix for. There is a good chance this will be fixed in the next Spinnaker release. If you would like to test the fix yourself, could you please open a support ticket on https://flir.custhelp.com/app/ask ?
Best regards,Manuel
-
Hi Nir,
Spinnaker 4.x for Ubuntu should be online in early January.
It has passed our testing procedures.Thanks,
Markus1 -
For future reference, this issue would be resolved for the bug release (Spinnaker 3.2) and the feature release (Spinnaker 4.X).
0 -
Hi,
We Suffer from the USB devices reset in linux issue as well, I've seen that the Spinnaker 4 SDK is available only for windows right now, when can we expect an Ubuntu 22.04 + Python release to become available?
Thank you.0
Please sign in to leave a comment.
Comments
4 comments