I'm in a similar situation myself. Except that I've never written code for the kernel 
before starting on some USB things.
Greg KH (the main USB maintainer) has written some quite detailed docs on both the USB 
code system in general and also a guide on writing USB device drivers.
Just "make htmldocs" in a new (e.g. 2.6.0-test5) source directory. You may encounter 
errors as this script processes the USB documentation templates, there is a patch to fix that in 
a thread named '[linux-usb-devel] psdocs fails for usb' started last week on this list.
You'll then get some HTML documents produced under Documentation/DocBook.

Might also be worth looking at the files in Documentation/usb, but I suspect some of the information there is out of date.

Sorry I can't help you any more, but I don't yet have the knowledge myself.
--
Daniel Drake (dsd)
http://www.reactivated.net

zhihua Li wrote:
Hi,
I am really a freshman of Linux USB. If my question looks like silly, please do not laugh at me.


Now I am trying to make my USB device can work on Linux, SO
1. I will develop a USB driver
2. An application to function my device

My problem is as follows.
1. What is the interface of the application and driver? And how to use it in application?
2. For driver developing, the device should have a major ID and minior ID, how to set the major ID and Minor ID for my device or I only need to registe my driver as USB driver??


Any information or suggestion will be appreciated!

David





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to