Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

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

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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