[maemo-users] USB Flash Drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-09-16 at 01:34, ext Larry Battraw wrote:
>   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.

After you have done the 'echo host >...', it might work after
'/etc/init.d/ke-recv stop' and '/etc/init.d/ke-recv start', because
ke-recv checks the host mode only when it starts (in order to determine
whether the g_file_storage should be loaded or not when USB cable is
connected).

BR; Kimmo

> 
> Larry
> 
> 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
> >
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux