Re: webcamd not started automatically

From: Jakob Alvermark <jakob_at_alvermark.net>
Date: Sat, 20 Feb 2021 15:33:16 +0100
On 2/20/21 1:34 AM, Hans Petter Selasky wrote:
> 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?


Sure:

# service webcamd start ugen1.7
webcamd 19267 - - Attached to ugen1.7[0]
# 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
19267#
# service webcamd start ugen2.4
webcamd already running?  (pid=19268).
# ls /var/run/webcamd.*
/var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid
# service webcamd stop
Stopping webcamd.
Waiting for PIDs: 19268
# ls /var/run/webcamd.*
/var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid
# service webcamd start ugen2.4
webcamd 19312 - - Attached to ugen2.4[0]
# ls /var/run/webcamd.*
/var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid
# service webcamd start ugen1.7
webcamd already running?  (pid=19313).
# 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
19267#


Jakob
Received on Sat Feb 20 2021 - 13:33:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC