joval0620 / nitdroid-v2

Automatically exported from code.google.com/p/nitdroid-v2
0 stars 0 forks source link

USB storage mode #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
WARNING! ONE BUG - ONE REPORT, PLEASE!

What steps will reproduce the problem?
1. Connecting USB cable to computer
2.
3.

What is the expected output? What do you see instead?
A "USB connected" notification that the phone is connected to the computer via 
USB
A "USB debugging connected" notification that the phone has USB debugging 
turned on

What is your device, RootFS, Multiboot and kernel versions?
n900, PR1.3, latest multiboot version and nitdroid 0.0.8

Please provide any additional information below. Logs (logcat, dmesg) are
highly appreciated. (log collector available @
http://downloads.nitdroid.com/android-log-collector-1.1.0.apk)

Original issue reported on code.google.com by gyia...@gmail.com on 27 Nov 2010 at 4:12

GoogleCodeExporter commented 8 years ago
Temporary solution I only know so far is: type in Terminal (or using adb shell):
echo /dev/block/mmcblk1p1 > /sys/devices/platform/musb_hdrc/gadget/lun0/file
and then mount in PC.

Original comment by alexey.r...@gmail.com on 27 Nov 2010 at 6:06

GoogleCodeExporter commented 8 years ago
More correct way to enable UMS in NITDroid:
echo /dev/block/vold/179:9 > /sys/devices/platform/musb_hdrc/gadget/lun0/file
(on n900 side)

Original comment by alexey.r...@gmail.com on 27 Nov 2010 at 9:35

GoogleCodeExporter commented 8 years ago
It took me a bit to get adb to start correctly but I was able to connect and 
execute:

echo /dev/block/vold/179:9 > /sys/devices/platform/musb_hdrc/gadget/lun0/file

As soon as I executed the command Ubuntu detected the flash storage on the n900.

A.C.
******

Original comment by dwang...@gmail.com on 28 Nov 2010 at 6:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by alexey.r...@gmail.com on 5 Dec 2010 at 6:13