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, nesta wrote:

> hi all,
> 
> 1. is skeleton.c a host driver?

It is an example of how to write a USB device driver.  However it does run 
on the host computer, if that's what you want to know.

>  second i want to ask about the steps for using skeleton.c with my device which 
> is OMAP kit.
> 
> 1) i should change the vendor id and product id to be like the id of my kit.
> 2) mknod my_dev_node -c 180 0
> 3)in my user space application i can 
> open (my_dev_node)
> then read or write
> 
> is there anything missing or not?

You have to have the correct firmware loaded on your OMAP kit, obviously.  
Otherwise I think you understand what to do.

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.