# Trying to install mjpegstreamer on Flint

**URL:** <https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275>\
**Category:** Router\
**Created:** [April 24, 2022, 2:24pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275 "2022-04-24T14:24:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [April 24, 2022, 2:24pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/1 "2022-04-24T14:24:11Z")

</div>

I am trying to install mjpegstreamer:

> **[Camera - GL.iNet Docs](https://docs.gl-inet.com/en/3/tutorials/camera/)**
>
> Documentation for GL.iNet Productions

But when installing kmod-video-uvc I am getting an error:

```auto
root@GL-AX1800:~# opkg install kmod-video-uvc
Installing kmod-video-uvc (4.4.60-1) to root...
Downloading http://download.gl-inet.com/releases/qsdk_v11/kmod-3.6/ipq60xx/kmod-video-uvc_4.4.60-1_ipq.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-video-uvc:
 * kmod-dma-buf
 * opkg_install_cmd: Cannot install package kmod-video-uvc.

```

Router has v3.213. opkg update was done. Any idea?

---

<div class="post-metadata">

**Author:** ![solidus1983](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/solidus1983/32/6181_2.png) [@solidus1983](https://forum.gl-inet.com/u/solidus1983)\
**Post date:** [April 24, 2022, 2:29pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/2 "2022-04-24T14:29:05Z")

</div>

Firstly try running opkg update again as they might have added new packages.  
Else you will have to compile the package yourself.

---

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [April 24, 2022, 2:50pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/3 "2022-04-24T14:50:53Z")

</div>

opkg update was done multiple times.

@alzhao or @hansome wondering if it would be possible to include this missing package?

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 25, 2022, 2:53am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/4 "2022-04-25T02:53:48Z")

</div>

Just forge a ipk named kmod-dma-buf for dependency issue. CONFIG\_DMA\_SHARED\_BUFFER is enabled by default, so actually the kmod-dma-buf ipk is a meta ipk without any .ko inside.  
Please use opkg update again.

---

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [April 25, 2022, 8:58am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/5 "2022-04-25T08:58:45Z")

</div>

Cool worked now. However I don’t have /dev/video0, maybe something is still missing?

Here is dmesg after I tried to plug/unplug the webcam couple of times:

```auto
[1284999.676383] br-lan: port 1(eth1) entered disabled state
[1285494.581328] usb 1-1: USB disconnect, device number 2
[1285570.199331] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[1351522.493789] eth1: PHY Link up speed: 10
[1351522.494177] br-lan: port 1(eth1) entered forwarding state
[1351522.496824] br-lan: port 1(eth1) entered forwarding state
[1351524.493349] br-lan: port 1(eth1) entered forwarding state
[1351524.493734] eth1: PHY Link is down
[1351524.498348] br-lan: port 1(eth1) entered disabled state
[1351526.493989] eth1: PHY Link up speed: 1000
[1351526.494072] br-lan: port 1(eth1) entered forwarding state
[1351526.497023] br-lan: port 1(eth1) entered forwarding state
[1351528.493315] br-lan: port 1(eth1) entered forwarding state
[1351712.007956] Linux video capture interface: v2.00
[1352834.254438] usb 1-1: USB disconnect, device number 3
[1352850.701482] usb 1-1: new high-speed USB device number 5 using xhci-hcd
[1353410.679686] usb 1-1: USB disconnect, device number 5
[1353417.766410] usb 1-1: new high-speed USB device number 6 using xhci-hcd
[1353421.333433] usb 1-1: USB disconnect, device number 6
[1353443.036210] usb 1-1: new high-speed USB device number 7 using xhci-hcd
[1354122.110814] usb 1-1: USB disconnect, device number 7
[1354142.829348] usb 1-1: new high-speed USB device number 8 using xhci-hcd

```

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [April 25, 2022, 9:24am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/6 "2022-04-25T09:24:15Z")

</div>

> [@nnz](#):
>
> ```auto
> [1352834.254438] usb 1-1: USB disconnect, device number 3
> [1352850.701482] usb 1-1: new high-speed USB device number 5 using xhci-hcd
> [1353410.679686] usb 1-1: USB disconnect, device number 5
> [1353417.766410] usb 1-1: new high-speed USB device number 6 using xhci-hcd
> [1353421.333433] usb 1-1: USB disconnect, device number 6
> [1353443.036210] usb 1-1: new high-speed USB device number 7 using xhci-hcd
> [1354122.110814] usb 1-1: USB disconnect, device number 7
> [1354142.829348] usb 1-1: new high-speed USB device number 8 using xhci-hcd
> 
> ```

Seems that the video camera cannot be mounted.

---

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [April 25, 2022, 9:29am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/7 "2022-04-25T09:29:23Z")

</div>

Strange, I tried it with two different cameras. These are working on laptops, NAS with mjpeg streamer etc. Anything can be done?

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 25, 2022, 10:20am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/8 "2022-04-25T10:20:10Z")

</div>

Please remove kmod-video-uvc related driver, connect the cameras, what’s the dmesg like?  
And please print this

```auto
cat /sys/kernel/debug/usb/devices

```

---

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [April 25, 2022, 10:30am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/9 "2022-04-25T10:30:56Z")

</div>

dmesg is the same after removing the driver and unplug/plug:

```auto
[1351526.494072] br-lan: port 1(eth1) entered forwarding state
[1351526.497023] br-lan: port 1(eth1) entered forwarding state
[1351528.493315] br-lan: port 1(eth1) entered forwarding state
[1351712.007956] Linux video capture interface: v2.00
[1352834.254438] usb 1-1: USB disconnect, device number 3
[1352850.701482] usb 1-1: new high-speed USB device number 5 using xhci-hcd
[1353410.679686] usb 1-1: USB disconnect, device number 5
[1353417.766410] usb 1-1: new high-speed USB device number 6 using xhci-hcd
[1353421.333433] usb 1-1: USB disconnect, device number 6
[1353443.036210] usb 1-1: new high-speed USB device number 7 using xhci-hcd
[1354122.110814] usb 1-1: USB disconnect, device number 7
[1354142.829348] usb 1-1: new high-speed USB device number 8 using xhci-hcd
[1358778.810505] usb 1-1: USB disconnect, device number 8
[1358781.856316] usb 1-1: new high-speed USB device number 9 using xhci-hcd

```

```auto
root@GL-AX1800:~# cat /sys/kernel/debug/usb/devices

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 4.04
S: Manufacturer=Linux 4.4.60 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.60 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=xhci-hcd.0.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=046d ProdID=0823 Rev= 0.10
S: SerialNumber=420D22A0
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=01(audio) Sub=02 Prot=00
A: FirstIf#= 2 IfCount= 2 Cls=0e(video) Sub=03 Prot=00
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=86(I) Atr=05(Isoc) MxPS= 68 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=86(I) Atr=05(Isoc) MxPS= 100 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=86(I) Atr=05(Isoc) MxPS= 132 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=(none)
E: Ad=87(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
I: If#= 3 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 192 Ivl=125us
I: If#= 3 Alt= 2 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 384 Ivl=125us
I: If#= 3 Alt= 3 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 512 Ivl=125us
I: If#= 3 Alt= 4 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 640 Ivl=125us
I: If#= 3 Alt= 5 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 800 Ivl=125us
I: If#= 3 Alt= 6 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS= 944 Ivl=125us
I: If#= 3 Alt= 7 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS=1280 Ivl=125us
I: If#= 3 Alt= 8 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS=1600 Ivl=125us
I: If#= 3 Alt= 9 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS=1984 Ivl=125us
I: If#= 3 Alt=10 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS=3060 Ivl=125us
I: If#= 3 Alt=11 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=05(Isoc) MxPS=3060 Ivl=125us

```

And here it is the Logitech webcam:

```auto
root@GL-AX1800:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 046d:0823 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

```

```auto
root@GL-AX1800:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 9, If 0, Class=Audio, Driver=, 480M
    |__ Port 1: Dev 9, If 1, Class=Audio, Driver=, 480M
    |__ Port 1: Dev 9, If 2, Class=Video, Driver=, 480M
    |__ Port 1: Dev 9, If 3, Class=Video, Driver=, 480M

```

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 25, 2022, 2:36pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/10 "2022-04-25T14:36:16Z")

</div>

the driver kmod-video-uvc is broken, need some time to backport.

---

<div class="post-metadata">

**Author:** ![nnz](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/ebca7d/32.png) [@nnz](https://forum.gl-inet.com/u/nnz)\
**Post date:** [May 10, 2022, 3:12pm UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/11 "2022-05-10T15:12:14Z")

</div>

thanks for working on this! wondering if you know when this will be backported?

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [May 11, 2022, 6:53am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/12 "2022-05-11T06:53:02Z")

</div>

Just backported kmod-video-uvc, please do “opkg update & opkg install kmod-video-uvc” to have a try, not sure if it works with your camera.

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:17am UTC](https://forum.gl-inet.com/t/trying-to-install-mjpegstreamer-on-flint/21275/13 "2025-10-29T04:17:13Z")

</div>


