From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 14 13:24:17 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 34DA11065670 for ; Thu, 14 Apr 2011 13:24:17 +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 AA2508FC0A for ; Thu, 14 Apr 2011 13:24:16 +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 p3EDNvRY028526; Thu, 14 Apr 2011 15:24:12 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p3EDNuUB028525; Thu, 14 Apr 2011 15:23:56 +0200 (CEST) (envelope-from olli) Date: Thu, 14 Apr 2011 15:23:56 +0200 (CEST) Message-Id: <201104141323.p3EDNuUB028525@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG, Matthias Apitz , hselasky@c2i.net In-Reply-To: <20110414113952.GA8289@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]); Thu, 14 Apr 2011 15:24:12 +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 List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 13:24:17 -0000 Matthias Apitz wrote: > I've nailed it down: > [...] > i.e. the 2nd arg (from $cdev) is empty; Yes, that's exactly the symptom that I was seeing. My conclusion was that $cdev just doesn't work in devd.conf in 8-stable. I thought it might have been a new feature in 9-current (but that was just a guess). > the permissions of /dev/video0 are created as 0600, this as well > should be changed by some lines in /usr/local/etc/devd/webcamd.conf > to 0666, I think; I'm not sure if that's the appropriate place. I opted for creating a group "video" (make s sens, IMHO), added myself to that group, and appended this line to /etc/devfs.rules: add path 'video*' mode 0660 group video The advantage of that approach is that it's independent of the way how /dev/video* gets created (whether by pwc.ko or cuse4bsd.ko + webcamd or whatever). It works in any case. 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 "Software gets slower faster than hardware gets faster." -- Niklaus Wirth