From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 13 16:10:23 2011 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13F491065677 for ; Wed, 13 Apr 2011 16:10:23 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 88C808FC1A for ; Wed, 13 Apr 2011 16:10:22 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p3DGA5a6081028; Wed, 13 Apr 2011 18:10:20 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3DGA3Id081027; Wed, 13 Apr 2011 18:10:03 +0200 (CEST) (envelope-from olli) Date: Wed, 13 Apr 2011 18:10:03 +0200 (CEST) Message-Id: <201104131610.p3DGA3Id081027@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG, Matthias Apitz In-Reply-To: <20110413140141.GA9608@sh4-5.1blu.de> X-Newsgroups: list.freebsd-multimedia User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Wed, 13 Apr 2011 18:10:21 +0200 (CEST) Cc: Subject: Re: webcamd-0.1.23 does not start via rc.d X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-multimedia@FreeBSD.ORG, Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 16:10:23 -0000 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". Personally I have written a small wrapper script that is run via /etc/devd.conf. So, when I attach the camera, devd calls my wrapper script. The script calls usbconfig, parses the output and starts webcamd with the correct unit and address arguments. (webcamd terminates auto- matically when I detach the camera, so I don't need a separate call for that.) webcamd comes with a pre-configured entry for devd.conf (it uses $cdev), but that one never worked for me on FreeBSD 8. Don't know why. (The wrapper script was trivial to write, so I never cared much.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549