On Wed, Aug 8, 2012 at 7:41 AM, Pete Batard <p...@akeo.ie> wrote:
> All,
>
> If you have some interest with regards to libusb-win32 and libusbK
> driver support, you may want to have a look at the new 0K ("zero K")
> branch from the pbatard/libusbx repo on github [1].
>
> I have now pushed a patch that adds libusb0.sys and libusbK.sys support
> there, for testing.
>
> To fetch the branch:
>
>   git clone git://github.com/pbatard/libusbx.git libusbx-pbatard
>   cd libusbx-pbatard
>   git checkout 0K
>
> Note that because the branch is not off mainline, but off a personal
> libusbx repo, you must go through a new clone.

I carried out some testing using libusbk driver and xusb as well
as libusbdotnet and it seems to work fine. I will test the libusb-win32
device driver and filter driver later. I got some free time now since
Olympic is over. :-)

Example run of libusbdotnet using libusb-1.0.dll (from 0K branch)
with the benchmark firmware (tested sync mode and async mode).

C:\work\libusbdotnet\bin>benchmarkcon list verify driver=libusb10
LibUsbDotNet USB Benchmark v2.2.8.104
Copyright (c) 2010 Travis Robinson. <libusbdot...@gmail.com>
website: http://sourceforge.net/projects/libusbdotnet
1. 04D8:FA2E Travis Robinson - Benchmark Device
2. 80EE:0021 VirtualBox - USB Tablet

Select device (1-2) :1

Benchmark device 04D8:FFFFFA2E opened..
Loop Test Information
        Vid / Pid       : 04D8h / FFFFFA2Eh
        Interface #     : 00h
        Priority        : Normal
        Buffer Size     : 4096
        Buffer Count    : 1
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : On

Bulk Read (Ep81h) max packet size: 32
Bulk Write (Ep01h) max packet size: 32

While the test is running:
Press 'Q' to quit
Press 'T' for test details
Press 'I' for status information
Press 'R' to reset averages

Press 'Q' to exit, any other key to begin..
Avg. Bytes/s: 265422.05 Transfers: 61 Bytes/s: 265422.05
Avg. Bytes/s: 264903.51 Transfers: 125 Bytes/s: 264411.17
Avg. Bytes/s: 264326.85 Transfers: 190 Bytes/s: 263224.92
qAvg. Bytes/s: 264348.09 Transfers: 254 Bytes/s: 264411.17
stopped Ep81h thread.
stopped Ep01h thread.
Loop Test Information
        Vid / Pid       : 04D8h / FFFFFA2Eh
        Interface #     : 00h
        Priority        : Normal
        Buffer Size     : 4096
        Buffer Count    : 1
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : On

Bulk Read (Ep81h) max packet size: 32
        Total Bytes     : 1044480
        Total Transfers : 255
        Avg. Bytes/sec  : 264045.09
        Elapsed Time    : 3.96 seconds

Bulk Write (Ep01h) max packet size: 32
        Total Bytes     : 1044480
        Total Transfers : 255
        Avg. Bytes/sec  : 264045.09
        Elapsed Time    : 3.96 seconds

Press any key to exit..


C:\work\libusbdotnet\bin>benchmarkcon list verify mode=async buffercount=2 drive
r=libusb10
LibUsbDotNet USB Benchmark v2.2.8.104
Copyright (c) 2010 Travis Robinson. <libusbdot...@gmail.com>
website: http://sourceforge.net/projects/libusbdotnet
1. 04D8:FA2E Travis Robinson - Benchmark Device
2. 80EE:0021 VirtualBox - USB Tablet

Select device (1-2) :1

Benchmark device 04D8:FFFFFA2E opened..
Loop Test Information
        Vid / Pid       : 04D8h / FFFFFA2Eh
        Interface #     : 00h
        Priority        : Normal
        Buffer Size     : 4096
        Buffer Count    : 2
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : On

Bulk Read (Ep81h) max packet size: 32
Bulk Write (Ep01h) max packet size: 32

While the test is running:
Press 'Q' to quit
Press 'T' for test details
Press 'I' for status information
Press 'R' to reset averages

Press 'Q' to exit, any other key to begin..
Avg. Bytes/s: 275637.86 Transfers: 62 Bytes/s: 275637.86
Avg. Bytes/s: 273380.43 Transfers: 129 Bytes/s: 271324.14
Avg. Bytes/s: 273604.64 Transfers: 196 Bytes/s: 274037.39
Avg. Bytes/s: 273714.76 Transfers: 263 Bytes/s: 274037.39
Avg. Bytes/s: 273505.34 Transfers: 329 Bytes/s: 272674.02
Avg. Bytes/s: 273133.84 Transfers: 396 Bytes/s: 271324.14
Avg. Bytes/s: 273264.22 Transfers: 463 Bytes/s: 274037.39
Avg. Bytes/s: 273190.44 Transfers: 529 Bytes/s: 272674.02
Avg. Bytes/s: 272979.36 Transfers: 596 Bytes/s: 271324.14
Avg. Bytes/s: 273085.91 Transfers: 663 Bytes/s: 274037.39
Avg. Bytes/s: 273172.96 Transfers: 730 Bytes/s: 274037.39
Avg. Bytes/s: 273131.52 Transfers: 796 Bytes/s: 272674.02
Avg. Bytes/s: 272990.34 Transfers: 863 Bytes/s: 271324.14
Avg. Bytes/s: 273065.51 Transfers: 930 Bytes/s: 274037.39
qAvg. Bytes/s: 273130.60 Transfers: 997 Bytes/s: 274037.39
waiting for Ep81h thread..
stopped Ep81h thread.
stopped Ep01h thread.
Loop Test Information
        Vid / Pid       : 04D8h / FFFFFA2Eh
        Interface #     : 00h
        Priority        : Normal
        Buffer Size     : 4096
        Buffer Count    : 2
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : On

Bulk Read (Ep81h) max packet size: 32
        Total Bytes     : 4087808
        Total Transfers : 998
        Avg. Bytes/sec  : 273038.80
        Elapsed Time    : 14.97 seconds

Bulk Write (Ep01h) max packet size: 32
        Total Bytes     : 4087808
        Total Transfers : 998
        Avg. Bytes/sec  : 273038.80
        Elapsed Time    : 14.97 seconds

Press any key to exit..

> For testing, you may also want to install the libusb-win32 and libusbK
> drivers, in which case you can use the latest Zadig, released today, and
> that include support for libusb0.sys v1.2.6.0 & libusbK v3.0.5.16 RC
> (Will K 3.0.5 ever go out of RC?).

I will check with Travis. Our original plan is to release libusbK once
there are no fresh bug report within one month.

> As usual, Zadig can be downloaded at [2].

For the benefits of other users, you can use libusbK's driver
install program to install libusb-win32 device driver, winusb driver
and libusbk driver as well.


-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to