diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2016-03-03 19:49:15 +0530 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-03-14 14:26:27 +0100 |
commit | 4eb2bbe43a53d453787a2cf5a85a565345233705 (patch) | |
tree | 0cbcf6ac8c95cc1505a5a29176d8b7ff01db53fa /recipes-support/usb-suspend-resume/files/usb-suspend.sh | |
parent | 21860b7990513471b84621b055c25473e9290307 (diff) |
recipes-support: usb-suspend-resume: Add USB suspend resume fix for Vybrid
Add systemd service which utilises systemd's suspend resume hooks
to excute scripts which take care of unbinding and binding the
necessary configurations and usb driver during suspend and resume
respectively.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-support/usb-suspend-resume/files/usb-suspend.sh')
-rw-r--r-- | recipes-support/usb-suspend-resume/files/usb-suspend.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-support/usb-suspend-resume/files/usb-suspend.sh b/recipes-support/usb-suspend-resume/files/usb-suspend.sh new file mode 100644 index 0000000..4a2df84 --- /dev/null +++ b/recipes-support/usb-suspend-resume/files/usb-suspend.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo "" > /sys/kernel/config/usb_gadget/g1/UDC |