From 969beb4502ddc3fb0f2c2600b3d34762147ad7c3 Mon Sep 17 00:00:00 2001 From: Kalle Vahlman Date: Sat, 1 Jan 2000 00:17:56 +0000 Subject: Add USB driver wakeup to initscript Fixes LP bug #965181 --- snowball | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3