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

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

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    29 Posts 2 Posters 11.5k 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.
    • veye_xummV Offline
      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.

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

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        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 Offline
          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 Offline
            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_xummV 1 Reply Last reply Reply Quote 0
            • veye_xummV Offline
              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)
              

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

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

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

                veye_xummV 1 Reply Last reply Reply Quote 0
                • veye_xummV Offline
                  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.

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

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

                    @veye_xumm can you specify what I need to do?

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

                    make

                    deleted the folder raspberrypi_v4l2
                    reinstalled by github

                    c927e276-18bd-4eae-8f78-c5f81705ce1a-изображение.png

                    I have no idea why it doesn't work.

                    096ba0ad-8b6b-4b2c-8b35-7dcaabb7cdb8-изображение.png

                    Which one do I use?

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

                      @jambojettt

                      Please try this released version again. This time it will work.

                      https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.27

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

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

                        @veye_xumm did delete a folder raspberrypi_v4l2, reinstalled. Checked the connections, everything was in order. Pins on the ribbon cable to the top on the module and to the front on the pi. Checked the power pins. Everything was okay. I don't have samba in raspi-config, but I enabled ssh. Also don't have Camera interface in options.
                        The dev/video0/ is still unfound.

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

                          @jambojettt
                          show me the result of this cmd:

                          dmesg | grep veye
                          

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

                          J 5 Replies Last reply Reply Quote 0
                          • J Offline
                            jambojettt @veye_xumm
                            last edited by

                            @veye_xumm nothing showed

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

                              @veye_xumm is there any point in a fresh pi os install?
                              I accidentally swapped the pins after I checked everything, and it shorted, hope it works.
                              I just need it to work, so I can do my thesis on argicultural application of machine learning.

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

                                @veye_xumm 9f686e97-dc20-4966-86e7-55b3869d936e-изображение.png
                                Everything is the same

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

                                  @veye_xumm a926f7d9-25bb-40db-bc6d-d6136c0cddd9-изображение.png fc72b201-eabf-40b3-81b9-de8a99077f4b-изображение.png !438d2092-5f6a-460e-b2b2-438605356263-изображение.png [0_1764333202538_7825037f-a24a-4cbf-b16b-42693c1e5a87-изображение.png](Uploading 100%)
                                  I'm out of possible problems, maybe i got the pins wrong.8c38bbeb-7f2c-423a-bb4c-546227c6c1ea-изображение.png

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

                                    @veye_xumm 1af902b1-fd0f-48da-958d-1a07e1f43d33-изображение.png

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

                                      @jambojettt
                                      I suspect you haven't seen the most important document, which is the link below. Generally, you don't need to compile the driver yourself. Instead, you can simply install the driver by following part4 in the link below. Specifically, the command you need to execute is: sudo ./install_driver.sh veyecam2m

                                      https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi#Driver_Installation

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

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

                                        @veye_xumm 268910af-78b5-45d6-9160-246f39e4e83e-изображение.png
                                        Before I followed the wiki, then I followed github. Which one is the correct one?00285983-1023-48c2-8985-aa7a10ea3a53-изображение.png

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

                                          @jambojettt
                                          Sorry for missing veyecam2m.dtbo, please try this new release package.

                                          https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.27

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

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

                                            @veye_xumm it is resolved now, the image is shown. Before with the steps on the forum the .dtbo file was also missing, I copied it from another folder and it didn't work. The right and supported way of installing drivers is very confusing, I tried installing by wiki guide and then compiling locally (github), since it didn't work. Thank you for your patience.

                                            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