Freebsd & Creative Webcam 3 & freebsd port motion 3.2.5
Question
Hello!
I ran into problems getting motion running on my freebsd box... i read through wiki and faq and would be very pleased if someone could give me some hints into the right direction...
First: Can i deactivate bktr support when i am only using the Creative Webcam3 (USB)? In my enviromnent its actually turned on - but i would like to deactivate if its unused.
When I launch motion (for testing with -s and -n flags) i get this output in the console:
[0] Processing thread 0 - config file /usr/local/etc/motion.conf [0] Motion running in setup mode.
[0] Thread device: /dev/ugen0 input 8
[0] Thread is from /usr/local/etc/motion.conf
[1] Thread started [1] Capture error calling vid_start
[1] Thread finishing...
[0] Waiting for threads to finish, pid: 6931
[0] motion-httpd/3.2.5 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 80800
Syslog only shows:
[1] Capture error calling vid_start
The Webcam seems to be detected correctly:
kernel: ugen0: OmniVision OV511 Camera, rev 1.00/1.00, addr 3
I am using the standart configfile, I only deactivated mysql for first testing... - and i changed the device to /dev/ugen0 and the ports (to 80800 and 80801)...
When launching motion like this - no threads are started... - and the LED on the webcam keeps off. A test with "/usr/local/bin/vid -d /dev/ugen0 --small | /usr/local/bin/pnmtojpeg > image.jpg" turns the light on, but doesnt output any image too (no syslog events)...
Any help is very appreciated...
Thx, Licht77
Environment
Motion version: |
3.2.5 |
ffmpeg version: |
ffmpeg-0.4.9.p1_5 |
Libraries: |
ffmpeg, mysql |
Server OS: |
FreeBSD 5.3-RELEASE-p25 |
--
TWikiGuest - 27 Jan 2006
Answer
The Freebsd port only supports bktr and netcam there's not provided any
special interface to access usb cameras , i have not looked if there's a standard way to access to usb ... do you know ?
I saw a solution for linux pwc working cameras , a guy ported the pwc driver of linux to freebsd ( but it needs Freebsd 6 ) simulating bktr calls but that is a driver based solution not a good one for all usb cameras.
--
AngelCarpintero - 02 Mar 2006
Motion 3.2.10 , support already pwc using --with-pwcbsd , so it works with any webcam in FreeBSD that support
V4L1/2 style driver.
--
AngelCarpintero - 10 May 2008