Permalink
Browse files

init.omap4pandaboard.usb.rc: Move some common USB configuration logic…

… to init.rc

Change-Id: I7b0f5e777382e1c152c20c6589906195b4c490a9
Signed-off-by: Mike Lockwood <lockwood@android.com>
  • Loading branch information...
1 parent f6fe5ab commit c6186a2046aa92de61c701240256af1db0e506a5 @mikeandroid mikeandroid committed Jul 29, 2011
Showing with 2 additions and 16 deletions.
  1. +2 −16 init.omap4pandaboard.usb.rc
@@ -3,19 +3,5 @@ on boot
write /sys/class/android_usb/android0/iProduct $ro.product.model
write /sys/class/android_usb/android0/iSerial $ro.serialno
-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
-
-# Google PID allocated for adb-only configuration
-on property:sys.usb.config=adb
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 18d1
- write /sys/class/android_usb/android0/idProduct D002
- write /sys/class/android_usb/android0/functions $sys.usb.config
- write /sys/class/android_usb/android0/enable 1
- start adbd
- setprop sys.usb.state $sys.usb.config
-
+# currently Panda only supports the adb only configuration,
+# which is configured in init.rc

0 comments on commit c6186a2

Please sign in to comment.