ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to fix the UVC camera DEVICE ID

    Video and Image Sensors
    2
    3
    40
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jskim
      last edited by

      Hi Support Team,

      [This is an inquiry regarding a UVC camera.]
      We are using the voxl-mini as shown below.

      • hw platform: M0104
      • voxl-suite: 1.4.5
      • SKU: TF-M0104-6-V1-C6
      • video codec(voxl-streamer): h.264
      • Web camera: uvc(YUY2) format

      [Inquiry]

      1. We are using a web camera.
      2. The Device ID changes when the camera is turned back on (see figure below).
        그림2.jpg
        Therefore, we execute the command "systemctl restart voxl-uvc-server" every time.
      3. Please tell me how to fix the Device ID.???

      Thank you.
      Kim.

      1 Reply Last reply Reply Quote 0
      • J
        Jskim
        last edited by

        Hi Support team,

        I would like to know how to resolve the issue regarding the DEVICE ID change.

        Could you please provide a solution for the above?

        e.g., Will creating a udev rule file resolve the issue?

        Thank you.

        Kim,

        Alex KushleyevA 1 Reply Last reply Reply Quote 0
        • Alex KushleyevA
          Alex Kushleyev ModalAI Team @Jskim
          last edited by

          @Jskim , you should check dmesg to see maybe there are some warnings. Perhaps the device is not de-initialized properly (how are you powering it off?) and next time the OS allocates a new Device ID.

          Either way, using udev rule should help resolve the issue, however make sure there is no resource leak as a result of the device on/off. Also, if you keep turning the device on/off, does the device ID increment indefinitely?

          Alex

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors