On 10/7/06, pradeep singh <2500.pradeep@xxxxxxxxx> wrote:
> > I have a USB device which comes with its windows application and driver. > > I want to emulate that on Linux. > I didn't get this part. i want to build similar application(in appearance and working) on Linux. [snip] > > My doubt is every time i plug in an unknown USB device to USB port( > > with supported USB driver on Linux and vice versa ), kernel will still > > detect the device, am i right? Any light on this doubt?
Yes. If your device is working properly, it will be detected and enumerated by the USB subsystem. If any driver registered with the device's vendor and product id exist, its probe function(a callback routine) will be called and the rest is upto you. I think Linux Device Drivers, 3ed would be a good reference. Jinesh. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/