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
(from parent 1:
0dcf1ce
)
rules: serial - fix path_id call
author
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 23 Jul 2009 18:26:45 +0000
(20:26 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 23 Jul 2009 18:30:52 +0000
(20:30 +0200)
rules/rules.d/60-persistent-serial.rules
patch
|
blob
|
history
diff --git
a/rules/rules.d/60-persistent-serial.rules
b/rules/rules.d/60-persistent-serial.rules
index 00727d7785d95117a3ba93e4491fabc4a01c6229..351b3856fdb999a001dd2da274ad1341272ba06e 100644
(file)
--- a/
rules/rules.d/60-persistent-serial.rules
+++ b/
rules/rules.d/60-persistent-serial.rules
@@
-6,7
+6,7
@@
KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="persistent_serial_end"
SUBSYSTEMS=="usb-serial", ENV{ID_PORT}="$attr{port_number}"
-IMPORT="path_id"
+IMPORT="path_id
%p
"
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="", SYMLINK+="serial/by-path/$env{ID_PATH}"
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="?*", SYMLINK+="serial/by-path/$env{ID_PATH}-port$env{ID_PORT}"