I've got a few camera's for use in Zoneminder. But they tend to switch places upon boot. One tiem camera a will get /dev/video0, the other time it will be /dev/video1.
Is there a way to set these filenames, to make them permanent?
|
I've got a few camera's for use in Zoneminder. But they tend to switch places upon boot. One tiem camera a will get /dev/video0, the other time it will be /dev/video1. Is there a way to set these filenames, to make them permanent? |
|||
|
|
|
Yes, it is possible, with the help of udev rules. See /etc/udev/rules.d (in Debian based distros). Basically, you can bind the device to a name using vendor and other information available on the device via USB interface. |
|||
|
|
|
If you have a small number of known cameras, the best approach for writing a I have found this reference really good for getting started with |
||||
|
|