On Tuesday 02 September 2008, Daniel Benoy wrote: > 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
Not yet. At the moment it's one gadget driver at a time, but there is a project under way to allow use of multiple gadget drivers together. http://blog.felipebalbi.com/?p=44 http://www.linux-usb.org/gadget/ > 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@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community