On Sat, 21 Apr 2007, Wael Adel wrote: > 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 ,
No, you should let udev create the device nodes for you. But if you insist on creating them by hand, then the major number should be 180. The minor number will vary, however, depending on what other USB devices are registered on your system and whether you have CONFIG_USB_DYNAMIC_MINORS turned on. > 2. and also can i locate my device node in any directory or not? Yes, you can. It doesn't even have to be under /dev. 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