summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-support/usb-suspend-resume/files/usb-resume.service10
-rw-r--r--recipes-support/usb-suspend-resume/files/usb-resume.sh11
-rw-r--r--recipes-support/usb-suspend-resume/files/usb-suspend.service10
-rw-r--r--recipes-support/usb-suspend-resume/files/usb-suspend.sh2
4 files changed, 0 insertions, 33 deletions
diff --git a/recipes-support/usb-suspend-resume/files/usb-resume.service b/recipes-support/usb-suspend-resume/files/usb-resume.service
deleted file mode 100644
index 3bd9713..0000000
--- a/recipes-support/usb-suspend-resume/files/usb-resume.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=User resume actions
-After=suspend.target
-
-[Service]
-Type=simple
-ExecStart=-/usr/bin/usb-resume.sh
-
-[Install]
-WantedBy=suspend.target
diff --git a/recipes-support/usb-suspend-resume/files/usb-resume.sh b/recipes-support/usb-suspend-resume/files/usb-resume.sh
deleted file mode 100644
index 2584813..0000000
--- a/recipes-support/usb-suspend-resume/files/usb-resume.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-echo ci_hdrc.1 > /sys/bus/platform/drivers/ci_hdrc/unbind
-echo ci_hdrc.1 > /sys/bus/platform/drivers/ci_hdrc/bind
-echo ci_hdrc.0 > /sys/bus/platform/drivers/ci_hdrc/unbind
-echo ci_hdrc.0 > /sys/bus/platform/drivers/ci_hdrc/bind
-/bin/sh -c '/bin/cat /proc/device-tree/model > \
- /sys/kernel/config/usb_gadget/g1/strings/0x409/product'
-/bin/sh -c '/bin/cat /proc/device-tree/serial-number > \
- /sys/kernel/config/usb_gadget/g1/strings/0x409/serialnumber'
-/bin/sh -c '/bin/echo `ls /sys/class/udc/` > \
- /sys/kernel/config/usb_gadget/g1/UDC'
diff --git a/recipes-support/usb-suspend-resume/files/usb-suspend.service b/recipes-support/usb-suspend-resume/files/usb-suspend.service
deleted file mode 100644
index e56630d..0000000
--- a/recipes-support/usb-suspend-resume/files/usb-suspend.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=User suspend actions
-Before=sleep.target
-
-[Service]
-Type=simple
-ExecStart=-/usr/bin/usb-suspend.sh
-
-[Install]
-WantedBy=sleep.target
diff --git a/recipes-support/usb-suspend-resume/files/usb-suspend.sh b/recipes-support/usb-suspend-resume/files/usb-suspend.sh
deleted file mode 100644
index 4a2df84..0000000
--- a/recipes-support/usb-suspend-resume/files/usb-suspend.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo "" > /sys/kernel/config/usb_gadget/g1/UDC