Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED 按文档安装V4L2驱动,出问题,看是看不到video0设备

    VEYE MIPI camera
    3
    18
    1801
    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.
    • L
      luchec last edited by

      841619317162_.pic_hd.jpg

      安装的时侯就出错了,请问要怎么处理?

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @luchec last edited by

        @luchec
        你好,此问题应当在这个topic下已经回复了。
        http://forum.veye.cc/topic/50/插上树霉派-怎么弄都找不到video0设备/4

        另外github上已经增加了你说的这个版本的release的ko,是@tammojan 贡献的。 你可以直接尝试一下。

        L 1 Reply Last reply Reply Quote 0
        • L
          luchec @veye_xumm last edited by

          @veye_xumm 刚从git上拿了安装,可以了,有video0设备了,但是使用起来好像不正常2711619319441_.pic_hd.jpg

          1 Reply Last reply Reply Quote 0
          • L
            luchec last edited by

            请问有人回复吗?这里是出现video0了,但是打命令 dmesg | grep veye啥都没有,使用opencv去提取V4l2视频也是失败的,请问这怎么回事呢?

            veye_xumm 1 Reply Last reply Reply Quote 0
            • veye_xumm
              veye_xumm @luchec last edited by

              @luchec

              1. cat /boot/config.txt 看看最下面有没有veye327相关的一行。
              2. ls /lib/modules/$(uname -r)/kernel/drivers/media/i2c/ 看看最下面一行有没有veye327驱动。
              3. 检查硬件连接,有没有给摄像头供电?
              4. 执行i2cdetect -y -r 10看看能否probe到0x3b地址,也就是显示出摄像头。
              5. 尝试wiki上的gstreamer命令。
              L 1 Reply Last reply Reply Quote 0
              • L
                luchec @veye_xumm last edited by

                @veye_xumm said in 按文档安装V4L2驱动,出问题,看是看不到video0设备:

                i2cdetect -y -r 10

                2731619401310_.pic_hd.jpg 2741619401333_.pic_hd.jpg 2751619401375_.pic_hd.jpg 还是老样子,dmesg | grep veye 看不见,video0也没法正常使用

                veye_xumm 1 Reply Last reply Reply Quote 0
                • veye_xumm
                  veye_xumm @luchec last edited by

                  @luchec 你试试i2c0能看到吗
                  i2cdetect -y -r 0
                  另外硬件接好了吗?
                  可否拍个连接细节图

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    luchec @veye_xumm last edited by

                    @veye_xumm 2761619405673_.pic_hd.jpg 用你们提供的那些不用v4l2的API都可以,就是这个V4L2就用不了

                    veye_xumm 1 Reply Last reply Reply Quote 0
                    • veye_xumm
                      veye_xumm @luchec last edited by

                      @luchec
                      33c80585-4a5b-4969-a73e-9e4e74f473dd-image.png
                      感觉你可能装过几个型号,但是没有uninstall,去掉我标注的这两行试试。
                      另外试试i2cdetect -y -r 0

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        luchec @veye_xumm last edited by

                        @veye_xumm said in 按文档安装V4L2驱动,出问题,看是看不到video0设备:

                        i2cdetect -y -r 0

                        2781619407511_.pic_hd.jpg

                        veye_xumm 1 Reply Last reply Reply Quote 0
                        • veye_xumm
                          veye_xumm @luchec last edited by

                          @luchec 验了一下,@tammojan 提供的这个release版本的确有点问题。 我会安排人跟进搞一下。需要几天时间,请关注github的更新。

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tj @veye_xumm last edited by

                            @luchec (I'm tammojan.) I only tested the csimx307.ko , not the veye327. The CXIMX307 it seems to work for me. If there are problems with the drivers I'd be happy if you could find out!

                            L veye_xumm 2 Replies Last reply Reply Quote 0
                            • L
                              luchec @tj last edited by

                              @tj 不客气,谢谢你们提供的资源

                              1 Reply Last reply Reply Quote 0
                              • veye_xumm
                                veye_xumm @tj last edited by

                                @tj It's happy to meet you here. Thanks again.
                                @luchec 我已经上传了一个新版本,你可以尝试一下。注意gstreamer的预览命令,执行之前不要忘记了export DISPLAY=:0

                                L 2 Replies Last reply Reply Quote 0
                                • L
                                  luchec @veye_xumm last edited by

                                  @veye_xumm 好的,我去试一下

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    luchec @veye_xumm last edited by

                                    @veye_xumm 测了一下,2821619492365_.pic_hd.jpg 2831619492985_.pic.jpg 2d4de618-fe93-4cc1-a7ca-de81b554c6ed-image.png

                                    veye_xumm 1 Reply Last reply Reply Quote 0
                                    • veye_xumm
                                      veye_xumm @luchec last edited by

                                      @luchec
                                      这个版本的linux是用的i2c-10,你正常使用preview和预览就可以了。

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        luchec @veye_xumm last edited by

                                        @veye_xumm 好的

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post