From ffa4532d61a56739122e63ab95674866b33e8871 Mon Sep 17 00:00:00 2001 From: Kunhoon Baik Date: Sat, 26 Mar 2016 19:51:50 +0900 Subject: For future use : this rule will be used when deviced is not ready Support for just switch class. Change-Id: I625c5f97704d57bd4caf690754fe910d89b9adb5 --- rules/99-sdb-switch.rules | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 rules/99-sdb-switch.rules (limited to 'rules') 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" -- cgit v1.2.3