diff options
author | sujin119.kim <sujin119.kim@samsung.com> | 2012-01-18 15:20:15 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-01-18 15:20:15 -0800 |
commit | 9f191c3688e02ad4d5ba7f3252fb8c7f2dfcbb5e (patch) | |
tree | 75bb65ff88d3f3d6675e8a9943a3fac0e40f819d | |
parent | 0269bb6376335a04cee1f21e107a995adf00baea (diff) | |
parent | 7d8d74514dbf908018307852a50e80f671beeee6 (diff) | |
download | device_samsung_tuna-9f191c3688e02ad4d5ba7f3252fb8c7f2dfcbb5e.tar.gz device_samsung_tuna-9f191c3688e02ad4d5ba7f3252fb8c7f2dfcbb5e.tar.bz2 device_samsung_tuna-9f191c3688e02ad4d5ba7f3252fb8c7f2dfcbb5e.zip |
am 7d8d7451: Toro: USB: Add RNDIS+DM+MODEM
* commit '7d8d74514dbf908018307852a50e80f671beeee6':
Toro: USB: Add RNDIS+DM+MODEM
-rwxr-xr-x | init.tuna.usb.rc | 11 | ||||
-rw-r--r-- | ueventd.tuna.rc | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/init.tuna.usb.rc b/init.tuna.usb.rc index 9d3d336..20bf090 100755 --- a/init.tuna.usb.rc +++ b/init.tuna.usb.rc @@ -64,7 +64,16 @@ on property:sys.usb.config=ptp,adb on property:sys.usb.config=rndis,dm write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 04e8 - write /sys/class/android_usb/android0/idProduct 6862 + write /sys/class/android_usb/android0/idProduct 6864 + write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/enable 1 + setprop sys.usb.state $sys.usb.config + +on property:sys.usb.config=rndis,acm,dm + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 04e8 + write /sys/class/android_usb/android0/idProduct 6864 write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/f_acm/instances 1 write /sys/class/android_usb/android0/enable 1 setprop sys.usb.state $sys.usb.config diff --git a/ueventd.tuna.rc b/ueventd.tuna.rc index 3fa9fe2..d1a8b47 100644 --- a/ueventd.tuna.rc +++ b/ueventd.tuna.rc @@ -38,7 +38,8 @@ /dev/cdma_rmnet5 0660 radio radio /dev/cdma_rmnet6 0660 radio radio /dev/lte_rmnet4 0660 radio radio -/dev/ttyGS1 0660 radio radio +/dev/ttyGS0 0660 radio radio +/dev/ttyGS1 0660 radio radio /dev/block/mmcblk0p4 0660 radio radio /dev/modem_br 0660 radio radio /dev/cdma_ramdump0 0660 radio radio |