Sometimes when I start the system my web camera is set on /dev/video0, and sometimes it's on /dev/video1 and the TVtuner is on /dev/video0.
I'd like to set it consistently, that one device is always on /dev/video0 and other /dev/video1, not that they interchange if I disconnect the USB or randomly on system start.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||
|
|
|
You need to create a persistent udev rule, in /etc/udev/ See /lib/udev/rules.d for help on how to configure the specific rule. I am not sure how the rule should exactly look like, however it should be similar to these network rules:
which says that if the hardware address of the device is 00:12:ab:52:44:36, then it should use the name UPDATE: See http://reactivated.net/writing_udev_rules.html and http://hackaday.com/2009/09/18/how-to-write-udev-rules/ for instructions. |
||||
|
|