summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Echols <atechols@gmail.com>2012-09-25 09:23:56 -0700
committerAaron Echols <atechols@gmail.com>2012-09-25 09:23:56 -0700
commit9323ae296b0e46492c5bd0a9f0a186e3ac97923e (patch)
tree82d4cb58efd82651f746412d96b128462287a707
parent284ac03d0430a1ad6c8d5ee1e20f53337126ba54 (diff)
downloadtf700t-9323ae296b0e46492c5bd0a9f0a186e3ac97923e.tar.gz
tf700t: remove 2nd USB port
the new tf700 dock only has one USB port, removing addtional port. Change-Id: I1eb862d8a6f9f967bb46b68d5b223e7645840a03
-rw-r--r--overlay/frameworks/base/core/res/res/xml/storage_list.xml6
-rw-r--r--prebuilt/vold.fstab6
-rw-r--r--ramdisk/init.cardhu.rc4
3 files changed, 4 insertions, 12 deletions
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
index c64a23d..f5b8490 100644
--- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -52,11 +52,7 @@
android:removable="true"
android:maxFileSize="4096" />
<!-- external USB drive -->
- <storage android:mountPoint="/storage/usbdisk0"
- android:storageDescription="@string/storage_usb"
- android:removable="true" />
- <!-- external USB drive -->
- <storage android:mountPoint="/storage/usbdisk1"
+ <storage android:mountPoint="/storage/usbdisk"
android:storageDescription="@string/storage_usb"
android:removable="true" />
</StorageList>
diff --git a/prebuilt/vold.fstab b/prebuilt/vold.fstab
index 246c2fc..9ab91dc 100644
--- a/prebuilt/vold.fstab
+++ b/prebuilt/vold.fstab
@@ -10,10 +10,6 @@
## <sysfs_path> - List of sysfs paths to source devices
######################
-# Mounts the first usable partition of the specified device
dev_mount microsd /storage/sdcard1 auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2
-dev_mount usbdisk1 /storage/usbdisk0 auto /devices/platform/tegra-ehci.2/usb1/1-1/1-1.2 /devices/platform/tegra-ehci.2/usb2/2-1/2-1.2
-
-dev_mount usbdisk2 /storage/usbdisk1 auto /devices/platform/tegra-ehci.2/usb1/1-1/1-1.1 /devices/platform/tegra-ehci.2/usb2/2-1/2-1.1 /devices/platform/tegra-ehci.2/usb2/2-1/2-1:1 /devices/platform/tegra-ehci.2/usb1/1-1/1-1:1
-
+dev_mount usbdisk /storage/usbdisk auto /devices/platform/tegra-ehci.2/usb1/1-1/1-1.2 /devices/platform/tegra-ehci.2/usb2/2-1/2-1.2
dev_mount sdreader /storage/sdcard2 auto /devices/platform/tegra-ehci.2/usb1/1-1/1-1.3 /devices/platform/tegra-ehci.2/usb2/2-1/2-1.3
diff --git a/ramdisk/init.cardhu.rc b/ramdisk/init.cardhu.rc
index 62b0d27..2a96c2f 100644
--- a/ramdisk/init.cardhu.rc
+++ b/ramdisk/init.cardhu.rc
@@ -15,8 +15,8 @@ on early-init
# make the pathes for the external media mounts
mkdir /storage/sdcard1 0000 system system
mkdir /storage/sdcard2 0000 system system
- mkdir /storage/usbdisk0 0000 system system
- mkdir /storage/usbdisk1 0000 system system
+ mkdir /storage/usbdisk 0000 system system
+ symlink /storage/usbdisk /mnt/usbdisk
on fs
mount ext4 /dev/block/mmcblk0p1 /system wait rw