From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 15 13:29:09 2014 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DF471DA for ; Sat, 15 Feb 2014 13:29:09 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id F3B581701 for ; Sat, 15 Feb 2014 13:29:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id B0E296071D for ; Sat, 15 Feb 2014 14:29:07 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id u3loE2A6yMW6 for ; Sat, 15 Feb 2014 14:29:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 54C3660732 for ; Sat, 15 Feb 2014 14:29:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no 54C3660732 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1392470947; bh=r8S7YkEq0cKbXvE4Ar8MpOesQsF+T7rIrJRul5tciOQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=YmvE85AjpuVyCfKEcqoiWklAI7yNyRaPqRhAwVaOPOiwBYiO9VvvrgyqL7CFAsAo0 Z3Y20tHNM7OnN7vrjNrDCOATVJhADegmqIS8oVwl896rFqAQQXY8oYefDHwLWZJJoJ xRIeMc6cJuPW/9TdikHJ9X2bKrUzEeuPdpDynAY8= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id q9QkCDWHpXnK for ; Sat, 15 Feb 2014 14:29:07 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id 2FB606071D for ; Sat, 15 Feb 2014 14:29:07 +0100 (CET) Date: Sat, 15 Feb 2014 14:29:06 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Subject: Re: webcamd rc script - a bit different? Message-Id: <20140215142906.08244cfcb5650ad4be502076@getmail.no> In-Reply-To: <20140215142024.1e25b8b9f252e7b052dd418b@getmail.no> References: <20140215142024.1e25b8b9f252e7b052dd418b@getmail.no> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 13:29:09 -0000 On Sat, 15 Feb 2014 14:20:24 +0100 Torfinn Ingolfsen wrote: > Hi, > > The webcamd rc script (/usr/local/etc/rc.d/webcamd) works a bit unexpected (for me at least): > root@kg-f4# service webcamd status > root@kg-f4# service webcamd status dummy > webcamd is not running. > > I was expecting it to work without a paramtere for the status command. > To start services I'm using: > root@kg-f4# service webcamd start ugen3.3 > Starting webcamd. > Attached to ugen3.3[0] > (I'm not using hal, so I don't know if it works differently when hal is enabled) > The adapter I'm using is this: > root@kg-f4# usbconfig -d ugen3.3 > ugen3.3: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) Also (at least sometimes) the status command doesn't work: root@kg-f4# service webcamd status dummy webcamd is not running. root@kg-f4# service webcamd start ugen3.3 Starting webcamd. Attached to ugen3.3[0] root@kg-f4# service webcamd status dummy webcamd is not running. root@kg-f4# service webcamd status ugen3.3 webcamd is not running. root@kg-f4# pgrep -lf webcamd 1119 /usr/local/sbin/webcamd -B -U webcamd -G webcamd -d ugen3.3 -i 0 -- Torfinn Ingolfsen