Re: Help needed in writing usb mouse driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux