Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 17:27:16 +0100
From:      Jakob Alvermark <jakob@alvermark.net>
To:        Steve Wills <steve@mouf.net>, Hans Petter Selasky <hps@selasky.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: webcamd not started automatically
Message-ID:  <cc93dd95-0d9c-0f51-f1fc-e6f7fc0cc588@alvermark.net>
In-Reply-To: <037d398c-e6d0-f805-b5da-9c6a7ab6e097@mouf.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>

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


Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cc93dd95-0d9c-0f51-f1fc-e6f7fc0cc588>