[android-kernel] Re: [android-kernel]

2009-03-04 Thread ashum
Mike, Can you please point me to some document which explains how to put a kernel image on Android Dev 1 and I we want to revert back, how to do that? I have compiled the kernel with gedgetfs support but not able to mount in emulator. I also tried pulling /proc/config.gz from phone and modifyin

[android-kernel] Re: [android-kernel]

2009-03-04 Thread Mike Lockwood
No, the kernel on the TMobile G1 and Android Dev Phone 1 does not include gadgetfs support. We actually are not even using USB gadget support at all, but we plan on switching to the gadget framework sometime after cupcake. Mike On Tue, Mar 3, 2009 at 11:43 PM, Ashutosh Malviya wrote: > > > Hi

[android-kernel] Re: [android-kernel]

2009-03-04 Thread ashum
Hi Greg, Here is a source code at http://it.linux-usb.org/gadget/usb.c . Which I want to run on Android platform. To be able to run this program, I need to mount on gadgetfs see what I am getting in /dev/gadget, modify this code accordingly and run it. On emulator, I want to reach at least till

[android-kernel] Re: [android-kernel]

2009-03-04 Thread Bradley Young
Check this: some of us use android email clients and don't currently have a choice. Please move your pedantry elsewhere. On Mar 4, 2009 6:52 AM, "Greg KH" wrote: A: No. Q: Should I include quotations after my reply? On Wed, Mar 4, 2009 at 6:38 AM, wrote: > > I am trying to run a program w...

[android-kernel] Re: [android-kernel]

2009-03-04 Thread Greg KH
A: No. Q: Should I include quotations after my reply? On Wed, Mar 4, 2009 at 6:38 AM, wrote: > > I am trying to run a program which tests gadgetfs events when Android > device is connected to host machine. What do you want/need to test? > In file kernel/drivers/usb/gadget/inode.c, I can see G

[android-kernel] Re: [android-kernel]

2009-03-04 Thread ashum
Hi Greg, I am trying to run a program which tests gadgetfs events when Android device is connected to host machine. In file kernel/drivers/usb/gadget/inode.c, I can see GADGET events. I think if I am able to mount on gadgetfs I will be able to run my code. I have also tried to select gadgetfs f

[android-kernel] Re: [android-kernel]

2009-03-04 Thread Greg KH
On Wed, Mar 4, 2009 at 1:48 AM, wrote: > > # cat /proc/devices That does not have anything to do with usb, sorry. USB on the gadget side on Android is different than upstream, see the codebase for examples. What are you trying to do that requires gadgetfs? thanks, greg k-h --~--~-~

[android-kernel] Re: [android-kernel]

2009-03-04 Thread ashum
Hi Mike, I tried on "Android Dev Phone 1" it does not seems to have support for gadgetfs. I can not see gadgetfs in /proc/filesystems also below are the list of devices it supports. I don't know which of them is usb. # cat /proc/devices Character devices: 1 mem 4 /dev/vc/0 4 tty 5 /dev/t