Re: [qtmoko] using qtmoko as an USB Mass storage device
On Thursday 20 May 2010 18:49:47 Tomas Nackaerts wrote: > i hope this is a good reason for you :-) Yes, this would never occur to me. I agree it's good reason. I'll try to make USB mass storage working for next release. Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [qtmoko] using qtmoko as an USB Mass storage device
Op maandag 17 mei 2010 06:28:26 schreef Radek Polak: > If somebody brings up good reason why USB mass storage is needed i will > make it possible as default in QtMoko. I recently bought a car radio player with a usb port and my idea was to attach my neo to it, and use the micro sd as storage for my music. the extra side effect would be that my freerunner would get charged and it can be used as a gps-device at the same time. I tried to use the car radio just as a charger, but it seems it doesn't charge correctly. Probably it cannot supply 500mA. I will investigate further when i find some time to waste. i hope this is a good reason for you :-) (but it will probably never work anyway so please dont waste time on this :-) regards, Toams ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [qtmoko] using qtmoko as an USB Mass storage device
On Saturday 15 May 2010 17:20:02 Tomas Nackaerts wrote: > I want to use my freerunner as a USB Mass storage device. I tried to follow > the instructions on > http://wiki.openmoko.org/wiki/Using_the_Neo_as_an_USB_Mass_storage_device. The problem is kernel config for QtMoko. You can build only one gadged driver in kernel and the one is in QtMoko USB ethernet. The solution is to have USB ethernet and USB storage as modules. But it has also one downside for me as developer: you need working /lib/modules on the phone and which makes swapping different kernels very very difficult. I would consider compiling etherent and mass storage as modules, but i cant see any real reason why anyone would need to use mass storage. It's possible to mount freerunner's filesystem with sshfs which is very easy to do. You can also setup NFS. The SD card can be formated and paritioned on freerunner. If somebody brings up good reason why USB mass storage is needed i will make it possible as default in QtMoko. Btw you can even now recompile kernel with mass storage support :) Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [qtmoko] using qtmoko as an USB Mass storage device
On Saturday 15 May 2010, Tomas Nackaerts wrote: > Hello all, > > I want to use my freerunner as a USB Mass storage device. I tried to follow > the instructions on > http://wiki.openmoko.org/wiki/Using_the_Neo_as_an_USB_Mass_storage_device. > But it seems there are no g_ether and g_file_storage modules present on > QtMoko v22. Maybe they are built inside the kernel? If there's no g_ether module then it will be built in, and g_file_storage may be. If so you can use the bind and unbind /sys files for the drivers instead of loading and unloading them. I don't remember exactly where they live, but it's probably something like: echo g_ether > /sys/bus/usb/drivers/g_ether/unbind echo g_file_storage > /sys/bus/usb/drivers/g_file_storage/bind There is similar mechanism for setting the parameters, but I don't remember the details. Look for suitably names files in the g_file_storage directory. > I also found in the Devtools menu two scripts: 'USB device mode' and 'USB > host mode', but i dont know what their exact use is. Device mode is when the moko behaves as a usb device like an ethernet adapter or a flash drive. Host mode is when the neo behaves as a usb host so you can plug in and use devices ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[qtmoko] using qtmoko as an USB Mass storage device
Hello all, I want to use my freerunner as a USB Mass storage device. I tried to follow the instructions on http://wiki.openmoko.org/wiki/Using_the_Neo_as_an_USB_Mass_storage_device. But it seems there are no g_ether and g_file_storage modules present on QtMoko v22. Maybe they are built inside the kernel? I also found in the Devtools menu two scripts: 'USB device mode' and 'USB host mode', but i dont know what their exact use is. Anyway if somebody can point me to the right direction, please do! thanks, Toams ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community