Send Motion-user mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: Permanent assign cam order: video0 / video1 for USB cam1
      / USB cam2 (Mariusz Ciszewski)
   2. Re: Permanent assign cam order: video0 / video1 for USB cam1
      / USB cam2 (?ydr?nas Urbonas)
   3. Re: Permanent assign cam order: video0 / video1 for USB cam1
      / USB cam2 (Mariusz Ciszewski)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Sep 2015 10:34:19 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
        for USB cam1 / USB cam2
To: Motion discussion list <[email protected]>
Message-ID:
        <CAOpAQyJ14+1Rt1Rcvc8NVc=mbgzjoeqfg4ulkejr8egy0ah...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
SYMLINK+="webcam0"
> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
SYMLINK+="webcam1"

Thank you.

And any idea how to force order if there are for example four cameras the
same ID e.g. 046d_0991_DE4250F2 ?

Best regards
Mariusz

2015-09-18 8:43 GMT+02:00 ?ydr?nas Urbonas <[email protected]>:

> Yeah, I had same issue when on boot two cameras got unpredictable "video*"
> thus breaking motion configs.
> So I used udev rule file to assign special names according to USB vendor
> ids, like this:
>
> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
> SYMLINK+="webcam0"
> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
> SYMLINK+="webcam1"
>
> And then I put /dev/webcam0 into motion's config nad I'm then sure I use
> correct camera
>
> HTH
>
> On Thu, Sep 17, 2015 at 8:50 PM, Mariusz Ciszewski <
> [email protected]> wrote:
>
>> Hello.
>>
>>
>> Is it possible somehow to force:
>>
>>
>> /dev/video0 always for USB cam:
>>
>> Bus 001 Device 009: ID 041e:4052 Creative Technology, Ltd Live! Cam Vista
>> IM
>>
>>
>>
>> /dev/video1 always for USB cam:
>>
>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>
>>
>> How to prevent rondom X for /dev/vidX (a few USB webcams) after system
>> bacames restarted?
>>
>>
>> Is it possible to connect a few cameras the same type, e. g.
>>
>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>
>>
>> and keep proper association video0 / video1 / video2 for USB cam1 / USB
>> cam2 / USB cam3 ?
>>
>>
>> Thank you for any hints.
>>
>>
>> Best regards
>>
>> Mariusz
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Fri, 18 Sep 2015 12:27:07 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
        for USB cam1 / USB cam2
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwTjh72bD+H6cZE3v8ztm7UAQqhH0zxQzZcv8WUXQV14=g...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Usually serial number will be different. Use udev admin to test your device
- it will dump you ID_SERIAL of given device. I doubt you will see same
serial for two cameras even of same model

On Fri, Sep 18, 2015 at 11:34 AM, Mariusz Ciszewski <
[email protected]> wrote:

> > SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
> SYMLINK+="webcam0"
> > SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
> SYMLINK+="webcam1"
>
> Thank you.
>
> And any idea how to force order if there are for example four cameras the
> same ID e.g. 046d_0991_DE4250F2 ?
>
> Best regards
> Mariusz
>
> 2015-09-18 8:43 GMT+02:00 ?ydr?nas Urbonas <[email protected]>:
>
>> Yeah, I had same issue when on boot two cameras got unpredictable
>> "video*" thus breaking motion configs.
>> So I used udev rule file to assign special names according to USB vendor
>> ids, like this:
>>
>> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
>> SYMLINK+="webcam0"
>> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
>> SYMLINK+="webcam1"
>>
>> And then I put /dev/webcam0 into motion's config nad I'm then sure I use
>> correct camera
>>
>> HTH
>>
>> On Thu, Sep 17, 2015 at 8:50 PM, Mariusz Ciszewski <
>> [email protected]> wrote:
>>
>>> Hello.
>>>
>>>
>>> Is it possible somehow to force:
>>>
>>>
>>> /dev/video0 always for USB cam:
>>>
>>> Bus 001 Device 009: ID 041e:4052 Creative Technology, Ltd Live! Cam
>>> Vista IM
>>>
>>>
>>>
>>> /dev/video1 always for USB cam:
>>>
>>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>>
>>>
>>> How to prevent rondom X for /dev/vidX (a few USB webcams) after system
>>> bacames restarted?
>>>
>>>
>>> Is it possible to connect a few cameras the same type, e. g.
>>>
>>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>>
>>>
>>> and keep proper association video0 / video1 / video2 for USB cam1 / USB
>>> cam2 / USB cam3 ?
>>>
>>>
>>> Thank you for any hints.
>>>
>>>
>>> Best regards
>>>
>>> Mariusz
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>>> Get real-time metrics from all of your servers, apps and tools
>>> in one place.
>>> SourceForge users - Click here to start your Free Trial of Datadog now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>>> _______________________________________________
>>> Motion-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sat, 19 Sep 2015 14:22:02 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
        for USB cam1 / USB cam2
To: Motion discussion list <[email protected]>
Message-ID:
        <caopaqyk8qf+9vaim2ppg1iebajswtjhv2n6_3bdy-9tgte5...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Ok. But how can I get this string "046d_0825_77098E00" for all my USB
cameras ?

Thank you and best regards
Mariusz

2015-09-18 8:43 GMT+02:00 ?ydr?nas Urbonas <[email protected]>:

> Yeah, I had same issue when on boot two cameras got unpredictable "video*"
> thus breaking motion configs.
> So I used udev rule file to assign special names according to USB vendor
> ids, like this:
>
> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
> SYMLINK+="webcam0"
> SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
> SYMLINK+="webcam1"
>
> And then I put /dev/webcam0 into motion's config nad I'm then sure I use
> correct camera
>
> HTH
>
> On Thu, Sep 17, 2015 at 8:50 PM, Mariusz Ciszewski <
> [email protected]> wrote:
>
>> Hello.
>>
>>
>> Is it possible somehow to force:
>>
>>
>> /dev/video0 always for USB cam:
>>
>> Bus 001 Device 009: ID 041e:4052 Creative Technology, Ltd Live! Cam Vista
>> IM
>>
>>
>>
>> /dev/video1 always for USB cam:
>>
>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>
>>
>> How to prevent rondom X for /dev/vidX (a few USB webcams) after system
>> bacames restarted?
>>
>>
>> Is it possible to connect a few cameras the same type, e. g.
>>
>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>
>>
>> and keep proper association video0 / video1 / video2 for USB cam1 / USB
>> cam2 / USB cam3 ?
>>
>>
>> Thank you for any hints.
>>
>>
>> Best regards
>>
>> Mariusz
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 112, Issue 8
*******************************************

Reply via email to