Re: [android-developers] Stop USB Port programmatically

2011-03-22 Thread Luiz Felipe Puccinelli Glingani
Interesting :) So, programmatically I need to move files, in this case -usb-storage.ko Isn't it ? Thanks ;) On Mon, Mar 21, 2011 at 6:36 PM, Pratik pratik.prajap...@gmail.com wrote: Yes. A little hack can work. This is an example of disabling mass storage mode of usb. You can build your

[android-developers] Stop USB Port programmatically

2011-03-21 Thread Luiz Felipe Puccinelli Glingani
Is it possible to stop/disable the USB port programmatically ? Thanks, Luiz -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

Re: [android-developers] Stop USB Port programmatically

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 07:29, Luiz Felipe Puccinelli Glingani luizfelip...@gmail.com wrote: Is it possible to stop/disable the USB port programmatically ? Whatever you mean by stop USB port it would be rather not possible to regular application. Regards, Marcin Orlowski Tray Agenda

Re: [android-developers] Stop USB Port programmatically

2011-03-21 Thread Pratik
Yes. A little hack can work. This is an example of disabling mass storage mode of usb. You can build your kernel with mass storage support as module instead of built-in. That will generate usb-storage.ko driver. And will get installed at /system/lib/modules/ Now if you want to disable the