skyream / usb-travis Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/usb-travis
Automatically exported from code.google.com/p/usb-travis
[deleted issue]
Hello.
First of all I'd like to thank you for this excellent library. It is very well
documented and set up easily. All the samples compiled without any problems and
I was happy to see show-device.exe hooking up my test device (Transcend USB
flash drive). It is a pity though that the library is not cross-platform.
The only problem I have experienced so far is the hanging of one of your sample
programs.
What steps will reproduce the problem?
1. Insert USB flash drive ("test device")
2. Using Driver Install Creator Wizard specify the libusbK v 3.0.4.2 driver for
the test device (by the way, is it OK that liusbK driver has version 3.0.4.2?)
3. Run show-device.exe to get pid and vid of the test device (vid=0457,
pid=0151)
4. Run xfer-async.exe with these pid and vid
What is the expected output? What do you see instead?
I expect that the program writes something to console, maybe waits for some
time and finishes normally.
I see messages:
Looking for device vid/pid 0457/0151..
Using 0457:0151 (1B5454055201B6): USB Mass Storage Device - Silicon Integrated
Systems Corp.
Device opened successfully!
Bench_Configure failed.
Transfer #0 submitted for 4096 bytes.
Transfer #1 submitted for 4096 bytes.
Transfer #2 submitted for 4096 bytes.
At this point the program hangs. It does not respond neither to Ctrl+C nor to
Stop process requests via the task manager. I had to reboot my system to close
the console window. I should notice, however, that while I was writing this
text, another console window with the xfer-async.exe running finished. I have
started it again and can confirm that it finishes but after too long period of
time (several minutes).
What version of the product are you using? On what operating system?
libusbK installed from libusbK-3.0.5.1-setup.exe
OS: Windows 7 64 bit on HP 4510s laptop
Please provide any additional information below.
I have run the program in a debugger and found out that it hangs inside the
OvlK_WaitAndRelease call. As I understand it waits for the feedback from the
device, as specified in asynchronous mode of isochronous transfer. However,
hanging does not seem correct, because there is timeout set to 1000 ms, so the
function should have returned after this time elapsed.
Original issue reported on code.google.com by [email protected]
on 7 Jan 2012 at 7:27
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.