Nanopi M1 plus with CAM500B running on Dietpi


I am trying to stream video using Nanopi M1 plus with CAM500B on dietpi (using this image

I have tried mjpg-streamer, ffmpeg for accessing /dev/video0 but it always shows no such device found.

I tried the same thing using Friendlyarm’s official ROM (Debian-Desktop, kernel:Linux-3.4) and all works well on that. I am facing the same issue with Audio as well.

For audio, while using Dietpi

aplay -l

shows only HDMI device. Although in Debian, it shows both HDMI along with 3.5mm jack.

How can I test even if the camera is connected or not in Dietpi?

Please help, Thanks.