Skip to main content

Spinnaker initalization causes other USB3 cameras to drop out on Linux

Answered

Comments

4 comments

  • Dexton Anderson

    I found that it is the default udev rules the Intel RealSense SDK installs which were causing the problem. If I disable those (or change them). It seems to work fine.

    0
  • TDY_Markus
    Community team
    Great answers
    Expert (Gold)

    Hello Dexton,

    Thank you for your feedback. We recently had a similar request. I believe the customer could fix this with the instructions at this link:
    https://forum.pjrc.com/threads/71889-Teensy4-1-USB-reset-by-third-party-program-removes-device-on-Ubuntu-18-04

    1. Remove any SUBSYSTEMS=="usb" rules from the non-FLIR device's udev rules file.
    2. Do not run the Spinnaker SDK with sudo privileges.

    What did you change in the udev rules of the Intel RealSense?

    0
  • Dexton Anderson

    I appreciate the reply and the info!

    I had to disable the udev rule that matched my RealSense camera idVendor and idProduct. For context, the RealSense rules I am using can be found here: https://github.com/IntelRealSense/librealsense/blob/master/config/99-realsense-libusb.rules

    If I comment only the line which matches my camera, Spinnaker software does not cause any problems. I.e.

    [...]
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b4d", MODE:="0666", GROUP:="plugdev"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b52", MODE:="0666", GROUP:="plugdev"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b5b", MODE:="0666", GROUP:="plugdev"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b5c", MODE:="0666", GROUP:="plugdev"
    # SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b64", MODE:="0666", GROUP:="plugdev"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b68", MODE:="0666", GROUP:="plugdev"

    # Intel RealSense recovery devices (DFU)
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0ab3", MODE:="0666", GROUP:="plugdev"
    [...]

    This still allows my RealSense to function under a normal (non-root) user. But, perhaps this isn't the ideal setup. This may still be an issue with Spinnaker software, but I have a decent enough solution for now.

    Thanks again!

    1
  • TDY_Markus
    Community team
    Great answers
    Expert (Gold)

    Hello Dexton,

    Thanks a lot for the additional information!

    Markus

    0

Please sign in to leave a comment.

Powered by Zendesk