struggiling with controls for logitech sphere AF
Posted: Sun Dec 20, 2009 12:35 am
I have perused the forums on controlling this camera locally(from the server it is set up on without mjpgstreamer) but it looks like a few things have changed with this zoneminder version and uvcvideo .Of course I could be wrong. It seems as though there may be more than one way to do this and perhaps this is confusing me.. either way hope I learn something
Pertinent Info:
System:Karmic Ubuntu 9.10
kernel:2.6.31-16-generic
Zoneminder Version:1.24.1
Apache Version:2.2.12
Perl Version:5.10.0-24
Wxcam version:1.0.4-1
uvcdynctrl 0.2
gives:
Apache log while messing around:
Seems to be nothing in /var/log/zm/
Hopefully this is enough for somebody to start me on the road. I think despite what I have read I have a fundamental misunderstanding of how libwebcam, uvcvideo, and uvcdynctrl (maybe PTZ?) can work with zoneminder via a control module. The camera does work to produce an image though and the combination with mysql is very powerful. I guess I should add I have had no success trying to Motion working with controls either.
Pertinent Info:
System:Karmic Ubuntu 9.10
kernel:2.6.31-16-generic
Zoneminder Version:1.24.1
Apache Version:2.2.12
Perl Version:5.10.0-24
Wxcam version:1.0.4-1
uvcdynctrl 0.2
Code: Select all
uvcdynctrl -c
Code: Select all
Raw bits per pixel
Disable video processing
LED1 Frequency
LED1 Mode
Pan/tilt Reset
Focus (absolute)
Tilt Reset
Pan Reset
Tilt (relative)
Pan (relative)
Exposure, Auto Priority
Exposure (Absolute)
Exposure, Auto
Backlight Compensation
Sharpness
Power Line Frequency
Gain
White Balance Temperature, Auto
Saturation
Contrast
Brightness
Code: Select all
Can't connect: No such file or directory at /usr/share/perl5/ZoneMinder/Debug.pm line 349
ZoneMinder::Debug::Fatal('Can\'t connect: No such file or directory') called at /usr/bin/zmcontrol.pl line 153
[Sat Dec 19 17:03:39 2009] [error] [client ::1] /usr/bin/zmcontrol.pl --panspeed=15 --autostop --command=moveConRight --id=10=>, referer: http://localhost/?view=watch&mid=10
[Sat Dec 19 17:03:39 2009] [error] [client ::1] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/control.php',\n 'line' => 1000,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => '/usr/bin/zmcontrol.pl --panspeed=15 --autostop --command=moveConRight --id=10=>',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/control.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://localhost/?view=watch&mid=10
Hopefully this is enough for somebody to start me on the road. I think despite what I have read I have a fundamental misunderstanding of how libwebcam, uvcvideo, and uvcdynctrl (maybe PTZ?) can work with zoneminder via a control module. The camera does work to produce an image though and the combination with mysql is very powerful. I guess I should add I have had no success trying to Motion working with controls either.