On Thu, Apr 15, 2010 at 06:11:58PM +0200, Jiri Kosina wrote: > On Wed, 14 Apr 2010, suman wrote: > > > I am new to USB Stack, and not very sure about the gadget drivers in > > Linux > > > > I want to make a linux device act as a pointing device, so that when i > > connect to the windows system, it detects it as pointing device as like > > a USB mouse. > > > > I will be great full if you can tell me any where in kernel where i can > > look in for achieving the same. > > Hi, > > you definitely can use gadgetfs to implemet HID gadget in userspace. I > vaguely recall someone trying to do this a few years ago, but I don't know > how it ended up. A HID gadget framework has been posted to the linux-usb@xxxxxxxxxxxxxxx mailing list a few times in the past few weeks, and it will be going into the next kernel release, so that is what you might want to use here. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html