[maemo-users] [maemo-users] USB Flash Drive

From: Larry Battraw lbattraw at gmail.com
Date: Sat Sep 16 01:34:10 EEST 2006
  What you're seeing is symptomatic of having switched the 770 to host
mode via the "echo host > /sys/devices/platform/tahvo-usb/otg_mode"
method.  I have never gotten my 770 to work as a host this way, and
it's sad that this is actually given as an alternative to using the
flasher program because it doesn't seem to work.  At one point I had
my 770 set to host mode (via the flasher method) and had modified one
of the init scripts to set it back to slave mode via "echo slave >
/sys/devices/platform/tahvo-usb/otg_mode".  After that "echo host >
/sys/devices/platform/tahvo-usb/otg_mode" would make it switch back to
host mode successfully, allowing it to be done on-the-fly.  Not sure
why doing it from the default slave mode doesn't work.
  Once you have host mode working you'll see info about your USB drive
appear and a device created (Usually /dev/sda1) that you can mount.


On 9/15/06, etienne at solve400problems.com <etienne at solve400problems.com> wrote:
> I have been able to switch the 770 usb to host mode and then I connected a
> usb flash drive to the usb port of the 770. I am injecting the required 5v
> to the flash drive and the 770.
> I see the following messages in dmesg:
> [68094.508758] USB cable connected
> [68095.097320] g_file_storage gadget: File-backed Storage Gadget, version:
> 20 October 2004
> [68095.097412] g_file_storage gadget: Number of LUNs=1
> [68095.097503] g_file_storage gadget-lun0: ro=0, file: /dev/mmcblk0
> What do I need to do to actually mount the external flash drive?
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users

More information about the maemo-users mailing list