Thanks Greg. As I am new to driver programming, I am playing with the stuffs there. I found nothing wrong with the drivers we already have :)
2009/2/24 Greg KH <[email protected]> > On Tue, Feb 24, 2009 at 10:49:30AM +0530, Paraneetharan Chandrasekaran > wrote: > > Hi all, > > I am new to driver programming. I am writing a usb mouse driver. > > What's wrong with the two different ones we already have in the kernel > today? :) > > > To make my device driver to function, I rmmod the existing usb mouse > > driver (usbhid) and then insmod my driver. I register my driver by the > > match of product id and vendor id of my usb mouse. > > > > My problam is i cant have the both the drivers (the driver already > present > > and my own driver) at the same time. I want to have the bothe drivers. > The > > data from the mouse should be given to both my driver and already > existing > > driver. cant this be done?. > > No, sorry it can not. Only one driver can be bound to a USB interface > at a time. > > good luck, > > greg k-h >
