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

    cssc132 driver for Raspberry pi 5

    Scheduled Pinned Locked Moved CS MIPI camera
    5 Posts 2 Posters 2.6k 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.
    • R Offline
      reinbb
      last edited by

      Hi
      Is there a cssc132 driver update coming for raspberry pi 5?

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

        @reinbb cssc132.ko
        This driver has always been available and open source.

        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.)

        R 2 Replies Last reply Reply Quote 0
        • R Offline
          reinbb @veye_xumm
          last edited by

          @veye_xumm Thanks for the quick reply! Looks like I'm missing something. Can you help me with it?
          I followed the documentation raspberrypi_v4l2. Unsuccessfully.
          Env:

          • Raspberry Pi 5

          • OS: Linux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux

          • I compiled cssc132.ko and cssc132.dtbo (from rpi-6.6.y dirs).

          • then raspberrypi_v4l2/release/driver_bin/6.6.51+rpt-rpi-2712 was created

          • after that I executed raspberrypi_v4l2/release/install_driver_rpi5.sh

          • reboot

          • then I tested /boot/firmware/config.txt:
            [all]
            dtparam=i2c_vc=on
            dtoverlay=cssc132
            dtoverlay=cssc132,cam0

          After that video0 and video1 appeared.

          Then I configured driver by executing following scripts:
          ./find_entity.sh
          Found cssc132 @ i2c-4 entity on /dev/media1
          Plese get frame from /dev/video0 and use /dev/v4l-subdev2 for camera setting.
          ./media_setting_rpi5.sh cssc132 -fmt UYVY -w 1280 -h 1080
          This is a Raspberry Pi 5.
          camera is YUV type
          camera name cssc132; width 1280; height 1080; media_fmt UYVY8_1X16; pixel_fmt UYVY
          CAM1 probed: media device is /dev/media1
          set CAM1 finish, plese get frame from /dev/video0 and use /dev/v4l-subdev2 for camera setting
          cssc132 6 NOT FOUND

          After all I tried to test cam by ffprobe /dev/video0 or /dev/video1. But I see the following errors:
          libswresample 4. 7.100 / 4. 7.100
          libpostproc 56. 6.100 / 56. 6.100
          [video4linux2,v4l2 @ 0x5555c17f7b00] ioctl(VIDIOC_G_FMT): Invalid argument
          /dev/video1: Invalid argument

          1 Reply Last reply Reply Quote 0
          • R Offline
            reinbb @veye_xumm
            last edited by

            @veye_xumm Sorry. Driver works. Testing and reading should be by v4l2.

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

              @reinbb OK

              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.)

              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