UNSOLVED Can't get v4l2 to work, rasbperry pi 4b, rpi os x64, 6.12.57-v8+
-
https://forum.veye.cc/topic/358/please-update-the-v4l2-driver-for-5-15-84-v7l
Followed this, when compiling dtb the error pops up
Trying to install headers didn't work, manually copied and created the directories, still an error
dmesg doesn't work (doesn't say anything. Camera worked before with Legacy mode.

do I need to recompile on ubuntu? I don't have one installed, don't have spare pc or laptop.
I want to use it with opencv and yolov3tiny for bug detection. -
@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?
-
@veye_xumm veye-mipi327e
-
@jambojettt
Normally, after you install the kernel headers using the commandsudo 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? -
@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.
-
-
@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:
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. -
-
@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? -
@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.
-
@veye_xumm I tried it before. Right now reinstalled Pi OS from Pi Imager, no kernel headers, so problem not resolved.
-
@jambojettt Just checked, I have a 64 bit version, just to be sure.

Kernel headers are installed. -
@jambojettt

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 -
@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) -
@veye_xumm

Wrote them, sending the results. -
@jambojettt
Sorry for reply late.
I see that your raspberrypi-kernel-headers are installed. You should be able to directly runmakein the driver source code directory. -
@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
I have no idea why it doesn't work.

Which one do I use?
-
Please try this released version again. This time it will work.
https://github.com/veyeimaging/raspberrypi_v4l2/releases/tag/v1.27
-
@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. -
@jambojettt
show me the result of this cmd:dmesg | grep veye

