Navigation

    VEYE IMAGING Forum

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

    UNSOLVED Can't get v4l2 to work, rasbperry pi 4b, rpi os x64, 6.12.57-v8+

    Raspberry Pi App Software
    2
    16
    575
    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.
    • veye_xumm
      veye_xumm @jambojettt last edited by

      @jambojettt According to the dmesg information, you have successfully installed the veyecam2m driver. However, the camera was not detected. What model of camera are you using?

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

        @veye_xumm veye-mipi327e

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

          @jambojettt
          Normally, after you install the kernel headers using the command sudo apt install raspberrypi-kernel-headers, you should be able to compile successfully.
          May I ask — after performing this step, what error do you see during compilation?

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

            @veye_xumm this didn't work, I updated the raspi-config to the latest one, this command didn't work. Tried this several times to no avail.

            J 1 Reply Last reply Reply Quote 0
            • J
              jambojettt @jambojettt last edited by

              @jambojettt 00213098-8123-4d6d-b8a0-7bf4a53bd685-изображение.png

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

                @jambojettt
                Sorry for the slightly delayed reply. Normally, piOS comes with kernel-headers pre-installed. For example, here is a screenshot of my current system:

                9915744d-deca-4170-807d-5c7e1e0868b9-image.png
                I suspect that you might have updated to a newer minor version of piOS, which caused this issue. The current major version of piOS should be 6.12.47.

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

                  @jambojettt d742fe10-c46d-4bda-8697-6dfd5492505f-image.png

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

                    @veye_xumm yes, it updated to 6.12.57, but this problem also was in 6.12.47 that it was updated from.
                    How do I get the headers?

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

                      @jambojettt said in Can't get v4l2 to work, rasbperry pi 4b, rpi os x64, 6.12.57-v8+:

                      @veye_xumm yes, it updated to 6.12.57, but this problem also was in 6.12.47 that it was updated from.
                      How do I get the headers?

                      My Raspberry Pi comes with headers by default. You might want to reinstall piOS? We've already released the 6.12.47 ko file on GitHub.

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

                        @veye_xumm I tried it before. Right now reinstalled Pi OS from Pi Imager, no kernel headers, so problem not resolved.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jambojettt @jambojettt last edited by

                          @jambojettt Just checked, I have a 64 bit version, just to be sure.8df17cf4-ca53-47b8-9727-a8736dd077dc-изображение.png d9607aad-14c0-4f65-bfdc-0c86dedff947-изображение.png
                          Kernel headers are installed.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jambojettt @jambojettt last edited by

                            @jambojettt cd63d813-3a51-4b59-8e65-85f3d44c7dab-изображение.png
                            Did everything step by step on the github page. The kernel thing didn't work. Don't know what to do next. dmesg didn't work

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

                              @jambojettt
                              Normally, the PiOS you installed comes with kernel-headers. Could you tell me which image link you used?
                              Can you help run this script and send me the results?

                              uname -a
                              ls /usr/lib/modules/
                              ls /usr/lib/modules/$(uname -r)
                              
                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jambojettt @veye_xumm last edited by

                                @veye_xumm 0591c4e9-27a3-4c57-b77d-eb40ae95ee1b-изображение.png
                                Wrote them, sending the results.

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

                                  @jambojettt
                                  Sorry for reply late.
                                  I see that your raspberrypi-kernel-headers are installed. You should be able to directly run make in the driver source code directory.

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