AXT1800 - no webcam support?

Migrated from another router to AXT1800 and then a huge surprise was waiting for me. There is no kmod-video-uvc in the firmware! And I have video surveillance organized on it. I wonder what else isn’t there? Is this exactly openwrt? What is the problem with compiling all the kernel modules at least?
So what do I do now? Declared openwrt, the composition of openwrt is approximately known to me. That’s why I bought this router, without openwrt and all its features, I just don’t need it.

The module can just be installed manually, cannot it?

Package: kmod-video-uvc
Version: 4.4.60-1
Depends: kernel (= 4.4.60-1-57d388dbd346719758aae2131362f842), kmod-usb-core, kmod-video-videobuf2, kmod-input-core, kmod-video-core
Status: install user installed
Section: kernel
Architecture: arm_cortex-a7
Size: 891
Filename: kmod-video-uvc_4.4.60-1_arm_cortex-a7.ipk
Description: Kernel modules for supporting USB Video Class (UVC) devices
Installed-Time: 1663064427

But it does not work. No /dev/video0

lsmod | grep uvc is empty.

root@GL-AXT1800:~# modprobe uvcvideo
failed to find a module named uvcvideo

Have you got something in lsmod after install?

Compared with rpi4 (arm64) kmod-video-uvc has 45 KB size.
On AXT1800 it has 891 B in size. :worried:

I tested. It does not work. Let me ask developers.

2 Likes

It is fixed. Can you pls try?

opkg update
opkg install kmod-video-uvc
opkg install kmod-video-videobuf2

No change.
And what has changed at all? I didn’t notice any changes. The size of the ipk file is the same…
https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/kmod-4.0.2/arm_cortex-a7/ip60xx/kmod-video-uvc_4.4.60-1_arm_cortex-a7.ipk does not contein the module (uvcvideo.ko).

You should use opkg and opkg install as I said.

Because the new module is

https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/kmod-4.0.2/arm_cortex-a7/ip60xx/kmod-video-uvc_4.4.60-2_arm_cortex-a7.ipk

I did, but it didn’t work.
And it worked like this:

opkg install http://download.gl-inet.com.s3.amazonaws.com/releases/v21.02-SNAPSHOT/kmod-4.0.2/arm_cortex-a7/ip60xx/kmod-video-uvc_4.4.60-2_arm_cortex-a7.ipk
opkg install kmod-video-videobuf2

And it finnaly works!

root@GL-AXT1800:~# lsmod | grep uvcvideo
usbcore 147713 25 uvcvideo,option,usb_wwan,rndis_host,qmi_wwan,huawei_cdc_ncm,cdc_ncm,cdc_ether,usbserial,usbnet,ipheth,cdc_wdm,cdc_acm,uas,usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,uhci_hcd,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
uvcvideo 65570 0
videobuf2_core 18830 2 uvcvideo,videobuf2_v4l2
videobuf2_v4l2 14759 1 uvcvideo
videobuf2_vmalloc 4815 1 uvcvideo
videodev 108765 3 uvcvideo,videobuf2_v4l2,v4l2_common

Thanks!