UNSOLVED Can't get v4l2 to work, rasbperry pi 4b, rpi os x64, 6.12.57-v8+
-
@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.

