/var/mod/root # motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.11.1 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[0] motion-httpd/3.2.11.1 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8082
[1] cap.driver: "pwc"
[1] cap.card: "Philips 680 webcam"
[1] cap.bus_info: "usb-musb_hdrc-1.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: PWC2 (Raw Philips Webcam)
[1] 1: YU12 (4:2:0, planar, Y-Cb-Cr)
[1] Selected palette YU12
[1] index_format 8 Test palette YU12 (320x240)
[1] Using palette YU12 (320x240) bytesperlines 480 sizeimage 115200 colorspace 00000000
[1] found control 0x00980900, "Brightness", range 0,128
[1] "Brightness", default 64, current 63
[1] found control 0x00980901, "Contrast", range 0,64
[1] "Contrast", default 0, current 32
[1] found control 0x00980902, "Saturation", range -100,100
[1] "Saturation", default 0, current 0
[1] found control 0x0098090e, "Red Gain", range 0,256
[1] "Red Gain", default 0, current 96
[1] found control 0x0098090f, "Blue Gain", range 0,256
[1] "Blue Gain", default 0, current 96
[1] found control 0x00980910, "Gamma", range 0,32
[1] "Gamma", default 0, current 16
[1] found control 0x00980911, "Shutter Speed (Exposure)", range 0,256
[1] "Shutter Speed (Exposure)", default 200, current 0
[1] found control 0x00980912, "Auto Gain Enabled", range 0,1
[1] "Auto Gain Enabled", default 1, current 1
[1] found control 0x00980913, "Gain Level", range 0,256
[1] "Gain Level", default 0, current -18
[1] found control 0x08000000, "Save User Settings", range 0,0
[1] "Save User Settings", default 0, current 0
[1] found control 0x08000001, "Restore User Settings", range 0,0
[1] "Restore User Settings", default 0, current 0
[1] mmap information:
[1] frames=2
[1] 0 length=462848
[1] 1 length=462848
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
[1] v4l2_next: VIDIOC_DQBUF: Bad file descriptor
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "pwc"
[1] cap.card: "Philips 680 webcam"
[1] cap.bus_info: "usb-musb_hdrc-1.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: PWC2 (Raw Philips Webcam)
[1] 1: YU12 (4:2:0, planar, Y-Cb-Cr)
[1] Selected palette YU12
[1] index_format 8 Test palette YU12 (320x240)
[1] Using palette YU12 (320x240) bytesperlines 480 sizeimage 115200 colorspace 00000000
[1] found control 0x00980900, "Brightness", range 0,128
[1] "Brightness", default 64, current 63
[1] found control 0x00980901, "Contrast", range 0,64
[1] "Contrast", default 0, current 32
[1] found control 0x00980902, "Saturation", range -100,100
[1] "Saturation", default 0, current 0
[1] found control 0x0098090e, "Red Gain", range 0,256
[1] "Red Gain", default 0, current 96
[1] found control 0x0098090f, "Blue Gain", range 0,256
[1] "Blue Gain", default 0, current 96
[1] found control 0x00980910, "Gamma", range 0,32
[1] "Gamma", default 0, current 16
[1] found control 0x00980911, "Shutter Speed (Exposure)", range 0,256
[1] "Shutter Speed (Exposure)", default 200, current 0
[1] found control 0x00980912, "Auto Gain Enabled", range 0,1
[1] "Auto Gain Enabled", default 1, current 1
[1] found control 0x00980913, "Gain Level", range 0,256
[1] "Gain Level", default 0, current -18
[1] found control 0x08000000, "Save User Settings", range 0,0
[1] "Save User Settings", default 0, current 0
[1] found control 0x08000001, "Restore User Settings", range 0,0
[1] "Restore User Settings", default 0, current 0
[1] mmap information:
[1] frames=2
[1] 0 length=462848
[1] 1 length=462848
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
[0] Calling vid_close() from motion_cleanup
[0] Closing video device /dev/video0
[1] v4l2_next: VIDIOC_DQBUF: Bad file descriptor
[1] Video device fatal error - Closing video device
[1] vid_close: Unable to find video device