Re: udev rules for 2 identical webcams + 1 spare cam
On Thu, 14 Jul 2011 20:59:24 +0200, Tuxoholic wrote:
>> Von: Camaleón <noelamac@xxxxx.xxx>
>>> What do you mean ? - SYMLINK+="webcam%n" ? I tried that, didn't help.
>>Nope.
>>
>>I wanted to know why you used Name="video%n" instead Name="video1" and
>>Name="video2" in two separate rules/lines.
>
> I see your point, so I tried this:
(...)
> SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="08a2", Name="video1", GROUP="video"
^^^^ ^^^^
> SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="08a2", Name="video2", GROUP="video"
^^^^ ^^^^
(...)
Mmm... How are those rules going to work? :-?
You are using the same "idVendor" and "idProduct" for both Logitech cameras,
I think you need to find an udev attribute that is "unique" for each of them
and then use it to filter by that field.
Greetings,
--
Camaleón
Reply to: