SOLVED Struggling with connecting and using any of the veye camera modules on rpi 3A and B
- 
					
					
					
					
 Hello. I have several veye camera modules and raspberry pi 3A and B. I know the camera and ribbon cable work properly, at least for my VEYE-MIPI-327E. I also have an VEYE-MIPI-327S. I am struggling to set up anything with these cameras on rpi. I just want, first and foremost, to do live streaming of the camera on my rpi 3A. I have followed the info in this guide https://wiki.veye.cc/index.php/VEYE-MIPI-290/327_for_Raspberry_Pi But either there is something i dont understand or there are something wrong or something not stated in this guide. I am completely in the dark here... Could i please get some help on how to use these cameras? Kind regards, 
 Jgg
- 
					
					
					
					
 @jgg I understand your situation, may I ask what specific problems you are experiencing? 
 The i2c pass?
 Can you implement image preview?
- 
					
					
					
					
 @veye_xumm I connected the camera to my rpi and enabled camera and i2c in raspi-config. I have cloned the software toolkit from github, navigated to the sw toolkit /bin folder and made the tools executable using the chmod +x command. At this point I should be able to use the commands like ./veye_raspipreview -t -1 to live stream. But the camera is not detected. I do have another rpi setup with a breakout board for power management and an sd card running a specific code made for using the veye cameras. When i connect the camera to this rpi it works as expected. But, like i said, with a rpi 3 clean install sd card and just ribbon cable (and 5v + ground fpr 327E) the camera is not detected and I can not figure out why.. My impression from the guide and the little information i can find in english online is that this should be plug and play. If you could supply me with a clear and concise guide for how I can connect the 327E to a Rpi 3A (with specifications of OS, sw and firmare etc, if needed) and just do a live stream to vlc or similar it would be highly appreciated. I am powering the rpi with a standard rpi adapter (5.1V, 2.5A). 
- 
					
					
					
					
 @jgg 
 Please give me a glimpse of your implementation of . /veye_raspipreview -t -1 the output of this command.
 Also, in this directory, try recompiling veye_raspipreview?
 Also you should be reminded that legacy mode is only available for 32bit piOS, not for 64bit piOS.
- 
					
					
					
					
 Thank you for getting back to me. Output from . /veye_raspipreview -t -1 : before create camera com time out -1 
 Hardare version: 9020e0
 before create camera com
 mmal: mmal_component_create_core: could not find component 'vc.ril.rawcam'
 mmal: Failed to create camera component
 mmal: main: Failed to create camera componentOutput from /raspberrypi/D_mipi_rpi/python_demo/ python preview.py: Load libdmipicam fail. What do you mean by recompile veye_raspiview? How do I do this? I am running Buster OS on rpi 3A, 32bit (armv7l). I would really appreciate if I could get a clear explanation and step-by-step solution to get the camera to live stream and show the output. Kind regards 
 Jgg
- 
					
					
					
					
 @jgg In the raspberrypi\veye_raspcam\source directory, there is a buildme file, execute . /buildme,you see if you can get a new veye_raspipreview. 
 There are so many version differences in piOS, it does happen sometimes.
- 
					
					
					
					
 Perfect, thank you! Now i can run the commands from the source folder. If I may, I highly suggest including all steps in the guide. To some point its very precise, e.g. navigate using cd, access raspi-config. But then a lot of this info is missing. But now it works for me at least:) Again, thanks! Kind regards, 
 Jgg
- 
					
					
					
					
 @jgg You are welcome, will improve the wiki doc. 
