Thank you for the response.
I tried installing the master branch, but it failed(giving some syntax issue in one of the header files), therefore I used an older source from (https://github.com/kbingham/libcamera/commit/e2d00fbcbb1a9b2da50fa2e280817a0de1a7d286)[this link] and installed that one. Finally, it compiled and installed, but now it doesn’t recognize my camera:
rock@rockpi-4b:~$ LIBCAMERA_LOG_LEVELS=*:DEBUG cam -l
[0:08:41.332061256] [1481] DEBUG IPAModule ipa_module.cpp:329 ipa_ipu3.so: IPA module /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_ipu3.so is signed
[0:08:41.334074074] [1481] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_ipu3.so'
[0:08:41.361069635] [1481] DEBUG IPAModule ipa_module.cpp:329 ipa_rkisp1.so: IPA module /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rkisp1.so is signed
[0:08:41.362032147] [1481] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rkisp1.so'
[0:08:41.427891924] [1481] DEBUG IPAModule ipa_module.cpp:329 ipa_rpi.so: IPA module /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rpi.so is signed
[0:08:41.429188400] [1481] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_rpi.so'
[0:08:41.442663284] [1481] DEBUG IPAModule ipa_module.cpp:329 ipa_vimc.so: IPA module /usr/local/lib/aarch64-linux-gnu/libcamera/ipa_vimc.so is signed
[0:08:41.443545879] [1481] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/local/lib/aarch64-linux-gnu/libcamera/ipa_vimc.so'
[0:08:41.446075828] [1481] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3498-e2d00fbc
[0:08:41.447659016] [1485] DEBUG Camera camera_manager.cpp:106 Starting camera manager
[0:08:41.455715454] [1485] ERROR MediaDevice media_device.cpp:236 /dev/media0[rkisp1]: Failed to enumerate topology: Inappropriate ioctl for device
[0:08:41.456236670] [1485] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media0 (Invalid argument), skipping
[0:08:41.456680884] [1485] WARN DeviceEnumerator device_enumerator_udev.cpp:173 Failed to add device for '/sys/devices/platform/ff910000.rkisp1/media0', skipping
[0:08:41.460357390] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerIPU3'
[0:08:41.461818951] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerRPi'
[0:08:41.462189956] [1485] DEBUG RPI raspberrypi.cpp:1139 Unable to acquire a Unicam instance
[0:08:41.462472876] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerRkISP1'
[0:08:41.463138760] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'SimplePipelineHandler'
[0:08:41.463524056] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerUVC'
[0:08:41.463879603] [1485] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerVimc'
Available cameras:
I’m a noob and don’t know the relation between /dev/media* and /dev/video*, but I found this one https://github.com/raspberrypi/libcamera-apps/issues/270.
I’m stuck at this point, any help is appreciated