Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-16 Thread briand
On Sat, 16 Jul 2011 10:29:49 -0400 shawn wilson wrote: > FYI, > jonnor.com/2010/08/determining-physical-topology-of-hotplugged-usb-devices-with-udev/ > > Ie, figure out your physical setup and write a script. If programming isn't > your thing, you could probably get this done with sed / awk or m

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-16 Thread shawn wilson
FYI, jonnor.com/2010/08/determining-physical-topology-of-hotplugged-usb-devices-with-udev/ Ie, figure out your physical setup and write a script. If programming isn't your thing, you could probably get this done with sed / awk or maybe even grep. Though this sounds harder to me than writing a simp

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-16 Thread shawn wilson
On Jul 16, 2011 8:00 AM, "Camaleón" wrote: > > On Thu, 14 Jul 2011 20:59:24 +0200, Tuxoholic wrote: > > >> Von: Camaleón > >>> 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="

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-16 Thread Camaleón
On Thu, 14 Jul 2011 20:59:24 +0200, Tuxoholic wrote: >> Von: Camaleón >>> 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, s

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-15 Thread Wolfgang Karall
Hi, On 07/14/2011 08:59 PM, Tuxoholic wrote: > SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", \ > ATTRS{idProduct}=="08a2", Name="video1", GROUP="video" > > SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", \ > ATTRS{idProduct}=="08a2", Name="video2", GROUP="video" I suppose using the same

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-14 Thread Tuxoholic
> Von: Camaleón >> 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: $ cat /etc/udev/rules.d/10-webcam.rules: SUBSY

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-14 Thread Camaleón
On Wed, 13 Jul 2011 22:10:10 +0200, Tuxoholic wrote: >> Von: Camaleón >> > SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", >> > ATTRS{idProduct}=="08a2", Name="video%n" >> >> Why "video%n"? Why not using a fixed name for each Logitech webcam? >> >> Just curious O:-) >> >> > What do you me

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-13 Thread Tuxoholic
> > Von: Camaleón > > SUBSYSTEM=="video4linux", ATTRS{idVendor}=="046d", > > ATTRS{idProduct}=="08a2", Name="video%n" > > Why "video%n"? Why not using a fixed name for each Logitech webcam? > > Just curious O:-) > What do you mean ? - SYMLINK+="webcam%n" ? I tried that, didn't help. The react

Re: udev rules for 2 identical webcams + 1 spare cam

2011-07-13 Thread Camaleón
On Tue, 12 Jul 2011 17:13:22 +0200, Tuxoholic wrote: (...) > I already figured out idProduct and idVendor of the spare cam and the > Logitech Quickcams using udevadm: > > $ cat /etc/udev/rules.d/10-webcam.rules: > SUBSYSTEM=="video4linux", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="62c0", > N

udev rules for 2 identical webcams + 1 spare cam

2011-07-12 Thread Tuxoholic
Hello list I'm trying to setup a debian system with two identical Logitech usb webcams plus one spare cam, the one integrated in my laptop. The spare cam should remain video0. The other two webcams should be assigned to video1 and video2 in static way at best, so if a fourth cam would be assign