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

    CS-FPD-CAM-IMX327摄像头树莓派驱动模式连接不成功

    Scheduled Pinned Locked Moved CS MIPI camera
    35 Posts 2 Posters 16.3k Views 2 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.
    • 刚 Offline
      刚子 @veye_xumm
      last edited by

      @veye_xumm 这种方式连接无法获取图像,命令:./veye_raspipreview -t 20000 -md 1 -p '0,0,1280,720'

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

        @刚子 你不是要用驱动模式吗?
        https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi/zh
        参考这个文章。

        刚 1 Reply Last reply Reply Quote 0
        • 刚 Offline
          刚子 @veye_xumm
          last edited by

          @veye_xumm 驱动模式也试验了,现在所有驱动都安装成功了,配置修改完成后执行dmesg | grep veye 显示执行错误,重启后执行该命令,无反馈信息

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

            @刚子 驱动模式下,执行下面几个命令给我看看

            tail /boot/config.txt
            
            cat /etc/rc.local
            
            dmesg | veye grep 
            
            dmesg | veye 954
            
            刚 1 Reply Last reply Reply Quote 0
            • 刚 Offline
              刚子 @veye_xumm
              last edited by

              @veye_xumm 2023-06-12-175402_591x634_scrot.png 重启后就是这个状态了

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

                @刚子 不好意思,刚才两个命令写错了

                dmesg | grep veye
                
                dmesg | grep 954
                
                刚 1 Reply Last reply Reply Quote 0
                • 刚 Offline
                  刚子 @veye_xumm
                  last edited by

                  @veye_xumm lingchuang@raspberrypi:~ $ tail /boot/config.txt

                  Run as fast as firmware / board allows

                  arm_boost=1

                  [all]
                  gpu_mem=128
                  dtparam=i2c_vc=on
                  arm_64bit=0
                  dtoverlay=ds90ub954
                  gpu_mem=256
                  #dtoverlay=veyecam2m
                  lingchuang@raspberrypi:~ $ cat /etc//rc.local
                  #!/bin/sh -e

                  rc.local

                  This script is executed at the end of each multiuser runlevel.

                  Make sure that the script will "exit 0" on success or any other

                  value on error.

                  In order to enable or disable this script just change the execution

                  bits.

                  By default this script does nothing.

                  Print the IP address

                  _IP=$(hostname -I) || true
                  if [ "$_IP" ]; then
                  printf "My IP address is %s\n" "$_IP"
                  fi
                  sleep 1;sudo dtcoverlay veyecam2m
                  exit 0
                  lingchuang@raspberrypi:~ $ dmesg |grep veye
                  lingchuang@raspberrypi:~ $ dmesg |grep 954
                  [ 5.895480] systemd[1]: Listening on udev Control Socket.
                  [ 11.120745] ds90ub954: loading out-of-tree module taints kernel.
                  [ 11.122072] i2c-ds90ub954 10-0030: ds90ub954_probe: start
                  [ 11.122091] i2c-ds90ub954 10-0030: ds90ub954_parse_dt: deserializer:
                  [ 11.122116] i2c-ds90ub954 10-0030: pass-gpio not found, ignoring
                  [ 11.122244] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: parsing serializers device tree:
                  [ 11.122267] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio0-output-enable property not found
                  [ 11.122279] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio0-output-enable to default val: 0
                  [ 11.122291] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio1-output-enable property not found
                  [ 11.122303] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio1-output-enable to default val: 0
                  [ 11.122315] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio2-output-enable property not found
                  [ 11.122327] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio2-output-enable to default val: 0
                  [ 11.122339] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio3-output-enable property not found
                  [ 11.122351] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio3-output-enable to default val: 0
                  [ 11.122363] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio0-control property not found
                  [ 11.122374] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio0-control to default val: 0b1000
                  [ 11.122386] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio1-control property not found
                  [ 11.122397] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio1-control to default val: 0b1000
                  [ 11.122409] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio2-control property not found
                  [ 11.122420] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio2-control to default val: 0b1000
                  [ 11.122433] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - gpio3-control property not found
                  [ 11.122443] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: gpio3-control to default val: 0b1000
                  [ 11.122456] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - hs-clk-div property not found
                  [ 11.122467] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - hs-clk-div set to default val: 0x2 (div by 4)
                  [ 11.122480] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-m-val property not found
                  [ 11.122491] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-m-val set to default val: 1
                  [ 11.122503] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-n-val property not found
                  [ 11.122514] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - div-n-val set to default val: 0x28
                  [ 11.122653] i2c-ds90ub954 10-0030: ds90ub953_i2c_client init client done
                  [ 11.122726] i2c-ds90ub954 10-0030: ds90ub953_regmap_init init regmap done
                  [ 11.122805] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - virtual-channel-map property not found
                  [ 11.122817] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: - virtual-channel-map set to default val: 0xE4
                  [ 11.122828] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: serializer 0 successfully parsed
                  [ 11.122843] i2c-ds90ub954 10-0030: ds90ub953_parse_dt: done
                  [ 11.122854] i2c-ds90ub954 10-0030: ds90ub954_init starting
                  [ 11.127312] i2c-ds90ub954 10-0030: ds90ub954_init: device ID: 0x60, code:_UB954, revision: 0x20
                  [ 11.644062] i2c-ds90ub954 10-0030: ds90ub954_init: start init of serializer rx_port 0
                  [ 12.614231] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=0 x 10ms
                  [ 12.644197] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=1 x 10ms
                  [ 12.674230] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=2 x 10ms
                  [ 12.704210] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=3 x 10ms
                  [ 12.734180] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=4 x 10ms
                  [ 12.764177] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=5 x 10ms
                  [ 12.794178] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=6 x 10ms
                  [ 12.824204] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=7 x 10ms
                  [ 12.864201] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=8 x 10ms
                  [ 12.894663] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=9 x 10ms
                  [ 12.924179] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=10 x 10ms
                  [ 12.955602] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=11 x 10ms
                  [ 12.994205] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=12 x 10ms
                  [ 13.024258] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=13 x 10ms
                  [ 13.054206] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=14 x 10ms
                  [ 13.084297] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=15 x 10ms
                  [ 13.114304] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=16 x 10ms
                  [ 13.144178] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=17 x 10ms
                  [ 13.174184] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=18 x 10ms
                  [ 13.204235] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=19 x 10ms
                  [ 13.234262] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=20 x 10ms
                  [ 13.264236] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=21 x 10ms
                  [ 13.294175] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=22 x 10ms
                  [ 13.324189] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=23 x 10ms
                  [ 13.354255] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=24 x 10ms
                  [ 13.384248] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=25 x 10ms
                  [ 13.414222] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=26 x 10ms
                  [ 13.444192] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=27 x 10ms
                  [ 13.474281] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=28 x 10ms
                  [ 13.504223] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=29 x 10ms
                  [ 13.534201] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=30 x 10ms
                  [ 13.564190] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=31 x 10ms
                  [ 13.599568] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=32 x 10ms
                  [ 13.624208] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=33 x 10ms
                  [ 13.664255] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=34 x 10ms
                  [ 13.694247] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=35 x 10ms
                  [ 13.724242] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=36 x 10ms
                  [ 13.754211] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=37 x 10ms
                  [ 13.784222] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=38 x 10ms
                  [ 13.814211] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=39 x 10ms
                  [ 13.844213] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=40 x 10ms
                  [ 13.874203] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=41 x 10ms
                  [ 13.904183] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=42 x 10ms
                  [ 13.934173] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=43 x 10ms
                  [ 13.964321] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=44 x 10ms
                  [ 13.994200] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=45 x 10ms
                  [ 14.024269] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=46 x 10ms
                  [ 14.054195] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=47 x 10ms
                  [ 14.084233] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=48 x 10ms
                  [ 14.114172] i2c-ds90ub954 10-0030: ds90ub954_init: DEVICE STS: 0xd3, id=49 x 10ms
                  [ 14.114194] i2c-ds90ub954 10-0030: ds90ub954_init: Backchannel setup failed!
                  [ 14.114205] i2c-ds90ub954 10-0030: ds90ub954_init: init deserializer rx_port 0 failed
                  [ 14.114216] i2c-ds90ub954 10-0030: ds90ub954_init: deserializer rx_port 0 is deactivated
                  [ 14.116756] i2c-ds90ub954 10-0030: ds90ub954_probe: init ds90ub954_done

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

                    @刚子
                    有两个问题。

                    1. /etc//rc.local中增加的这行,关键字是dtoverlay,你多写了一个c。
                      所以现在表现的是veyecam2m驱动并没有加载上,dmesg | grep veye指令没有任何打印信息。
                    2. 系统初始化probe fpdlink的接收模块的时候,提示报错。应该是硬件连接的问题。
                      请检查:
                      2.1 是否供电正确?
                      2.2 FFC 排线是否方向正确?
                    刚 3 Replies Last reply Reply Quote 0
                    • 刚 Offline
                      刚子 @veye_xumm
                      last edited by

                      @veye_xumm 使用你们自带的异侧线,供电12V 直流,应该没问题,之前的方式已经连接成功。

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

                        @veye_xumm
                        错误1 /etc//rc.local中增加的这行,关键字是dtoverlay,你多写了一个c。 已经修改
                        显示如下
                        lingchuang@raspberrypi:~ $ dmesg |grep veye
                        [ 14.024096] veyecam2m 10-003b: probe failed
                        lingchuang@raspberrypi:~ $

                        1 Reply Last reply Reply Quote 0
                        • 刚 Offline
                          刚子 @veye_xumm
                          last edited by

                          @veye_xumm
                          连接方式
                          微信图片_20230613151639.png 微信图片_20230613151634.png 微信图片_20230613151627.png

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

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • veye_xummV Offline
                              veye_xumm @刚子
                              last edited by

                              @刚子 e9f2956b-702d-4a17-8990-afb0a075847a-image.png
                              这个地方不要接。
                              5ce905f6-6933-4827-8cc3-f45976f5e9f0-image.png
                              同轴线插到J3。

                              另外,12V的电给到fpdlink的板子了吗?
                              不要带电插拔fpc线。

                              刚 1 Reply Last reply Reply Quote 0
                              • 刚 Offline
                                刚子 @veye_xumm
                                last edited by 刚子

                                @veye_xumm 非常感谢,已经成功连接了,在树梅派上用VLC显示,感觉有1s的延时

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

                                  @刚子 不客气。 vlc本身的缓存比较大。你可以试试gstreamer,或者降低一下vlc的缓存。

                                  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