2009/2/24 Greg KH <greg@xxxxxxxxx>
On Tue, Feb 24, 2009 at 10:49:30AM +0530, Paraneetharan Chandrasekaran wrote:What's wrong with the two different ones we already have in the kernel
> Hi all,
> I am new to driver programming. I am writing a usb mouse driver.
today? :)
No, sorry it can not. Only one driver can be bound to a USB interface
> 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?.
at a time.
good luck,
greg k-h