1

I am using Zoneminder with a USB web-cam and also analogue inputs from a PCI capture card. Sometimes when the server boots, USB is detected first (and assigned /dev/video0) and at other times the capture card is detected first (and assigned /dev/video0 - /dev/video3 as its a 4 channel card) and USB is assigned /dev/video4. I am after some way to force the system to only detect USB and the Capture Card in a certain order so the assignments don't change between boots.

2 Answers 2

0

There is no mechanism to force detection order and thus stabilize device node numbers this way. As @Someone_Out_There mentioned, the expected way to approach this problem is to use udev rules to set up consistent aliases for these devices (e.g. based on their USB IDs) and rely on those aliases.

-1

Try looking into using udev rules. You can create symlinks to the underlying device so no matter which order they are detected you use the alias name that never changes. See "Writing udev rules" by Daniel Drake (dsd).

2
  • Hello Someone_Out_There! Welcome to AskUbuntu. I'm afraid I downvoted your answer, because it lacks any detail. Why don't you extract the useful information from the page you linked to, and include the link for reference?
    – Flimm
    Dec 8, 2012 at 17:31
  • Welcome to Ask Ubuntu! This does not answer the question.
    – Ringtail
    Dec 8, 2012 at 17:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .