webcamd-0.1.23 does not start via rc.d

Matthias Apitz guru at unixarea.de
Thu Apr 14 08:09:15 UTC 2011


El día Thursday, April 14, 2011 a las 08:47:39AM +0200, Hans Petter Selasky escribió:

> On Wednesday 13 April 2011 20:51:46 Matthias Apitz wrote:
> > El día Wednesday, April 13, 2011 a las 06:10:03PM +0200, Oliver Fromme 
> escribió:
> > > Matthias Apitz wrote:
> > >  > I have webcamd-0.1.23 in a 9-CURRENT with ports from CVS from today;
> > >  > even with the correct value in /etc/rc.conf webcamd does not start:
> > >  > [...]
> > > 
> > >  > It seems to missing something:
> > > Yes.  You must specify the USB unit and address, which you
> > > can lookup with usbconfig.  For example, when the camera
> > > attaches as ugen1.2, you must specify "1.2".
> > > 
> > > ...
> > 
> > But than the man page of webcamd(8) is incorrect (it says inserting a line
> > in /etc/rc.conf is enough). And concerning the USB unit addr, I thought
> > that webcamd(8) will just use the 1st unit which fits, at least it
> > worked this way when I started webcamd(8) by hand without any further
> > arguments.
> > 
> > Thanks
> > 
> > 	matthias
> 
> Looks like your webcamd script is not the one that is in the port??

No, it was installed by building the port:

# pkg_info | fgrep webcamd
webcamd-0.1.23      A port of Linux USB webcam and DVB drivers into userspace


# head /usr/local/etc/rc.d/webcamd
#!/bin/sh
# $FreeBSD: ports/multimedia/webcamd/files/webcamd.in,v 1.5 2010/12/12 22:52:07 kwm Exp $
#
# PROVIDE: webcamd
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf[.local] to enable webcamd:
#
# webcamd_enable="YES"
#

HIH

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/


More information about the freebsd-multimedia mailing list