From owner-freebsd-current@freebsd.org Sat Feb 20 00:35:00 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A78F546D82 for ; Sat, 20 Feb 2021 00:35:00 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dj8bl3V8wz3r46 for ; Sat, 20 Feb 2021 00:34:58 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CA14026010D; Sat, 20 Feb 2021 01:34:50 +0100 (CET) Subject: Re: webcamd not started automatically To: Jakob Alvermark , Steve Wills , freebsd-current References: <69de9fde-4c3f-f909-359c-0156767b121c@alvermark.net> <8709cf86-0439-e3c8-a416-6c68c577939d@selasky.org> <2577c0ad-00aa-5da8-ab7f-98672c598674@alvermark.net> <037d398c-e6d0-f805-b5da-9c6a7ab6e097@mouf.net> From: Hans Petter Selasky Message-ID: Date: Sat, 20 Feb 2021 01:34:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dj8bl3V8wz3r46 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 00:35:00 -0000 On 2/18/21 5:27 PM, Jakob Alvermark wrote: > On 2/18/21 4:49 PM, Steve Wills wrote: >> Hi, >> >> On 2/18/21 9:14 AM, Jakob Alvermark wrote: >>> It used to start webcamd for both of them, now it is only started for >>> the built in Chicony. >> >> I have a similar problem. I have 3 cameras (one Logitech and two USB >> UVD things) and now it only starts webcamd for one. I can start it >> manually for the other two. I don't have the details now, but it >> seemed like when I started it for the second or third device, it said >> it was already running until I tried again. >> > Yes, there is something going on when you try to start multiple instances. > > My cameras are at ugen1.7 and ugen2.4 > > # service webcamd start ugen1.7 > webcamd 4778 - - Attached to ugen1.7[0] > # service webcamd start ugen2.4 > webcamd already running?  (pid=4779). > # service webcamd stop > Stopping webcamd. > Waiting for PIDs: 4779 > # service webcamd start ugen2.4 > webcamd 4830 - - Attached to ugen2.4[0] > # service webcamd start ugen1.7 > webcamd already running?  (pid=4831). > > # ls /var/run/webcamd.* > /var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid > > # cat /var/run/webcamd.1.7.0.pid > 4778 > > # cat /var/run/webcamd.2.4.0.pid > 4830 > Can you show: ls /var/run/webcamd* for every step you do? --HPS