Re: how can i use usb_skeleton.c

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 19 Apr 2007, Wael Adel wrote:

> suppose that i have 2 different applications on the host and both
> talks to the OMAP device so i can achieve this by making 2 device
> nodes with different minor numbers or what?

You don't have to do anything.  Use one device node with one minor number 
and let both applications talk to it.

> i mean how can i make 2 applications on the host side talk to the same
> OMAP kit using the same skeleton driver?
> i can imagine this can be done by assigning different minor numbers or
> different endpoints for each application.

Nope.  There's only one OMAP kit so there should be only one minor number.

> so which choice should i make?

There's nothing to choose.  All you have to worry about is making sure not 
to run both applications at the same time unless the OMAP firmware can 
handle it.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.