No video, video0 after custom image built for milk 256 m

these are the steps i followed
1114 source device/milkv-duo256m-sd/boardconfig.sh
1115 source build/milkvsetup.sh
1116 defconfig cv1812cp_milkv_duo256m_sd
1117 menuconfig_kernel
selected these options
Device Drivers —> <*>Multimedia support —> Media core support —> [ * ]Media Controller API (NEW)

<*>Multimedia support —> Video4Linux options —> [ * ]V4L2 sub-device userspace API (NEW)

<*>Multimedia support —> Media drivers —> [ * ]Media USB Adapters —> <*>USB Video Class(UVC) [ * ]UVC input events device supports

Media drivers —> [ * ]V4L platform devices

Device Drivers —> <*>USB support —> [ * ]USB announce new devices
saved config and built image

1118 cp linux_5.10/build/cv1812cp_milkv_duo256m_sd/defconfig build/boards/cv181x/cv1812cp_milkv_duo256m_sd/cv1812cp_milkv_duo256m_sd_defconfig
1119 clean_all
1120 build_all
1121 ~pack_sd_image
1122 pack_sd_image

after flashing the image and enabling usb using

ln -sf /mnt/system/usb-host.sh /mnt/system/usb.sh
sync

i got the webcam on usb
[root@milkv-duo]~# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0edc:2050

the video0 and video1 isnt visible on /dev/

any way to check if the image built has the required modules loaded?

1 Like

so finally was able to build the image, got /dev/video0 and /dev/video1 recognised,
now how do i stream videos? none of the packages are installing, even pip packages are getting hanged.

1 Like

did you try fswebcam ?

1 Like

thanks will look into it :),
i was able to take pictures using uvc test, found the zip file in the github repository.

1 Like

Nice, where is the UVC test zip file ?

1 Like

here is the uvctest.zip file i was unable to find the source, uvctest.zip - Google Drive

1 Like

Hi @vamsi i have also followed the same steps with sdk(v1). And i am not able to get the camera as /dev/video*. How should i proceed?
Thank you in advance.

1 Like

I was able to build the image after enabling the correct options in the menu, i got the video device recognised, but the device doesnt support any rom ffmpeg build so i was only able to take images using the uvctest given by the developers.

1 Like

Ok. Thank you @vamsi

1 Like

Were you able to get video0 recognised?

1 Like

No. I realized i understood it wrongly. I want to use the milkv duo as UVC for my PC. So i have posted it as a seperate topic. i want to use the borad and camera combined as a webcam for my PC.

And hey, thank you for the quick reply. If you have tried the above or have any info on the above is greatly appreciated.

1 Like