Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

USB disconnect allways after some time

Featured Replies

Hi there,

 

System:
root@OPiPC2-Main:~# uname -a
Linux OPiPC2-Main 4.14.18-sunxi64 #26 SMP Fri Feb 9 17:14:48 CET 2018 aarch64 GNU/Linux

 

System diagnosis information will now be uploaded to http://ix.io/18C3

 

I use different Orange Pi's for monitoring with mjpg_streamer and Kerberosio.
It works like a charm with Legacy Kernel (Orange Pi Zero+2, Nanopi Air and other H3 devices), but with Mainline Kernel I always have problems.

The USB port to which I connect my webcam, is disconnected again and again after some time.


I have also changed the type of webcam without success.

 

In messages I only found:

Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: starting application
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: MJPG Streamer Version: git rev: 821c330ea6bbb5fbed98d48e00aac156e923161b
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: Using V4L2 device.: /dev/video0
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: Desired Resolution: 1280 x 720
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: Frames Per Second.: 28
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: Format............: JPEG
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: TV-Norm...........: DEFAULT
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: FPS coerced ......: from 28 to 30
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: www-folder-path......: /usr/local/share/mjpg-streamer/www/
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: HTTP TCP port........: 8080
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: HTTP Listen Address..: (null)
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: username:password....: disabled
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: commands.............: enabled
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: starting input plugin input_uvc.so
Apr 23 20:34:17 OPiPC2-Main MJPG-streamer [865]: starting output plugin: output_http.so (ID: 00)
Apr 24 07:06:49 OPiPC2-Main kernel: [37946.173630] usb 4-1: USB disconnect, device number 2
Apr 24 07:06:49 OPiPC2-Main MJPG-streamer [865]: Error grabbing frames
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: starting application
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: MJPG Streamer Version: git rev: 821c330ea6bbb5fbed98d48e00aac156e923161b
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: Using V4L2 device.: (null)
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: Desired Resolution: 1280 x 720
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: Frames Per Second.: 28
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: Format............: JPEG
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: TV-Norm...........: DEFAULT
Apr 24 07:06:50 OPiPC2-Main MJPG-streamer [16758]: init_VideoIn failed
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: starting application
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: MJPG Streamer Version: git rev: 821c330ea6bbb5fbed98d48e00aac156e923161b
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: Using V4L2 device.: (null)
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: Desired Resolution: 1280 x 720
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: Frames Per Second.: 28
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: Format............: JPEG
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: TV-Norm...........: DEFAULT
Apr 24 07:06:53 OPiPC2-Main MJPG-streamer [16774]: init_VideoIn failed

 

After a reboot, the device is missing again. Only after a power cycle it shows up.


Where is the problem, any ideas?

 

Markus

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.