diff options
author | Mike Lockwood <lockwood@android.com> | 2011-07-29 12:53:32 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-07-29 12:53:32 -0400 |
commit | b9e6dc165254432161cc000009126186a26663af (patch) | |
tree | cc7d9a4719a8a18c66672101402109815ebb9427 /init.tuna.usb.rc | |
parent | c7c238aaa2e92673e4739ff321fd8304b7912f16 (diff) | |
download | device_samsung_tuna-b9e6dc165254432161cc000009126186a26663af.tar.gz device_samsung_tuna-b9e6dc165254432161cc000009126186a26663af.tar.bz2 device_samsung_tuna-b9e6dc165254432161cc000009126186a26663af.zip |
init.tuna.usb.rc: Move some common USB configuration logic to init.rc
Change-Id: Ib7bc1f43a8be2d7e91d6a4da618b6bcd54e91a28
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'init.tuna.usb.rc')
-rw-r--r-- | init.tuna.usb.rc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/init.tuna.usb.rc b/init.tuna.usb.rc index 14f842c..afbcf40 100644 --- a/init.tuna.usb.rc +++ b/init.tuna.usb.rc @@ -6,12 +6,6 @@ on boot write /sys/class/android_usb/android0/f_rndis/vendorID 18d1 write /sys/class/android_usb/android0/f_rndis/wceis 1 -on property:sys.usb.config=none - stop adbd - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/bDeviceClass 0 - setprop sys.usb.state $sys.usb.config - on property:sys.usb.config=mtp write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 18d1 |