Can't get webcamd/motion to work...

Hi :),

I'm currently trying to get multimedia/webcamd and multimedia/motion working.

My webcam: Logitech C310 HD | Vendor/ProductID (hex): 0x046d:0x081b

I used these commands to install webcamd.

cd /usr/ports/multimedia/webcamd && BATCH=YES make "WITHOUT=HAL" "WITH=VT_CLIENT VT_SERVER" install clean

fetch -q -o - "" > /usr/local/etc/rc.d/webcamd

chmod +x /usr/local/etc/rc.d/webcamd

Motion is already installed and configured, but when I reboot it doesn't finish the bootinng proccess beause motion is complaining that there is no video device...

I have to manually start the server remote console and quit motion otherwhise the booting proccess doesnt't finish.

Thank you in advance!

Beat me to it!

Like I said to balanga , You really want to work out the needed webcamd options needed using the command prompt and then add those to /etc/rc.conf settings for webcamd when working.
Sometimes instructions on the internet are old. So I worry when I see this from your question:

The problem is ports change, these dreamcat4 instructions are old.
I would recommend running make config-recursive and set your options that way. That way you know they are still valid.
Then run make install clean.
This is after changing into the correct build directory: cd /usr/ports/multimedia/webcamd

pwcview is the basic tool you use to see if you video device is working. You also need to check your device nodes under /dev
I reinstalled webcamd and checked the /etc/rc.conf file if everything is fine, I removed the

I ran the usbconfig command and then I copied the bold text below and added it to the /etc/rc.conf.

Output of usbconfig:
#Other devices
ugen5.2: <vendor 0x046d product 0x081b> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)


webcamd_device_0_name="vendor 0x046d product 0x081b"

After rebooting /dev/video0 appears, but motion is still showing "UNABLE TO OPEN VIDEO DEVICE".

Bildschirmfoto 2018-07-02 um 17.23.51.png

I also changed the permissions of /dev/video0 to chmod 666 /dev/video0