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.


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).

  • 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 '12 at 17:31
  • Welcome to Ask Ubuntu! This does not answer the question. – Ringtail Dec 8 '12 at 17:33

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.