MacBreaker Posted April 24, 2018 Posted April 24, 2018 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
MacBreaker Posted June 12, 2018 Author Posted June 12, 2018 Problem solved by using Kernal higher than 4.14.40.
Recommended Posts