On Thu, Sep 18, 2003 at 01:18:50AM +0000, 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

First, what kind of device is this?


> My problem is as follows.
> 1. What is the interface of the application and driver? And how to use it 
> in application?

It all depends on the type of device.  USB mice use one interface, and
usb video devices use another.  Just because they are both USB devices,
has nothing to do with how they interact with the user.

> 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??

Again, this depends on the type of device you have to write.  A usb
video device registers with the v4l layer which will give it a
major/minor number.  A USB audio device registers with the sound core to
do the same thing.  And so on.

Hope this helps,

greg k-h


-------------------------------------------------------
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