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.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
||||
|
|
|
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). |
|||||
|