Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7639

Re: assigning specific /dev/videoN to specific USB webcams

From Kevin Snodgrass <kdsnodgrass@yahoo.com>
Newsgroups comp.os.linux.misc
Subject Re: assigning specific /dev/videoN to specific USB webcams
Date 2013-03-24 21:51 +0000
Organization A noiseless patient Spider
Message-ID <kinsh3$2ua$2@dont-email.me> (permalink)
References <ki552n$nat$1@dont-email.me>

Show all headers | View raw


On Sun, 17 Mar 2013 19:20:55 +0000, J G Miller wrote:

> Is it possible to create a udev rule to assign specific /dev/videoN
> numbers to USB  webcams.

I've been trying to deal with this myself ever since udev showed up.

I have 2 DVRs, 1 has 2 identical Hauppauge PVR-250 cards, but they are 
just straight NTSC cable, so it doesn't matter which is assigned /dev/
video0 at boot.  But the other machine has 1 PVR-250 attached to my cable 
box, 1 pcHDTV 3000 and a webcam.  So far, the webcam always seems to be /
dev/video0, but the PVR-250 and the pcHDTV seem to be randomly assigned /
dev/video1 and /dev/video2, which means I have to manually check by 
running mplayer /dev/video1 to see if it is the PVR-250.

What really sucks is if I'm gone and lose power, when it reboots it may 
come up with the 2 cards switched and a timed record will of course be 
screwed up.

BTW, does anyone know why the pcHDTV 3000 does NOT use /dev/videoX ?  It 
uses /dev/dvb/adapterX/dvrX.  Is there a techinical reason why the device 
driver authors chose that instead of /dev/videoX ?  It does make "roll-
your-own" DVRs harder to write. (I hate MythTV)

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-03-17 19:20 +0000
  Re: assigning specific /dev/videoN to specific USB webcams Robert Heller <heller@deepsoft.com> - 2013-03-17 14:46 -0500
    Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-03-17 20:04 +0000
  Re: assigning specific /dev/videoN to specific USB webcams Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2013-03-24 21:51 +0000
    Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-03-24 22:54 +0000
      Re: assigning specific /dev/videoN to specific USB webcams Robert Heller <heller@deepsoft.com> - 2013-03-24 18:27 -0500
        Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-03-25 02:34 +0000
      Re: assigning specific /dev/videoN to specific USB webcams Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2013-03-31 18:16 +0000
        Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-03-31 19:33 +0000
          Re: assigning specific /dev/videoN to specific USB webcams Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2013-04-11 14:19 +0000
            Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-04-11 15:21 +0000
  Re: assigning specific /dev/videoN to specific USB webcams Eric Pozharski <whynot@pozharski.name> - 2013-04-01 13:52 +0300
    Re: assigning specific /dev/videoN to specific USB webcams J G Miller <miller@yoyo.ORG> - 2013-04-01 18:24 +0000

csiph-web