usb mass media storage

Daniel Benoy daniel at benoy.name
Tue Sep 2 22:20:50 CEST 2008


You may want to use 'ifdown usb0' instead of '/etc/init.d/networking stop', in case you want to keep your wifi connection going.

That's cool though :)  I wonder if it's possible to pretend to be a USB hub, providing both g_ether and g_file_storage

On Tuesday 02 September 2008 15:47:18 Petr Vanek wrote:
> I have spent a while googling this up and have no wiki skills but
> someone might find this useful:
> 
> to make FR act as a memory stick, here is what my script does:
> 
> 
> #!/bin/sh                                                                                                                                                                   
> /etc/init.d/networking stop
> rmmod g_ether
> modprobe g_file_storage file=/dev/mmcblk0p1
> 
> --
> Petr Vaněk
> http://biodynamika.cz
> 
> 
> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 



-- 
Daniel Benoy
http://daniel.benoy.name




More information about the community mailing list