Re: usb mass media storage

2008-09-07 Thread Marco Trevisan (Treviño)
[EMAIL PROTECTED] wrote: The host has direct access to the block device, so it is important that /dev/mmcblk0p1 is not mounted on both the phone and the host at the same time (unless it's mounted ro on both). What if it was mounted ro on the phone side and rw on the host side? Would that

Re: usb mass media storage

2008-09-05 Thread Dale Maggee
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

Re: usb mass media storage

2008-09-05 Thread Fox Mulder
1. This only works until reboot or manually reverting it. 2. Don't know, maybe. :) 3. /dev/mmcblk0p1 is the first partition on the sd card. So the usb stick will only show this one partition and nothing more. Ciao, Rainer Dale Maggee wrote: Petr Vanek wrote: I have spent a while

Re: usb mass media storage

2008-09-05 Thread Dale Maggee
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

Re: usb mass media storage

2008-09-05 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 moinmoin there is no must for using /dev/mmc* .. you could also use a plain file: preparations: create mem_stick.fs file dd if=/dev/zero of=mem_stick.fs bs=512 count=1048576 # for a 512mb memory-stick with blocksize=512 bytes create filesystem

Re: usb mass media storage

2008-09-05 Thread Dale Maggee
Christian Adams wrote: moinmoin there is no must for using /dev/mmc* .. you could also use a plain file: preparations: create mem_stick.fs file dd if=/dev/zero of=mem_stick.fs bs=512 count=1048576 # for a 512mb memory-stick with blocksize=512 bytes create filesystem on

Re: usb mass media storage

2008-09-05 Thread arne anka
try to put your echo strings in quotes: echo -n ifdown usb0... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: usb mass media storage

2008-09-05 Thread shawnzier
On Fri, Sep 05, 2008 at 01:04:52PM +0200, pHilipp Zabel wrote: On Fri, Sep 5, 2008 at 4:41 AM, Dale Maggee [EMAIL PROTECTED] wrote: 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

Re: usb mass media storage

2008-09-05 Thread Dale Maggee
arne anka wrote: try to put your echo strings in quotes: echo -n ifdown usb0... did that, no luck. this time is froze after echoing ifdown usb0... ...? -D ___ Openmoko community mailing list community@lists.openmoko.org

Re: usb mass media storage

2008-09-04 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody in the thread at some point said: | Where did you get that kernel image? I haven't been able to find it | anywhere. Is there any other way to get those commands? Any recent kernel package should have these modules. Word of warning though,

Re: usb mass media storage

2008-09-03 Thread Petr Vanek
On Wed, 3 Sep 2008 00:22:38 +0200 Adrien de Sentenac [EMAIL PROTECTED] (ADS) wrote: 2008/9/2 Petr Vanek [EMAIL PROTECTED] rmmod g_ether modprobe g_file_storage file=/dev/mmcblk0p1 which kernel/distribution do you use ? it seems I have neither of these modules with om2008.8 (with updates).

usb mass media storage

2008-09-02 Thread Petr Vanek
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

Re: usb mass media storage

2008-09-02 Thread Daniel Benoy
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

Re: usb mass media storage

2008-09-02 Thread Al Johnson
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

Re: usb mass media storage

2008-09-02 Thread Adrien de Sentenac
2008/9/2 Petr Vanek [EMAIL PROTECTED] rmmod g_ether modprobe g_file_storage file=/dev/mmcblk0p1 which kernel/distribution do you use ? it seems I have neither of these modules with om2008.8 (with updates). ___ Openmoko community mailing list

Re: usb mass media storage

2008-09-02 Thread Marco Trevisan (Treviño)
Adrien de Sentenac wrote: 2008/9/2 Petr Vanek [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] rmmod g_ether modprobe g_file_storage file=/dev/mmcblk0p1 which kernel/distribution do you use ? it seems I have neither of these modules with om2008.8 (with updates). I figure that you