VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    V4L2 driver, missing exposure, gain... controls

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    3 Posts 2 Posters 1.4k Views 1 Watching
    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.
    • P Offline
      pacoferre
      last edited by

      Hello,

      I'm trying to use a Veye 327 E camera connected to a Raspberry PI 4 and the software I'm using needs to set, at least the Exposure configuration.

      The missing commands are: V4L2_CID_ANALOGUE_GAIN, V4L2_CID_EXPOSURE, V4L2_CID_DIGITAL_GAIN, V4L2_CID_HFLIP, V4L2_CID_VFLIP and V4L2_CID_VBLANK

      In the driver source code at https://github.com/veyeimaging/raspberrypi_v4l2/blob/main/driver_source/cam_drv_src/rpi-5.x_all/veye327.c there are some portions of commented code. I tried to uncomment them and recompile, but there is a missing file called veye327.h with missing constants and values I don't know.

      Would it be possible for you to provide that missing file or a bit of guidance so that I can get the driver to work with full functionality. I have C development skills and could manage.

      I have also managed to adapt the code of this driver (which has all controls support) https://github.com/54shady/qop_kernel/blob/master/drivers/media/i2c/imx327.c so that it is recognised as your device, but without success.

      Also, I tried to mix code between the two files... also, no success.

      No success => no image retrieved and/or error messages when setting exposure or other properties...

      Best regards,

      Paco Ferre

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @pacoferre
        last edited by

        @pacoferre
        Hi,
        VEYE-MIPI-IMX327 is not just a sensor board, it has ISP functions built-in. So you could not treat it as a SENSOR.
        So :

        1. You can not use https://github.com/54shady/qop_kernel/blob/master/drivers/media/i2c/imx327.c
          to driver VEYE camera module. You can not control the sensor directly.
        2. Functions like V4L2_CID_VBLANK are also meaningless.

        I suggest you use this script to configure the parameters. http://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/.
        It can realize the functions provided by the V4L2 driver, and provides more functions.

        If you must implement some functions in the v4l2 driver, you can refer to the code of this script to port the register configuration method to the driver layer.

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pacoferre @veye_xumm
          last edited by

          @veye_xumm
          Hello, thanks for the reply,

          I will do as you say, refer to the code of this script to port the register configuration method to the driver layer.

          Best regards,

          Paco

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post