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 (?ydr?nas Urbonas)
2. Re: Permanent assign cam order: video0 / video1 for USB cam1
/ USB cam2 (Mariusz Ciszewski)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Sep 2015 15:49:04 +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:
<CACHTdwQz_MoLdawhFHnyTzw4tZP82cd27-=2kmcrztkopx8...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
# udevadm info /dev/video0
P:
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0
N: video0
S:
v4l/by-id/usb-Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001-video-index0
S: v4l/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-video-index0
E:
DEVLINKS=/dev/v4l/by-id/usb-Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001-video-index0
/dev/v4l/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-video-index0
E: DEVNAME=/dev/video0
E:
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0
E: ID_BUS=usb
E: ID_FOR_SEAT=video4linux-pci-0000_00_1a_0-usb-0_1_3_1_0
E: ID_MODEL=TOSHIBA_Web_Camera_-_HD
E: ID_MODEL_ENC=TOSHIBA\x20Web\x20Camera\x20-\x20HD
E: ID_MODEL_ID=b307
E: ID_PATH=pci-0000:00:1a.0-usb-0:1.3:1.0
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_3_1_0
E: ID_REVISION=6030
E: ID_SERIAL=Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001
E: ID_SERIAL_SHORT=0x0001
E: ID_TYPE=video
E: ID_USB_DRIVER=uvcvideo
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_V4L_CAPABILITIES=:capture:
E: ID_V4L_PRODUCT=TOSHIBA Web Camera - HD
E: ID_V4L_VERSION=2
E: ID_VENDOR=Chicony_Electronics_Co._Ltd.
E: ID_VENDOR_ENC=Chicony\x20Electronics\x20Co.\x2cLtd.
E: ID_VENDOR_ID=04f2
E: MAJOR=81
E: MINOR=0
E: SUBSYSTEM=video4linux
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=758607
On Sat, Sep 19, 2015 at 3:22 PM, Mariusz Ciszewski <
[email protected]> wrote:
> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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: Sat, 19 Sep 2015 14:55:40 +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:
<caopaqyl0z0z02m99ah0zz85yrmdab4pdkuwmznowk5dsd0g...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
My first camera:
ATTRS{serial}=="9H005586"
My second camera:
ATTRS{serial}=="bcm2708_usb"
2015-09-19 14:49 GMT+02:00 ?ydr?nas Urbonas <[email protected]>:
> # udevadm info /dev/video0
> P:
> /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0
> N: video0
> S:
> v4l/by-id/usb-Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001-video-index0
> S: v4l/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-video-index0
> E:
> DEVLINKS=/dev/v4l/by-id/usb-Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001-video-index0
> /dev/v4l/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-video-index0
> E: DEVNAME=/dev/video0
> E:
> DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video0
> E: ID_BUS=usb
> E: ID_FOR_SEAT=video4linux-pci-0000_00_1a_0-usb-0_1_3_1_0
> E: ID_MODEL=TOSHIBA_Web_Camera_-_HD
> E: ID_MODEL_ENC=TOSHIBA\x20Web\x20Camera\x20-\x20HD
> E: ID_MODEL_ID=b307
> E: ID_PATH=pci-0000:00:1a.0-usb-0:1.3:1.0
> E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_3_1_0
> E: ID_REVISION=6030
> E: ID_SERIAL=Chicony_Electronics_Co._Ltd._TOSHIBA_Web_Camera_-_HD_0x0001
> E: ID_SERIAL_SHORT=0x0001
> E: ID_TYPE=video
> E: ID_USB_DRIVER=uvcvideo
> E: ID_USB_INTERFACES=:0e0100:0e0200:
> E: ID_USB_INTERFACE_NUM=00
> E: ID_V4L_CAPABILITIES=:capture:
> E: ID_V4L_PRODUCT=TOSHIBA Web Camera - HD
> E: ID_V4L_VERSION=2
> E: ID_VENDOR=Chicony_Electronics_Co._Ltd.
> E: ID_VENDOR_ENC=Chicony\x20Electronics\x20Co.\x2cLtd.
> E: ID_VENDOR_ID=04f2
> E: MAJOR=81
> E: MINOR=0
> E: SUBSYSTEM=video4linux
> E: TAGS=:seat:uaccess:
> E: USEC_INITIALIZED=758607
>
>
> On Sat, Sep 19, 2015 at 3:22 PM, Mariusz Ciszewski <
> [email protected]> wrote:
>
>> 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
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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 11
********************************************