This file is: motion_kill.txt First created: Sunday 15th May 2011, 16:30 PT, AD Last updated: Sunday 15th May 2011, 16:35 PT, AD How to stop (kill) the motion process ***************************************************************** In one terminal window, start motion by typing motion as root... ***************************************************************** cd /home/anne/motion_videos root@server:~/motion_videos# motion [0] Processing thread 0 - config file /home/anne/.motion/motion.conf [0] Motion 3.2.11 Started [0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808 [0] Thread 1 is from /home/anne/.motion/motion.conf [1] Thread 1 started [1] cap.driver: "uvcvideo" [0] motion-httpd/3.2.11 running, accepting connections [0] motion-httpd: waiting for data on port TCP 8080 [1] cap.card: "UVC Camera (046d:0994)" [1] cap.bus_info: "usb-0000:00:1d.7-3" [1] cap.capabilities=0x04000001 [1] - VIDEO_CAPTURE [1] - STREAMING [1] Supported palettes: [1] 0: MJPG (MJPEG) [1] 1: YUYV (YUV 4:2:2 (YUYV)) [1] index_format 6 Test palette YUYV (320x240) [1] Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008 [1] found control 0x00980900, "Brightness", range 0,255 [1] "Brightness", default 128, current 128 [1] found control 0x00980901, "Contrast", range 0,255 [1] "Contrast", default 32, current 32 [1] found control 0x00980902, "Saturation", range 0,255 [1] "Saturation", default 32, current 32 [1] found control 0x00980913, "Gain", range 0,255 [1] "Gain", default 0, current 82 [1] mmap information: [1] frames=4 [1] 0 length=153600 [1] 1 length=153600 [1] 2 length=153600 [1] 3 length=153600 [1] Using V4L2 [1] Resizing pre_capture buffer to 1 items [1] Started stream webcam server in port 8081 [1] File of type 8 saved to: /home/anne/motion_videos/01-20110515160506.swf [1] File of type 1 saved to: /home/anne/motion_videos/01-20110515160506-01.jpg [1] File of type 1 saved to: /home/anne/motion_videos/01-20110515160507-00.jpg [1] File of type 1 saved to: /home/anne/motion_videos/01-20110515160507-01.jpg [1] File of type 1 saved to: /home/anne/motion_videos/01-20110515160508-00.jpg [1] File of type 8 saved to: /home/anne/motion_videos/02-20110515160713.swf [1] File of type 1 saved to: /home/anne/motion_videos/02-20110515160713-01.jpg [1] File of type 1 saved to: /home/anne/motion_videos/02-20110515160714-00.jpg [1] File of type 1 saved to: /home/anne/motion_videos/02-20110515160714-01.jpg [1] File of type 8 saved to: /home/anne/motion_videos/03-20110515160837.swf [1] File of type 1 saved to: /home/anne/motion_videos/03-20110515160837-01.jpg [0] httpd - Finishing [0] httpd Closing [0] httpd thread exit [1] Thread exiting [1] Calling vid_close() from motion_cleanup [1] Closing video device /dev/video0 [0] Motion terminating root@server:~/motion_videos# ***************************************************** In another terminal window: anne@server:~$ sudo -s [sudo] password for anne: root@server:~# ps -ef | grep motion root 2113 2036 0 16:04 pts/0 00:00:00 motion root 3161 3092 0 16:10 pts/1 00:00:00 grep motion root@server:~# ps -ef | grep motion root 2113 2036 0 16:04 pts/0 00:00:01 motion root 4246 3092 0 16:16 pts/1 00:00:00 grep motion root@server:~# kill 2113 root@server:~# pwd /home/anne root@server:~# NOTE, after the kill 2113 command was issued, the first terminal window reported: [0] httpd - Finishing and etc as shown in the last lines of the first terminal window, ending in "Motion terminating" ********************************************************************* After motion had terminated, I was then able to open the cheese application which then took over the Logitech Orbit camera. ********************************************************************* NOTICE: when motion first is started up, after a few lines it reports: Thread 1 is from /home/anne/.motion/motion.conf Therefore, the motion configuration file read is from /home/anne/.motion/motion.conf So if you update /home/anne/.motion/motion.conf taking instructions from http://www.annedawson.net/motion_manual.txt you should be able to fine tune the camera according to your needs for video and photo capture of motion. **********************************************************************