On 4/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > 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.
yes, that is what i want exactly > > 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. Sorry may be i just express what i want in a wrong way so again what i want is to load skeleton driver on my host computer side then make it communicate with my OMAP kit. so i think this could be the steps for using skeleton driver: 1) i should change the vendor id and product id to be like the id of my kit. 2) mknod /dev/usb/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? > > 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/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel