Hi, bastgiraud <[EMAIL PROTECTED]> writes: > > I receive some informations of descriptors from the > pic16c745which works in interrupt transfer. But I don't > succeed in receiving the data which is in the buffer with > linux2.4.20. (that was succeful with windows)
> I have found the structure for the control and the bulk transfer > > struct usbdevfs_ctrltransfer { > __u8 requesttype; > __u8 request; > __u16 value; > __u16 index; > __u16 length; > __u32 timeout; /* in milliseconds */ > void *data;}; > > struct usbdevfs_bulktransfer { > unsigned int ep; > unsigned int len; > unsigned int timeout; /* in milliseconds */ > void *data;}; > > but I haven't found it for INTERRUPT TRANSFER. > Could you indicate me where I could find it if It exists. unfortunately it doesn't exist. You can either - try to use the bulk functions with an interrupt endpoint (once upon a time somebody told me that would work), - try to submit interrupt URBs via usbfs, or - write a kernel driver (I did that for the LEGO USB Tower). Depending how it is programmed there might also be a driver, for example some people use a HID interface for slow USB devices. Can you tell us what kind of device this is? Also, there have been some important corrections for interrupt transfers after 2.4.20, better use a newer kernel. Cordialement Jürgen -- Jürgen Stuber <[EMAIL PROTECTED]> http://www.jstuber.net/ gnupg key fingerprint = 2767 CA3C 5680 58BA 9A91 23D9 BED6 9A7A AF9E 68B4 A Gray code was used in a telegraph by French engineer Émile Baudot in 1878. The codes were first patented by Frank Gray, a Bell Labs researcher, in 1953. (http://www.nist.gov/dads/HTML/graycode.html) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel