]> err.no Git - systemd/commitdiff
rules: v4l do not mix vbi and video nodes
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 13 May 2009 15:55:08 +0000 (17:55 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 13 May 2009 15:55:08 +0000 (17:55 +0200)
rules/rules.d/60-persistent-v4l.rules

index 8415cd059b22f31730f466c1e2507b5aff8764a1..81f9bbd94daa5cdc6ad4366ba95308ddef04b5fe 100644 (file)
@@ -11,7 +11,8 @@ TEST!="index", GOTO="persistent_v4l_end"
 ATTR{index}!="?*", GOTO="persistent_v4l_end"
 
 IMPORT{program}="path_id %p"
-ENV{ID_PATH}=="?*", KERNEL=="video*|vbi*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}"
+ENV{ID_PATH}=="?*", KERNEL=="video*", SYMLINK+="v4l/by-path/$env{ID_PATH}-video-index$attr{index}"
+ENV{ID_PATH}=="?*", KERNEL=="vbi*", SYMLINK+="v4l/by-path/$env{ID_PATH}-vbi-index$attr{index}"
 ENV{ID_PATH}=="?*", KERNEL=="audio*", SYMLINK+="v4l/by-path/$env{ID_PATH}-audio-index$attr{index}"
 
 LABEL="persistent_v4l_end"