forgive me, i still have another question: i m using kerenl 2.6.18 and inside the kernel source there is usb-skeleton.c that contains the defines the following:
#define USB_SKEL_MINOR_BASE 192 1. so when i make my device node i should make the major number 180 and the minor number 192 , 2. and also can i locate my device node in any directory or not? note that the usb device nodes are in the following 3 directories on my comp: /dev/bus/usb/001 /dev/bus/usb/002 /dev/bus/usb/003 and ecah of the previous directory contains some nodes so to locate the device node i will write the following : mknod any_directory -c 180 192 does point 1 or 2 contains any errors? thanks in advance. On 4/21/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 20 Apr 2007, Wael Adel wrote: > > > but if the OMAP kit have different endpoints i.e it has 2 out endpoints > and > > 2 in endpoints, can my both application talk to the kit in the same time. > > since i cant make differenet endpoints on the host side for each > > application? > > Your driver can register two different minor device numbers, each > corresponding to one OUT and one IN endpoint. Is that what you're asking? > Yes, it is legal. > > 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