From: Vinay S. <vi...@br...> - 2006-07-06 16:24:25
|
Thank you, I could find out source path. =20 Thanks and Regards, S G Vinay Broadcom India Research Pvt. Ltd. Bangalore. > -----Original Message----- > From: Vinay Shettigere > Sent: Thursday, July 06, 2006 9:45 PM > To: 'Tim Roberts' > Subject: RE: [Libusb-devel] usage of URB: >=20 > Yes, please can you tell me path of usbdevice_fs.h. >=20 > Thanks and Regards, > S G Vinay > Broadcom India Research Pvt. Ltd. > Bangalore. >=20 >=20 > > -----Original Message----- > > From: Tim Roberts [mailto:ti...@pr...] > > Sent: Thursday, July 06, 2006 9:36 PM > > To: Vinay Shettigere > > Subject: Re: [Libusb-devel] usage of URB: > > > > Vinay Shettigere wrote: > > > > >Oh I am very sorry. I did not mean explanation on variables such as > > >bcmrequesttype all those things. I could not understand the usage of > > >IOCTL call happened inside usb_control_msg. > > >ret =3D ioctl(dev->fd, IOCTL_USB_CONTROL, &ctrl); > > >It is using ioctl with number IOCTL_USB_CONTROL. I did not understand > > >usage. > > >In normal PCI driver, we use to register ioctl function to respond to > > >such ioctl call. > > > > > > > > > > Yes. The usbfs driver provides a set of ioctls for all USB devices that > > handle all of the normal USB operations. The ioctls and their > > associated structures are defined in the include file usbdevice_fs.h. > > If you are curious, you can see how they are implemented in your Linux > > kernel source in drivers/usb/core/devio.c. > > > > -- > > Tim Roberts, ti...@pr... > > Providenza & Boekelheide, Inc. > > |