View Single Post
Posts: 194 | Thanked: 1,019 times | Joined on May 2010 @ Moscow, Russia
#719
Originally Posted by Armstrong Dicksmasher View Post
Regarding the USB Flash Mode with NITDroid,

How should we execute the "echo /dev/block/vold/179:9 > /sys/devices/platform/musb_hdrc/gadget/lun0/file" command?

Android terminal don't allow typing " < " symbol.
ADB doesn't seem to be working also.
adb shell work for me.
dmesg | tail (on host system):
Code:
[ 5993.646383] usb 1-1.2: new high speed USB device using ehci_hcd and address 6

[ 5993.731621] scsi4 : usb-storage 1-1.2:1.0

[ 5994.730052] scsi 4:0:0:0: Direct-Access     Nokia    N900              031 PQ: 0 ANSI: 2

[ 5994.730415] scsi 4:0:0:1: Direct-Access     Nokia    N900              031 PQ: 0 ANSI: 2

[ 5994.731523] sd 4:0:0:0: Attached scsi generic sg3 type 0

[ 5994.731758] sd 4:0:0:1: Attached scsi generic sg4 type 0

[ 5994.736291] sd 4:0:0:0: [sdc] Attached SCSI removable disk

[ 5994.736912] sd 4:0:0:1: [sdd] Attached SCSI removable disk

[ 6506.559768] usb 1-1.2: USB disconnect, address 6

[ 7246.436246] usb 1-1.2: new high speed USB device using ehci_hcd and address 7

[ 7246.521264] scsi5 : usb-storage 1-1.2:1.0

[ 7247.524917] scsi 5:0:0:0: Direct-Access     <NULL>   <NULL>           0000 PQ: 0 ANSI: 2

[ 7247.525485] sd 5:0:0:0: Attached scsi generic sg3 type 0

[ 7247.528024] sd 5:0:0:0: [sdc] Attached SCSI removable disk
However, sdc* is not visible in /proc/partitions, but launch of fdisk /dev/sdc fixes this.
__________________
*((int*)1) = 0;