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!

v4.2.1r4 is having the same issues again and the new driver is not working from this thread

uvcvideo fails to load

Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.368579] uvcvideo: Unknown symbol vb2_queue_init (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.368979] uvcvideo: Unknown symbol vb2_streamoff (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.373089] uvcvideo: Unknown symbol vb2_queue_release (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.378803] uvcvideo: Unknown symbol vb2_poll (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.384557] uvcvideo: Unknown symbol vb2_ops_wait_finish (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.389614] uvcvideo: Unknown symbol vb2_dqbuf (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.395649] uvcvideo: Unknown symbol vb2_reqbufs (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.400703] uvcvideo: Unknown symbol vb2_expbuf (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.406090] uvcvideo: Unknown symbol vb2_streamon (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.411154] uvcvideo: Unknown symbol vb2_querybuf (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.416549] uvcvideo: Unknown symbol vb2_qbuf (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.422006] uvcvideo: Unknown symbol vb2_buffer_done (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.427015] uvcvideo: Unknown symbol vb2_plane_vaddr (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.433079] uvcvideo: Unknown symbol vb2_vmalloc_memops (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.438630] uvcvideo: Unknown symbol vb2_ops_wait_prepare (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.444004] uvcvideo: Unknown symbol vb2_create_bufs (err 0)
Tue May 2 17:28:35 2023 kern.warn kernel: [ 2527.450276] uvcvideo: Unknown symbol vb2_mmap (err 0)

Here’s more info:

root@AXT1800:/etc# modprobe uvcvideo
failed to find dependency videobuf2-core
failed to find dependency videobuf2-v4l2
failed to find dependency videobuf2-vmalloc
1 module could not be probed

  • uvcvideo
    root@AXT1800:/etc# insmod uvcvideo
    failed to insert /lib/modules/4.4.60/uvcvideo.ko
1 Like

@luochongjun can you have a check.