chiark / gitweb /
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 8415cd0..81f9bbd 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"