Motion - Support Question 2015x 12x 04x 204304

AutoStartDaemonProducesNoVideoOutput

Question

I've installed Motion on Ubuntu 14.04 and configured it with my USBcamera (dev/video0). It all works great when I start Motion from the command line (sudo motion). I can view camera output at 10.1.10.10:8081 and I can access the sys admin at port 8080 - all recordings are placed in /home/wayne/motion (set in /etc/motion/motion.conf)

However when automatically start the daemon # set to 'yes' to enable the motion daemon start_motion_daemon=yes then proceed to start recording with sudo /usr/bin/lwp-request http://localhost:8080/0/detection/start > /dev/null I get a blank video screen at 10.1.10.10:8081 and at port 8080 I get a "will not connect" message. I've looked through syslog and see a very long list of Motion trying various configuration that ultimately fail... as if it cannot find the configuration file...
A portion of syslog
 Dec  4 11:48:45 wayneTVOffice motion: [1] 0: YUYV (YUV 4:2:2 (YUYV))
Dec  4 11:48:45 wayneTVOffice motion: [1] 1: H264 (H.264)
Dec  4 11:48:45 wayneTVOffice motion: [1] Selected palette YUYV
Dec  4 11:48:45 wayneTVOffice kernel: [  609.436707] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Dec  4 11:48:50 wayneTVOffice kernel: [  614.400148] usb 1-3: 3:4: cannot set freq 48000 to ep 0x86
Dec  4 11:48:50 wayneTVOffice kernel: [  614.436153] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Dec  4 11:48:50 wayneTVOffice motion: [1] VIDIOC_TRY_FMT failed for format YUYV: Input/output error
Dec  4 11:48:50 wayneTVOffice motion: [1] Unable to find a compatible palette format.
Dec  4 11:48:50 wayneTVOffice motion: [1] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
Dec  4 11:48:50 wayneTVOffice motion: [1] Retrying until successful connection with camera
Dec  4 11:48:50 wayneTVOffice motion: [1] cap.driver: "uvcvideo"
Dec  4 11:48:50 wayneTVOffice motion: [1] cap.card: "UVC Camera (046d:080c)"
Dec  4 11:48:50 wayneTVOffice motion: [1] cap.bus_info: "usb-0000:00:14.0-3"
Dec  4 11:48:50 wayneTVOffice motion: [1] cap.capabilities=0x84200001
Dec  4 11:48:50 wayneTVOffice motion: [1] - VIDEO_CAPTURE
Dec  4 11:48:50 wayneTVOffice motion: [1] - STREAMING
Dec  4 11:48:55 wayneTVOffice kernel: [  619.435596] usb 1-3: 3:4: cannot set freq 48000 to ep 0x86
Dec  4 11:48:55 wayneTVOffice motion: [1] Config palette index 8 (YU12) doesn't work.
Dec  4 11:48:55 wayneTVOffice motion: [1] Supported palettes:
Dec  4 11:48:55 wayneTVOffice motion: [1] 0: YUYV (YUV 4:2:2 (YUYV))
Dec  4 11:48:55 wayneTVOffice motion: [1] 1: H264 (H.264)
Dec  4 11:48:55 wayneTVOffice motion: [1] Selected palette YUYV
Dec  4 11:48:55 wayneTVOffice kernel: [  619.455552] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Dec  4 11:49:00 wayneTVOffice kernel: [  624.434996] usb 1-3: 3:4: cannot set freq 48000 to ep 0x86
Dec  4 11:49:00 wayneTVOffice motion: [1] VIDIOC_TRY_FMT failed for format YUYV: Input/output error
Dec  4 11:49:00 wayneTVOffice kernel: [  624.454982] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Dec  4 11:49:00 wayneTVOffice motion: [1] Unable to find a compatible palette format.
Dec  4 11:49:00 wayneTVOffice motion: [1] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
Dec  4 11:49:00 wayneTVOffice motion: [1] Retrying until successful connection with camera
Dec  4 11:49:00 wayneTVOffice motion: [1] cap.driver: "uvcvideo"
Dec  4 11:49:00 wayneTVOffice motion: [1] cap.card: "UVC Camera (046d:080c)"
Dec  4 11:49:00 wayneTVOffice motion: [1] cap.bus_info: "usb-0000:00:14.0-3"
Dec  4 11:49:00 wayneTVOffice motion: [1] cap.capabilities=0x84200001
Dec  4 11:49:00 wayneTVOffice motion: [1] - VIDEO_CAPTURE
Dec  4 11:49:00 wayneTVOffice motion: [1] - STREAMING
Dec  4 11:49:05 wayneTVOffice kernel: [  629.434421] usb 1-3: 3:4: cannot set freq 48000 to ep 0x86
Dec  4 11:49:05 wayneTVOffice motion: [1] Config palette index 8 (YU12) doesn't work.
Dec  4 11:49:05 wayneTVOffice motion: [1] Supported palettes:
Dec  4 11:49:05 wayneTVOffice motion: [1] 0: YUYV (YUV 4:2:2 (YUYV))
Dec  4 11:49:05 wayneTVOffice motion: [1] 1: H264 (H.264)
Dec  4 11:49:05 wayneTVOffice motion: [1] Selected palette YUYV
Dec  4 11:49:05 wayneTVOffice kernel: [  629.478378] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
 

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: ubuntu 14.04
-- WayneGregori - 04 Dec 2015

Answer

Topic revision: r1 - 04 Dec 2015, WayneGregori
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.