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. Re: somthing strange (Richard Bown)
   2. Re: somthing strange (tosiara)


----------------------------------------------------------------------

Message: 1
Date: Sat, 3 Oct 2020 14:15:13 +0100
From: Richard Bown <rich...@g8jvm.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] somthing strange
Message-ID: <621cdd00-4f0c-468f-f9aa-bbf570b11...@g8jvm.com>
Content-Type: text/plain; charset=utf-8; format=flowed

The plot thickens

I downloaded from the odroid ubuntu 18 repo v4.0, on a Odroid C2, like a 
RPi3B

and

------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0825)"
cap.bus_info: "usb-dwc2_b-1.2"
cap.capabilities=0x84000001
------------------------
[0:web_control] [NTC] [STR] [Oct 03 13:52:13] httpd_run: Started 
motion-httpd server on port 8080 (auth Disabled)
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_get_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_get_capability: - STREAMING
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_select_input: name = "Camera 
1", type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_select_input: - CAMERA
[1:ml1] [WRN] [VID] [Oct 03 13:52:13] v4l2_select_input: Device doesn't 
support VIDIOC_G_STD
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: Config 
palette index 17 (YU12) doesn't work.
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: Supported 
palettes:
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: (0) YUYV (YUV 
4:2:2 (YUYV))
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: 0 - YUV 4:2:2 
(YUYV) (compressed : 0) (0x56595559)
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: (1) MJPG (MJPEG)
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: 1 - MJPEG 
(compressed : 1) (0x47504a4d)
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format Selected 
palette YUYV
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_do_set_pix_format: Testing 
palette YUYV (320x240)
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_do_set_pix_format: Using 
palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 
00000008
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control 
0x00980900, "Brightness", range 0,255
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Brightness", 
default -8193, current 128
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control 
0x00980901, "Contrast", range 0,255
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Contrast", 
default 57343, current 32
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control 
0x00980902, "Saturation", range 0,255
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Saturation", 
default 57343, current 32
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control 
0x00980918, "Power Line Frequency", range 0,2
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Power Line 
Frequency", default 2, current 2
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control 
0x00980913, "Gain", range 0,255
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Gain", 
default 57343, current 0
[1:ml1] [NTC] [VID] [Oct 03 13:52:13] vid_v4lx_start: Using V4L2
[1:ml1] [NTC] [ALL] [Oct 03 13:52:13] image_ring_resize: Resizing 
pre_capture buffer to 1 items
[1:ml1] [NTC] [STR] [Oct 03 13:52:14] http_bindsock: listening on any 
IPv4 address port 8081
[1:ml1] [NTC] [ALL] [Oct 03 13:52:14] motion_init: Started motion-stream 
server on port 8081 (auth Disabled)



So now it move all the config from the XU4 SBC on to an old Odroid C2 , 
which I use for Kodi, I've only got 22GB of mem on that SBC

so I will have to be careful on file storage , so v 4.3 is BROKEN

Richard


On 03/10/2020 12:15, Richard Bown wrote:
> 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
  ######################################################################




------------------------------

Message: 2
Date: Sat, 3 Oct 2020 21:16:59 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] somthing strange
Message-ID:
        <CACHTdwTWaOrN=bBh3-ak1gKYWz4HBH=7Bq=pz7f8rabeanv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Can you post output of dmesg on the XU4 right after trying to start motion
there?

On Sat, Oct 3, 2020, 16:16 Richard Bown <rich...@g8jvm.com> wrote:

> The plot thickens
>
> I downloaded from the odroid ubuntu 18 repo v4.0, on a Odroid C2, like a
> RPi3B
>
> and
>
> ------------------------
> cap.driver: "uvcvideo"
> cap.card: "UVC Camera (046d:0825)"
> cap.bus_info: "usb-dwc2_b-1.2"
> cap.capabilities=0x84000001
> ------------------------
> [0:web_control] [NTC] [STR] [Oct 03 13:52:13] httpd_run: Started
> motion-httpd server on port 8080 (auth Disabled)
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_get_capability: - VIDEO_CAPTURE
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_get_capability: - STREAMING
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_select_input: name = "Camera
> 1", type 0x00000002, status 00000000
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_select_input: - CAMERA
> [1:ml1] [WRN] [VID] [Oct 03 13:52:13] v4l2_select_input: Device doesn't
> support VIDIOC_G_STD
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: Config
> palette index 17 (YU12) doesn't work.
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: Supported
> palettes:
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: (0) YUYV (YUV
> 4:2:2 (YUYV))
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: 0 - YUV 4:2:2
> (YUYV) (compressed : 0) (0x56595559)
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: (1) MJPG (MJPEG)
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format: 1 - MJPEG
> (compressed : 1) (0x47504a4d)
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_set_pix_format Selected
> palette YUYV
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_do_set_pix_format: Testing
> palette YUYV (320x240)
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_do_set_pix_format: Using
> palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace
> 00000008
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control
> 0x00980900, "Brightness", range 0,255
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Brightness",
> default -8193, current 128
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control
> 0x00980901, "Contrast", range 0,255
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Contrast",
> default 57343, current 32
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control
> 0x00980902, "Saturation", range 0,255
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Saturation",
> default 57343, current 32
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control
> 0x00980918, "Power Line Frequency", range 0,2
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Power Line
> Frequency", default 2, current 2
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: found control
> 0x00980913, "Gain", range 0,255
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] v4l2_scan_controls: "Gain",
> default 57343, current 0
> [1:ml1] [NTC] [VID] [Oct 03 13:52:13] vid_v4lx_start: Using V4L2
> [1:ml1] [NTC] [ALL] [Oct 03 13:52:13] image_ring_resize: Resizing
> pre_capture buffer to 1 items
> [1:ml1] [NTC] [STR] [Oct 03 13:52:14] http_bindsock: listening on any
> IPv4 address port 8081
> [1:ml1] [NTC] [ALL] [Oct 03 13:52:14] motion_init: Started motion-stream
> server on port 8081 (auth Disabled)
>
>
>
> So now it move all the config from the XU4 SBC on to an old Odroid C2 ,
> which I use for Kodi, I've only got 22GB of mem on that SBC
>
> so I will have to be careful on file storage , so v 4.3 is BROKEN
>
> Richard
>
>
> On 03/10/2020 12:15, Richard Bown wrote:
> > 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
>   ######################################################################
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

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 3
*******************************************

Reply via email to