View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#27
Originally Posted by craves1 View Post
After checking several MMC cards on three different Windows XP computers it seems that when I connect the N770 trough the USB it is mounted as a Local Disk.
Yes, same result here, local disk. 2GB card, system restore disabled, deleted something and I don't see recycle bin so the behavior is same like removable drive for me.

Looks like you need to add flag named removable when inserting
g_file_storage module. See http://lxr.linux.no/linux+v2.6.16/dr...file_storage.c for parameters. Tried to modify /usr/sbin/osso-usb-mass-storage-enable.sh in 770 with hacker edition and added 'removable' to line
Code:
exec chroot /mnt/initfs /sbin/insmod $DIR/g_file_storage.ko stall=0 removable file=/dev/mmcblk0
and it seems to work. Not sure if there are any further gotchas (i.e. why Nokia did not set it by default).
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.