Re: Need help to understand USB driver mechanism

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

 



On Fri, 2012-06-22 at 09:48 -0400, Alan Stern wrote:
> On Fri, 22 Jun 2012, Vishal Nandanwar wrote:
> 
> > Hi Alan,
> > 
> > Thanks for your reply. It really helps.
> > 
> > What approach one should use to learn the device drivers?
> 
> Many of the files in drivers/usb/misc would make a good place to start.  
> You can also try to figure out the usblp driver.
> 
> Alan Stern
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

I would suggest you to try with some simple device. May be a usb to
serial device (this is easy to work with and test). Prolific usb to
serial devices can be used (it has a kernel driver pl2303.c - use it for
documentation) and try to write a new driver based on the already
existing one (or try to get the documentation). Writing a driver for a
device which already has a driver is difficult but give it a try.

Hope this helps,
Sannu K

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux