Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 01:34:35 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Jakob Alvermark <jakob@alvermark.net>, Steve Wills <steve@mouf.net>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: webcamd not started automatically
Message-ID:  <e74e6eb0-23f1-e68a-00df-a03557418645@selasky.org>
In-Reply-To: <cc93dd95-0d9c-0f51-f1fc-e6f7fc0cc588@alvermark.net>
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> <cc93dd95-0d9c-0f51-f1fc-e6f7fc0cc588@alvermark.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e74e6eb0-23f1-e68a-00df-a03557418645>