summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Vahlman <kalle.vahlman@movial.com>2000-01-01 00:17:56 +0000
committerKalle Vahlman <kalle.vahlman@movial.com>2000-01-01 00:37:41 +0000
commit969beb4502ddc3fb0f2c2600b3d34762147ad7c3 (patch)
tree3b4ba5c0389a683467b2fe57ecc004834746ef9b
parent569f096c708b3bb4cdb597a03c062dcc9f4ea003 (diff)
Add USB driver wakeup to initscript
Fixes LP bug #965181
-rwxr-xr-xsnowball7
1 files changed, 7 insertions, 0 deletions
diff --git a/snowball b/snowball
index 5773934..648d19e 100755
--- a/snowball
+++ b/snowball
@@ -5,11 +5,18 @@
#
# (Limited) OTG HOST support
+USB_BTD=/sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device
start_musb() {
modprobe g_multi
+ if [ -f $USB_BTD ]; then
+ echo 1 > $USB_BTD
+ fi
}
stop_musb() {
modprobe -r g_multi
+ if [ -f $USB_BTD ]; then
+ echo 0 > $USB_BTD
+ fi
}
# Bluetooth