From b1430cd03325b80fd23e484dee4eb0859f955879 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Tue, 16 Sep 2014 01:44:16 +0300 Subject: [PATCH] op_storage.sh: use partition instead of whole drive complain to pmprog if this doesn't work: http://boards.openpandora.org/topic/16956-usb-mass-storage-mounting-wrong-partition/ --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_storage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 6fc98f7..bd0db83 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "bash sed gawk grep zenity" -PR = "r160" +PR = "r161" SRC_URI = " \ file://op_bright.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_storage.sh b/recipes/pandora-system/pandora-scripts/op_storage.sh index bd957ce..4203fc9 100755 --- a/recipes/pandora-system/pandora-scripts/op_storage.sh +++ b/recipes/pandora-system/pandora-scripts/op_storage.sh @@ -31,7 +31,7 @@ mountmassstorage() sleep $delay # switch to mass storage - modprobe g_file_storage file=$device stall=0 removable=1 + modprobe g_file_storage file=$device2 stall=0 removable=1 zenity --title="Mass Storage Mode" --info --text="SD Card $selection is currently in Mass Storage Mode.\n\nClick on OK when you're finished with your data transfer\nand want to go back to normal mode." -- 2.39.2