|
From: Andy B. <an...@th...> - 2007-09-04 09:27:14
|
Hi All, I've managed to get my Logitech orbit: Bus 003 Device 002: ID 046d:08cc Logitech, Inc. device working, in terms of video capture, etc using the uvcvideo driver, and frames, etc work fine in motion, however for some reason it doesn't seem to allow the tilt/pan to work. Using v4l2-ctl I can change/modify the pan/tilt values: geostat:~# v4l2-ctl -d /dev/video3 --get-ctrl="pan/tilt_(relative)" : 0 geostat:~# v4l2-ctl -d /dev/video3 --set-ctrl="pan/tilt_(relative)"=20 geostat:~# v4l2-ctl -d /dev/video3 --get-ctrl="pan/tilt_(relative)" : 20 So the driver/connection seems to be fine, however motion doesn't appear to detect the tilt/pan control: Motion version: 3.2.8 beta release 1 my thread2.conf: track_type 5 track_auto off ; track_port value track_motorx -1 track_motory -1 track_maxx 0 track_maxy 0 track_iomojo_id 0 track_step_angle_x 10 track_step_angle_y 10 track_move_wait 10 track_speed 255 track_stepsize 40 Output of motion: [0] Processing thread 0 - config file /etc/motion/thread2.conf [0] Thread 1 is from /etc/motion/thread2.conf [1] Thread started [1] cap.driver: "uvcvideo" [1] cap.card: "USB Video Class device" [1] cap.bus_info: "0000:00:0a.1" [1] cap.capabilities=0x04000001 [1] - VIDEO_CAPTURE [1] - STREAMING [1] v4l2_select_input: name = "Camera", type 0x00000002, status 00000000 [1] - CAMERA [1] Device doesn't support VIDIOC_G_STD [1] Supported palettes: [1] 0: MJPG (MJPEG) [1] 1: YUYV (Uncompressed) [1] Test palette YUYV (352x288) [1] Adjusting resolution from 352x288 to 176x144. [1] Using palette YUYV (176x144) bytesperlines 2816 sizeimage 50688 colorspace 00000008 [1] found control 0x00980900, "Brightness", range 0,255 [1] "Brightness", default 127, current 147 [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 28, current 28 [1] found control 0x00980913, "Gain", range 0,255 [1] "Gain", default 0, current 48 [1] found control 0x08000000, "Backlight Compensation", range 0,2 [1] "Backlight Compensation", default 1, current 1 [1] found control 0x08000001, "Power Line Frequency", range 0,2 [1] "Power Line Frequency", default 2, current 2 [1] mmap information: [1] frames=4 [1] 0 length=50688 [1] 1 length=50688 [1] 2 length=50688 [1] 3 length=50688 [1] Using V4L2 [1] Started stream webcam server in port 8892 Then if I try to make a change via the http admin (track/set) Pan 50, Tilt 50 : Set relative I get: Track Error in the http admin, and in the motion debug: [0] Failed to reset camera to starting position! Reason: Input/output error [0] httpd - Read from client: Input/output error Can anybody point me in the right direction to debug this? -- Andy e: andy @ thebmwz3.co.uk e: andy @ broadcast-tech.co.uk w: http://www.thebmwz3.co.uk w: http://www.broadcast-tech.co.uk |