chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d5bdeb
)
rules: v4l do not mix vbi and video nodes
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 13 May 2009 15:55:08 +0000
(17:55 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 13 May 2009 15:55:08 +0000
(17:55 +0200)
rules/rules.d/60-persistent-v4l.rules
patch
|
blob
|
history
diff --git
a/rules/rules.d/60-persistent-v4l.rules
b/rules/rules.d/60-persistent-v4l.rules
index 8415cd059b22f31730f466c1e2507b5aff8764a1..81f9bbd94daa5cdc6ad4366ba95308ddef04b5fe 100644
(file)
--- a/
rules/rules.d/60-persistent-v4l.rules
+++ b/
rules/rules.d/60-persistent-v4l.rules
@@
-11,7
+11,8
@@
TEST!="index", GOTO="persistent_v4l_end"
ATTR{index}!="?*", GOTO="persistent_v4l_end"
IMPORT{program}="path_id %p"
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"
ENV{ID_PATH}=="?*", KERNEL=="audio*", SYMLINK+="v4l/by-path/$env{ID_PATH}-audio-index$attr{index}"
LABEL="persistent_v4l_end"