Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 15:23:56 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-multimedia@FreeBSD.ORG, Matthias Apitz <guru@unixarea.de>, hselasky@c2i.net
Subject:   Re: webcamd-0.1.23 does not start via rc.d
Message-ID:  <201104141323.p3EDNuUB028525@lurza.secnetix.de>
In-Reply-To: <20110414113952.GA8289@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104141323.p3EDNuUB028525>