Hi,

There is a very simple USB mouse driver in HID. May be you can check that too..!
drivers\hid\usbhid\usbmouse.c

Thanks & Regards,
-- Srinivas R


-----Original Message-----
From: kernelnewbies-bou...@nl.linux.org 
[mailto:kernelnewbies-bou...@nl.linux.org] On Behalf Of Quentin Carbonneaux
Sent: Tuesday, July 21, 2009 1:26 AM
To: kernelnewbies@nl.linux.org
Subject: Re: Simple USB mouse driver.

Hi,

I'm currently working on a the driver appletouch.c (can be found in 
drivers/input/mouse/) 
it's quite clear and uses USB interrupts. Irecommand you to read this. Moreover 
the chapter 
about USB devices in LDD can give you informations on USB interrupts messages 
(how to submit 
URBs etc ).

Hope it helps

On 07/20 09:05, Vipul Jain wrote:
> Hi All,
> 
>    I am looking for some documentation and or skeleton code for USB mouse
> driver. I have went through couple for documents
>    and books likes LDD3 and Essential Linux Device Driver but they all talk
> about USB bulk drivers. I am more interested in
>    code that talks about initialization of interrupt URB for configuration
> (like data registers and endpoints etc) and receiving
>   events.
> 
>   I was wondering if any one have any pointers?
> 
> 
> Regards,
> Vipul.

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

N�����r��y����b�X��ǧu�ޙ���+a�{.n�+���z�ޖw�n'����j�b�ye�{������z��v�^�m���z�ޖw�n'���?

Reply via email to