> > > 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.
yes it is indeed, thanks to greg for writing the chapter on USB drivers :)
I think Linux Device Drivers, 3ed would be a good reference.
Jinesh.
-- play the game
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/