[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    Re: [libusb] Bulk transfer issue with destination buffer empty
From:       Chris E <sposchy () gmail ! com>
Date:       2020-04-28 15:22:10
Message-ID: CALmGtgQ0sYEsAQUZBEhNzO-V4SY1kOkc6mu5kes2_eyQHaV4Eg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Have you tried running your code on a different platform?  I have issues
with my product on RPi4, but it uses Isochronous.

Have you tried analyzing the USB packets with Wireshark?  I know on both
Windows and macOS this can be done - I'd be surprised if Linux couldn't do
it too.

At the very least, those two things with give you some sanity.  :)

-Chris

On Wed., 29 Apr. 2020, 1:14 am Thomas Demeillers, <atawipcl@live.fr> wrote:

> Hello everyone,
>
> I am new to USB and I am working on a project in which I need to receive
> data from a PIC micro-controller to a Raspberry Pi 4 with USB. The code on
> the micro-controller is already done and cannot be modified. I can't access
> the source, but I know the basics. The device provided me with two
> endpoints.
>
> I am supposed to receive USB binary frames of 512bit / 64bytes every 10th
> or 100th of a second.
>
> The goal is first to receive one frame and then to try with a higher
> number of frames.
>
> Everything goes well until the bulk transfer which returns no error. The
> received size is matching the predicted one, but the data buffer remains
> empty.
>
> I have been trying to bypass this bug for the past week.
>
> I have tried every modification I can think of, can somebody help me find
> mistakes in my code?
>
> Thank you in advance !
>
>
> Thomas
>
>
>
>
>
>
>  Here is the pastebin of my code in case file attachment doesn't work
> https://pastebin.com/xQdX1Xjj
>
> Configuration:
>
> Hardware: Raspberry Pi 4
>
> OS: Raspbian Lite kernel 4.19
>
> Libusb-1.0.23
>
>
>
>
> The output running the program is the following:
>
>
>
> The module has been detected! (id = 19780 = 4D44)
>
> Dev (bus 1, device 8): 4747 - 4D44
>
> Reset successful!
>
> Kernel driver already disconnected                        OK
>
> Success
>
> Data received:
>
> Lengh of data received: 64
>
> Value of the firsts characters received:  , , ,
>
>
>
>
>
> Here is the output from sudo lsusb -v -d 4747:4D44 where 4747:4D44 are the
> manufacturer and product id :
>
>
> Bus 001 Device 007: ID 4747:4d44
>
> Device Descriptor:
>
>   bLength                18
>
>   bDescriptorType         1
>
>   bcdUSB               2.00
>
>   bDeviceClass            0
>
>   bDeviceSubClass         0
>
>   bDeviceProtocol         0
>
>   bMaxPacketSize0         8
>
>   idVendor           0x4747
>
>   idProduct          0x4d44
>
>   bcdDevice            0.01
>
>   iManufacturer           1 TopSecretManufacturer
>
>   iProduct                2 TopSecretProduct
>
>   iSerial                 0
>
>   bNumConfigurations      1
>
>   Configuration Descriptor:
>
>     bLength                 9
>
>     bDescriptorType         2
>
>     wTotalLength       0x0020
>
>     bNumInterfaces          1
>
>     bConfigurationValue     1
>
>     iConfiguration          0
>
>     bmAttributes         0xc0
>
>       Self Powered
>
>     MaxPower              100mA
>
>     Interface Descriptor:
>
>       bLength                 9
>
>       bDescriptorType         4
>
>       bInterfaceNumber        0
>
>       bAlternateSetting       0
>
>       bNumEndpoints           2
>
>       bInterfaceClass       255 Vendor Specific Class
>
>       bInterfaceSubClass    255 Vendor Specific Subclass
>
>       bInterfaceProtocol    255 Vendor Specific Protocol
>
>       iInterface              0
>
>       Endpoint Descriptor:
>
>         bLength                 7
>
>         bDescriptorType         5
>
>         bEndpointAddress     0x01  EP 1 OUT
>
>         bmAttributes            2
>
>           Transfer Type            Bulk
>
>           Synch Type               None
>
>           Usage Type               Data
>
>         wMaxPacketSize     0x0040  1x 64 bytes
>
>         bInterval               1
>
>       Endpoint Descriptor:
>
>         bLength                 7
>
>         bDescriptorType         5
>
>         bEndpointAddress     0x81  EP 1 IN
>
>         bmAttributes            2
>
>           Transfer Type            Bulk
>
>           Synch Type               None
>
>           Usage Type               Data
>
>         wMaxPacketSize     0x0040  1x 64 bytes
>
>         bInterval               1
>
> Device Status:     0x0001
>
>   Self Powered
> _______________________________________________
> libusb-devel mailing list
> libusb-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusb-devel
>

[Attachment #5 (text/html)]

<div dir="auto"><div>Have you tried running your code on a different platform?   I \
have issues with my product on RPi4, but it uses Isochronous.</div><div \
dir="auto"><br></div><div dir="auto">Have you tried analyzing the USB packets with \
Wireshark?   I know on both Windows and macOS this can be done - I&#39;d be surprised \
if Linux couldn&#39;t do it too.</div><div dir="auto"><br></div><div dir="auto">At \
the very least, those two things with give you some sanity.   :)</div><div \
dir="auto"><br></div><div dir="auto">-Chris</div><div dir="auto"><br><div \
class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed., 29 Apr. \
2020, 1:14 am Thomas Demeillers, &lt;<a \
href="mailto:atawipcl@live.fr">atawipcl@live.fr</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
 <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"></span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Hello everyone,</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">I am new to USB and I am working on a project in which I need to \
receive data from a PIC micro-controller to a Raspberry Pi 4 with USB. The code on \
the micro-controller is already done and cannot be modified.  I can't access the \
source, but I know the basics. The device provided me with two endpoints.</span></p> \
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">I am supposed to receive USB binary frames of 512bit / 64bytes \
every 10<sup>th</sup> or 100<sup>th</sup> of a second. </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">The goal is first to receive one frame and then to try with a \
higher number of frames.</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Everything goes well until the bulk transfer which returns no \
error. The received size is matching the predicted one, but the data buffer remains \
empty.</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">I have been trying to bypass this bug for the past week.<br> \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">I have tried every modification I can think of, can somebody help \
me find mistakes in my code?</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Thank you in advance !</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Thomas</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u>  Here is the pastebin of my code in case file attachment \
doesn&#39;t work <a href="https://pastebin.com/xQdX1Xjj" \
id="m_-2144062283148277509LPNoLP422982" target="_blank" \
rel="noreferrer">https://pastebin.com/xQdX1Xjj</a><br> <u></u></span></p>
<br>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Configuration: </span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Hardware: Raspberry Pi 4</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">OS: Raspbian Lite kernel 4.19</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Libusb-1.0.23</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u>  <u></u></span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u><br> <u></u></span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">The output running the program is the following:</span></p> <p \
style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u>  <u></u></span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">The module has been detected! (id = 19780 = 4D44)</span></p> <p \
style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Dev (bus 1, device 8): 4747 - 4D44</span></p> <p style="margin:0cm \
0cm 8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Reset successful!</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Kernel driver already disconnected<span>                           \
 </span>OK</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Success </span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Data received:</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Lengh of data received: 64</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Value of the firsts characters received:<span>   </span>, , \
,</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u>  <u></u></span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><u></u>  <u></u></span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Here is the output from sudo lsusb -v -d 4747:4D44 where 4747:4D44 \
are the manufacturer and product id :</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><br> </span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Bus 001 Device 007: ID 4747:4d44<span>   </span></span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Device Descriptor:</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bLength<span>                               \
</span>18</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bDescriptorType<span>                 \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bcdUSB<span>                             \
</span>2.00</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bDeviceClass<span>                       </span>0 \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bDeviceSubClass<span>                 </span>0 \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bDeviceProtocol<span>                 </span>0 \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bMaxPacketSize0<span>                 \
</span>8</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>idVendor<span>                     </span>0x4747 \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>idProduct<span>                   </span>0x4d44 \
</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bcdDevice<span>                       \
</span>0.01</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>iManufacturer<span>                     </span>1 \
TopSecretManufacturer<span>     </span></span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>iProduct<span>                               \
</span>2 TopSecretProduct<span>         </span></span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>iSerial<span>                                 \
</span>0 </span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>bNumConfigurations<span>           \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>Configuration Descriptor:</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>bLength<span>                                 \
</span>9</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>bDescriptorType<span>                 \
</span>2</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>wTotalLength<span>             \
</span>0x0020</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>bNumInterfaces<span>                   \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>bConfigurationValue<span>   </span><span>      \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>iConfiguration<span>                   \
</span>0 </span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>bmAttributes<span>                 \
</span>0xc0</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>Self Powered</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>MaxPower<span>                           \
</span>100mA</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>       </span>Interface Descriptor:</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bLength<span>                              \
</span>9</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bDescriptorType<span>                 \
</span>4</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bInterfaceNumber<span>               \
</span>0</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bAlternateSetting<span>             \
</span>0</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bNumEndpoints<span>                     \
</span>2</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bInterfaceClass<span>             \
</span>255 Vendor Specific Class</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bInterfaceSubClass<span>       </span>255 \
Vendor Specific Subclass</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>bInterfaceProtocol<span>       </span>255 \
Vendor Specific Protocol</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>iInterface<span>                           \
</span>0 </span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>Endpoint Descriptor:</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bLength<span>                          \
</span>7</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bDescriptorType<span>                 \
</span>5</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bEndpointAddress<span>         \
</span>0x01<span>   </span>EP 1 OUT</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bmAttributes<span>                     \
</span>2</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>                   </span>Transfer Type<span>                \
</span>Bulk</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span><span>                </span>Synch Type<span>      \
 </span>None</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>                   </span>Usage Type<span>                   \
</span>Data</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>wMaxPacketSize<span>         \
</span>0x0040<span>   </span>1x 64 bytes</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bInterval<span>                        \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>           </span>Endpoint Descriptor:</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bLength<span>                          \
</span>7</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bDescriptorType<span>                 \
</span>5</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span><span>            </span>bEndpointAddress<span>    \
 </span>0x81<span>   </span>EP 1 IN</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bmAttributes<span>                     \
</span>2</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>                   </span>Transfer Type<span>                \
</span>Bulk</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>                   </span>Synch Type<span>                   \
</span>None</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>                   </span>Usage Type<span>                   \
</span>Data</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>wMaxPacketSize<span>         \
</span>0x0040<span>   </span>1x 64 bytes</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>               </span>bInterval<span>                        \
</span>1</span></p> <p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US">Device Status:<span>         </span>0x0001</span></p>
<p style="margin:0cm 0cm \
8pt;line-height:107%;font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif"> \
<span lang="EN-US"><span>   </span>Self Powered</span></p>
</div>
</div>

_______________________________________________<br>
libusb-devel mailing list<br>
<a href="mailto:libusb-devel@lists.sourceforge.net" target="_blank" \
rel="noreferrer">libusb-devel@lists.sourceforge.net</a><br> <a \
href="https://lists.sourceforge.net/lists/listinfo/libusb-devel" rel="noreferrer \
noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/libusb-devel</a><br>
 </blockquote></div></div></div>





_______________________________________________
libusb-devel mailing list
libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic