Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. somthing strange (Richard Bown) 2. Re: somthing strange (chuck elliot) 3. Re: somthing strange (Richard Bown) 4. Re: somthing strange (Richard Bown) ---------------------------------------------------------------------- Message: 1 Date: Sat, 3 Oct 2020 09:13:39 +0100 From: Richard Bown <rich...@g8jvm.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] somthing strange Message-ID: <46572ac8-e71e-021c-3b05-c03d4031c...@g8jvm.com> Content-Type: text/plain; charset=utf-8; format=flowed motion v 4.3.1 I have a logitech 270 usb camera up to recently its been working fine on v4l2_pallete 8 but now if I reboot or a power failure its a pig to get video from it with motion ,using a Odroid XU4 octal core ARM SBC and its headless, so all video from it it on the http ports once its running its fine, sometimes fixed by power cycling the SBC , which I dont like doing Am I using the correct v4l2 pallette for this USB camera. OS on the SBC is ubuntu 20.04LTS any ideas on the video feed via http its just the grey screen with "unable to open video device" Thanks -- Best wishes /73 Richard Bown Email : rich...@g8jvm.com HTTP : http://www.g8jvm.com ###################################################################### Ham Call: G8JVM . QRV: 50-432 MHz + Microwave Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W, Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop ###################################################################### ------------------------------ Message: 2 Date: Sat, 3 Oct 2020 09:39:24 +0100 From: chuck elliot <c.ell...@pobox.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] somthing strange Message-ID: <c9b8fd98-6128-43ea-3c16-3460a8301...@pobox.com> Content-Type: text/plain; charset=utf-8; format=flowed I have same camera. If you run motion without the palette setting it chooses type 1 (MJPG) saying 0 is also compatible. This works fine. CE On 03/10/2020 9:13 am, Richard Bown wrote: > motion v 4.3.1 > > I have a logitech 270 usb camera > > up to recently its been working fine > > on v4l2_pallete 8 > > but now if I reboot or a power failure its a pig to get video from it > with motion > > ,using a Odroid XU4 octal core ARM SBC and its headless, so all video > from it it on the http ports > > once its running its fine, sometimes fixed by power cycling the SBC , > which I dont like doing > > Am I using the correct v4l2 pallette for this USB camera. > > OS on the SBC is ubuntu 20.04LTS > > any ideas > > on the video feed via http its just the grey screen with "unable to > open video device" > > > Thanks > ------------------------------ Message: 3 Date: Sat, 3 Oct 2020 10:43:00 +0100 From: Richard Bown <rich...@g8jvm.com> To: chuck elliot <c.ell...@pobox.com>, "motion-user@lists.sourceforge.net >> Motion discussion list" <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] somthing strange Message-ID: <3b2ff720-e2a4-8a72-30d1-2467469be...@g8jvm.com> Content-Type: text/plain; charset=utf-8; format=flowed Thanks Chuck Just tried that and still not playing, it has been working for a couple of years + I can plug the C270 in to the USB skt on the laptop which is running Linux Mint 20, which is based on Ubuntu 20.04LTS which is what the Odroid XU4 SBC is running, it was playing up before the OS was upgraded from ubuntu 18.04LTS to ubuntu 20.04LTS odroid@odroid:~$ lsusb Bus 003 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270 odroid@odroid:~$ tail /var/log/motion/motion.log [1:ml1] [WRN] [ALL] [Oct 03 10:22:10] mlp_retry: Retrying until successful connection with camera [1:ml1] [ERR] [VID] [Oct 03 10:22:10] v4l2_device_capability: Device does not support capturing. [1:ml1] [ERR] [VID] [Oct 03 10:22:10] vid_start: V4L2 device failed to open [1:ml1] [ERR] [VID] [Oct 03 10:22:11] v4l2_device_capability: Device does not support capturing. [1:ml1] [ERR] [VID] [Oct 03 10:22:11] vid_start: V4L2 device failed to open [1:ml1] [WRN] [ALL] [Oct 03 10:22:11] motion_init: Could not fetch initial image from camera [1:ml1] [WRN] [ALL] [Oct 03 10:22:11] motion_init: Motion continues using width and height from config file(s) [1:ml1] [WRN] [ALL] [Oct 03 10:22:20] mlp_retry: Retrying until successful connection with camera [1:ml1] [ERR] [VID] [Oct 03 10:22:20] v4l2_device_capability: Device does not support capturing. [1:ml1] [ERR] [VID] [Oct 03 10:22:20] vid_start: V4L2 device failed to open odroid@odroid:~$ ps ax|grep motion ? 753 ???????? SLsl?? 0:09 /usr/bin/motion -d 5 -n -c /etc/motion/motion.conf odroid@odroid:~$ id odroid uid=1000(odroid) gid=1000(odroid) groups=1000(odroid),4(adm),5(tty),6(disk),7(lp),15(kmem),20(dialout),21(fax),22(voice),24(cdrom),25(floppy),27(sudo),29(audio),37(operator),44(video),46(plugdev), 50(staff),60(games),100(users),104(input),105(crontab),108(ssh),109(netdev),112(bluetooth),114(lightdm),115(nopasswdlogin),117(nm-openvpn),118(lpadmin),120(scanner),123(pulse),124(pulse-access) odroid@odroid:~$ ls -l /dev/video0 crw-rw----+ 1 root video 81, 0 Oct? 3 10:13 /dev/video0 I'm pulling my hair out with this one, I cant see any reason why this has stopped working, the SBC has 3 USB ports, all have been tried. Motion is started as a service, so its not running as a user any ideas why? This cam is needed as it covers the front door TIA Richard On 03/10/2020 09:39, chuck elliot wrote: > I have same camera. If you run motion without the > > palette setting it chooses type 1 (MJPG) saying 0 is > > also compatible. This works fine. > > CE > > > On 03/10/2020 9:13 am, Richard Bown wrote: >> motion v 4.3.1 >> >> I have a logitech 270 usb camera >> >> up to recently its been working fine >> >> on v4l2_pallete 8 >> >> but now if I reboot or a power failure its a pig to get video from it >> with motion >> >> ,using a Odroid XU4 octal core ARM SBC and its headless, so all video >> from it it on the http ports >> >> once its running its fine, sometimes fixed by power cycling the SBC , >> which I dont like doing >> >> Am I using the correct v4l2 pallette for this USB camera. >> >> OS on the SBC is ubuntu 20.04LTS >> >> any ideas >> >> on the video feed via http its just the grey screen with "unable to >> open video device" >> >> >> Thanks >> > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -- Best wishes /73 Richard Bown Email : rich...@g8jvm.com HTTP : http://www.g8jvm.com ###################################################################### Ham Call: G8JVM . QRV: 50-432 MHz + Microwave Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W, Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop ###################################################################### ------------------------------ Message: 4 Date: Sat, 3 Oct 2020 12:15:48 +0100 From: Richard Bown <rich...@g8jvm.com> To: chuck elliot <c.ell...@pobox.com>, Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] somthing strange Message-ID: <7e3dbf41-1252-a1bc-03dd-6f2220a0b...@g8jvm.com> Content-Type: text/plain; charset=utf-8; format=flowed HI Chuck log level set to 7 [0:motion] [NTC] [ALL] [Oct 03 12:03:01] main: Motion thread 1 restart [0:motion] [NTC] [ALL] [Oct 03 12:03:01] motion_start_thread: Camera ID: 1 is from /etc/motion/camera2.conf [0:motion] [NTC] [ALL] [Oct 03 12:03:01] motion_start_thread: Camera ID: 1 Camera Name: (null) Device: /dev/video0 [1:ml1] [NTC] [ALL] [Oct 03 12:03:01] motion_init: Camera 1 started: motion detection Enabled [1:ml1] [NTC] [VID] [Oct 03 12:03:01] vid_start: Opening V4L2 device [1:ml1] [NTC] [VID] [Oct 03 12:03:01] v4l2_device_open: Using videodevice /dev/video0 and input -1 [1:ml1] [NTC] [VID] [Oct 03 12:03:01] v4l2_device_capability: - STREAMING [1:ml1] [ERR] [VID] [Oct 03 12:03:01] v4l2_device_capability: Device does not support capturing. [1:ml1] [ERR] [VID] [Oct 03 12:03:01] vid_start: V4L2 device failed to open [1:ml1] [WRN] [ALL] [Oct 03 12:03:01] motion_init: Could not fetch initial image from camera [1:ml1] [WRN] [ALL] [Oct 03 12:03:01] motion_init: Motion continues using width and height from config file(s) [1:ml1] [NTC] [ALL] [Oct 03 12:03:01] image_ring_resize: Resizing pre_capture buffer to 1 items [1:ml1] [NTC] [ALL] [Oct 03 12:03:01] image_ring_resize: Resizing pre_capture buffer to 4 items [1:ml1] [WRN] [ALL] [Oct 03 12:03:10] mlp_retry: Retrying until successful connection with camera [1:ml1] [NTC] [VID] [Oct 03 12:03:10] vid_start: Opening V4L2 device [1:ml1] [NTC] [VID] [Oct 03 12:03:10] v4l2_device_open: Using videodevice /dev/video0 and input -1 [1:ml1] [NTC] [VID] [Oct 03 12:03:10] v4l2_device_capability: - STREAMING [1:ml1] [ERR] [VID] [Oct 03 12:03:10] v4l2_device_capability: Device does not support capturing. [1:ml1] [ERR] [VID] [Oct 03 12:03:10] vid_start: V4L2 device failed to open Camera work fine on the laptop with the other linux programs I'm beginning to wonder if motion has changed and is now asking the camrea to do something it cant whereas before it would accept the stream, looks like its now telling the camera to capture and failing , very weird Richard On 03/10/2020 11:52, chuck elliot wrote: > You could try upping the log level to get more clues > > as to what is happening... I assume that you've checked that > > videodevice is set to /dev/video0? > > Will the camera work with xawtv or cheese etc? > > > > On 03/10/2020 10:43 am, Richard Bown wrote: >> Thanks Chuck >> >> Just tried that and still not playing, it has been working for a >> couple of years + >> >> I can plug the C270 in to the USB skt on the laptop which is running >> Linux Mint 20, which is based on Ubuntu 20.04LTS >> >> which is what the Odroid XU4 SBC is running, it was playing up before >> the OS was upgraded from ubuntu 18.04LTS to ubuntu 20.04LTS >> >> odroid@odroid:~$ lsusb >> >> Bus 003 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270 >> >> odroid@odroid:~$ tail /var/log/motion/motion.log >> [1:ml1] [WRN] [ALL] [Oct 03 10:22:10] mlp_retry: Retrying until >> successful connection with camera >> [1:ml1] [ERR] [VID] [Oct 03 10:22:10] v4l2_device_capability: Device >> does not support capturing. >> [1:ml1] [ERR] [VID] [Oct 03 10:22:10] vid_start: V4L2 device failed >> to open >> [1:ml1] [ERR] [VID] [Oct 03 10:22:11] v4l2_device_capability: Device >> does not support capturing. >> [1:ml1] [ERR] [VID] [Oct 03 10:22:11] vid_start: V4L2 device failed >> to open >> [1:ml1] [WRN] [ALL] [Oct 03 10:22:11] motion_init: Could not fetch >> initial image from camera >> [1:ml1] [WRN] [ALL] [Oct 03 10:22:11] motion_init: Motion continues >> using width and height from config file(s) >> [1:ml1] [WRN] [ALL] [Oct 03 10:22:20] mlp_retry: Retrying until >> successful connection with camera >> [1:ml1] [ERR] [VID] [Oct 03 10:22:20] v4l2_device_capability: Device >> does not support capturing. >> [1:ml1] [ERR] [VID] [Oct 03 10:22:20] vid_start: V4L2 device failed >> to open >> odroid@odroid:~$ ps ax|grep motion >> ? 753 ???????? SLsl?? 0:09 /usr/bin/motion -d 5 -n -c >> /etc/motion/motion.conf >> odroid@odroid:~$ id odroid >> uid=1000(odroid) gid=1000(odroid) >> groups=1000(odroid),4(adm),5(tty),6(disk),7(lp),15(kmem),20(dialout),21(fax),22(voice),24(cdrom),25(floppy),27(sudo),29(audio),37(operator),44(video),46(plugdev), >> >> 50(staff),60(games),100(users),104(input),105(crontab),108(ssh),109(netdev),112(bluetooth),114(lightdm),115(nopasswdlogin),117(nm-openvpn),118(lpadmin),120(scanner),123(pulse),124(pulse-access) >> >> >> >> odroid@odroid:~$ ls -l /dev/video0 >> crw-rw----+ 1 root video 81, 0 Oct? 3 10:13 /dev/video0 >> >> I'm pulling my hair out with this one, I cant see any reason why this >> has stopped working, the SBC has 3 USB ports, all have been tried. >> >> Motion is started as a service, so its not running as a user >> >> any ideas why? >> >> This cam is needed as it covers the front door >> >> TIA Richard >> >> On 03/10/2020 09:39, chuck elliot wrote: >>> I have same camera. If you run motion without the >>> >>> palette setting it chooses type 1 (MJPG) saying 0 is >>> >>> also compatible. This works fine. >>> >>> CE >>> >>> >>> On 03/10/2020 9:13 am, Richard Bown wrote: >>>> motion v 4.3.1 >>>> >>>> I have a logitech 270 usb camera >>>> >>>> up to recently its been working fine >>>> >>>> on v4l2_pallete 8 >>>> >>>> but now if I reboot or a power failure its a pig to get video from >>>> it with motion >>>> >>>> ,using a Odroid XU4 octal core ARM SBC and its headless, so all >>>> video from it it on the http ports >>>> >>>> once its running its fine, sometimes fixed by power cycling the SBC >>>> , which I dont like doing >>>> >>>> Am I using the correct v4l2 pallette for this USB camera. >>>> >>>> OS on the SBC is ubuntu 20.04LTS >>>> >>>> any ideas >>>> >>>> on the video feed via http its just the grey screen with "unable to >>>> open video device" >>>> >>>> >>>> Thanks >>>> >>> >>> >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> -- Best wishes /73 Richard Bown Email : rich...@g8jvm.com HTTP : http://www.g8jvm.com ###################################################################### Ham Call: G8JVM . QRV: 50-432 MHz + Microwave Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W, Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W OS: Linux Mint 19.3 x86_64 Tricia, on a Dell Inspiron 3580 laptop ###################################################################### ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 172, Issue 2 *******************************************