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