Hi,
I'm using a Logitech C310 wecam on a Pogoplug E02, running Arch. I'm using Motion as the webcam streaming server.
A weird thing happens - about 40% of the time, it works fine. I can start Motion, and it connects to the webcam just fine. I can shut down motion and restart motion and it always works.
However, if I reboot the Pogo, there's a 60% chance that Motion will not work. I get the error below. I need to reboot. There's a 40% chance each reboot fixes it.
Interesting, if I run "fswebcam" before I run Motion, it seems to work every time. It's like "fswebcam" seems to prime the system to run Motion correctly. Without fswebcam, I have a 60% failure rate for Motion.
Here's the error I get from Motion.
$this->bbcode_second_pass_quote('', '
')[root@alarm ~]# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3489124 LIBAVFORMAT_BUILD 3481700
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:081b)"
[1] cap.bus_info: "usb-orion-ehci.0-1.3"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 6 (YUYV) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] Selected palette YUYV
[1] VIDIOC_TRY_FMT failed for format YUYV: Input/output error <<<---------
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Invalid argument
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 7081
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:081b)"
[1] cap.bus_info: "usb-orion-ehci.0-1.3"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 6 (YUYV) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] Selected palette YUYV
[1] VIDIOC_TRY_FMT failed for format YUYV: Input/output error
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Invalid argument