| 
      
      
      From: Philipp <phi...@we...> - 2006-05-05 15:20:29
      
     | 
| Hi @ All. I’m using the LIB-USB for my thesis. LIBUSB_DLL: usb_os_init: dll version: 0.1.10.1 LIBUSB_DLL: usb_os_init: driver version: 0.1.10.1 First I have some general questions about the LIBUSB: 1 Is there a handshake implemented, that informs me about arrived data? 2 Why can’t the USB software analysers show me the data transfers while using LIBUSB? e.g. Snoopy(from sourceforge.net ) and USB monitor (http://www.hhdsoftware.com/usbmon.html) 3 Do I have any influence of Enumeration process? And how is it handled? 4 Why do I have to read always the full EP size? (http://thread.gmane.org/gmane.comp.lib.libusb.devel.windows/475/focus=475) And now my recent Problems: At the firs implementation step I’m using interrupt transfers, but I have problems during “usb_interrupt_read” Because if I’am reading to fast the debug message was that the System has not enough capacity for this operation. But I guess this is just the fault of my Programming J This message is disappeared since I added a loop in between send an receive. But now I get: LIBUSB_DLL error: usb_reap_async: timeout error What could be the reason for this? I’m gratefully about any suggestions or Programming Examples! Best Regards Philipp P.S. here is the diskriptor of my USB device: Port1: USB Test Device Hub Power: Self Power Number of Ports: 2 Power switching: None Compound device: No Over-current Protection: Individual Device Descriptor USB Version: 2.0 Device Class: (0) Reserved (defined in Interface Descriptor) Device Subclass: 0 Device Protocol: 0 Max Packet Size: 0x40 (64) bytes Vendor: 0xffff () Product ID: 0x0001 Product Version: 0x0000 Manufacturer: 1 0x0409: XXX Product: 2 0x0409: XXX SerialNumber: 3 0x0409: 00000001 Number of Configurations: 1 Connection Status: Device Connected Current Configuration: 1 Device Bus Speed: Full Device Address: 0x01 Number of Open Pipes: 2 Configuration Descriptor (1) Total Length: 32 bytes Number of Interfaces: 1 Configuration Value: 1 Configuration: 0 Attributes: 0x80 Bus Powered Max Power: 0x32 (100 Ma) Interface Descriptor (0) Interface Number: 0 Alternate Setting: 0x00 Number of Endpoints: 0x02 Interface Class: (255) Vendor Specific Interface Subclass: 255 Interface Protocol: 255 Interface: 0 Endpoint Descriptor (Addr: 0x81) Endpoint Address: 0x81, Input Transfer Type: Interrupt Max Packet Size: 0x0040 (64) bytes Interval: 0x02 Endpoint Descriptor (Addr: 0x04) Endpoint Address: 0x04, Output Transfer Type: Interrupt Max Packet Size: 0x0040 (64) bytes Interval: 0x02 |