summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-04-23 21:52:43 +0200
committerPaulK <contact@paulk.fr>2012-04-23 21:52:43 +0200
commitf7b078c385c130c4463f088b429a75f6959d70fb (patch)
tree9c4df6e70dc609090162fb1e279213dd9f17cd4e
parentaa122a614c0e9862207dee7c76bb7916c3d482ae (diff)
downloaddevice_goldelico_gta04-f7b078c385c130c4463f088b429a75f6959d70fb.zip
device_goldelico_gta04-f7b078c385c130c4463f088b429a75f6959d70fb.tar.gz
device_goldelico_gta04-f7b078c385c130c4463f088b429a75f6959d70fb.tar.bz2
Added init.gta04.rc with instructions to enable USB Mass Storage
Signed-off-by: PaulK <contact@paulk.fr>
-rw-r--r--gta04.mk1
-rw-r--r--init.gta04.rc2
2 files changed, 3 insertions, 0 deletions
diff --git a/gta04.mk b/gta04.mk
index 2544b21..0cb4bef 100644
--- a/gta04.mk
+++ b/gta04.mk
@@ -14,6 +14,7 @@
# Hardware
PRODUCT_COPY_FILES := \
+ device/goldelico/gta04/init.gta04.rc:root/init.gta04.rc \
device/goldelico/gta04/vold.fstab:system/etc/vold.fstab \
device/goldelico/gta04/twl4030_pwrbutton.kl:system/usr/keylayout/twl4030_pwrbutton.kl \
device/goldelico/gta04/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
diff --git a/init.gta04.rc b/init.gta04.rc
new file mode 100644
index 0000000..2171955
--- /dev/null
+++ b/init.gta04.rc
@@ -0,0 +1,2 @@
+on boot
+ write /sys/class/usb_composite/usb_mass_storage/enable 1