Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2017 20:28:05 +1000
From:      Da Rock <freebsd-multimedia@herveybayaustralia.com.au>
To:        multimedia@freebsd.org
Subject:   webcamd rc.d devd and instances
Message-ID:  <3a98dbdb-fca4-505d-70fc-866f180ebf52@herveybayaustralia.com.au>

next in thread | raw e-mail | index | archive | help
I have a laptop with a manufacture error in the webcam where the image 
is upside down. I can call webcamd manually and use -m to rotate the 
image, but how do I get it to do this in rc.d/devd so that it does it 
automatically?

I've tried using instances, but I'm not sure that the rc script is 
actually reading it - in fact it seems to even hang.

In my rc.conf I have webcamd_0_flags="-m 'v4l2-dev.v4l_hflip=1 
v4l2-dev.v4l-vflip=1'".

In the rc script file it says that devd will automatically add devices, 
if no devd then instances will have to be used; but it doesn't say if 
both can be used together. From the code, it seems it may be a 
possibility, but I'm looking for confirmation or a better solution to 
the dilemma.


Cheers




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a98dbdb-fca4-505d-70fc-866f180ebf52>