summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorKunhoon Baik <knhoon.baik@samsung.com>2016-03-26 19:51:50 +0900
committerKunhoon Baik <knhoon.baik@samsung.com>2016-03-26 19:51:50 +0900
commitffa4532d61a56739122e63ab95674866b33e8871 (patch)
treeadbd07d4142169b731ba535733b0a77a9fdc9be0 /rules
parentaa18fe45cd0188b520c4d477be790777557e4576 (diff)
downloadsystem-plugin-ffa4532d61a56739122e63ab95674866b33e8871.tar.gz
system-plugin-ffa4532d61a56739122e63ab95674866b33e8871.tar.bz2
system-plugin-ffa4532d61a56739122e63ab95674866b33e8871.zip
For future use : this rule will be used when deviced is not ready
Support for just switch class. Change-Id: I625c5f97704d57bd4caf690754fe910d89b9adb5
Diffstat (limited to 'rules')
-rw-r--r--rules/99-sdb-switch.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/99-sdb-switch.rules b/rules/99-sdb-switch.rules
new file mode 100644
index 0000000..75238f5
--- /dev/null
+++ b/rules/99-sdb-switch.rules
@@ -0,0 +1,2 @@
+SUBSYSTEM=="switch", ATTR{name}=="usb_cable", ATTR{state}=="1", RUN+="/usr/bin/direct_set_debug.sh --sdb-set"
+SUBSYSTEM=="switch", ATTR{name}=="usb_cable", ATTR{state}=="0", RUN+="/usr/bin/direct_set_debug.sh --sdb-unset"