Library to enable user space application programs to communicate with USB devices

Project Activity

See All Activity >

Follow libusb

libusb Web Site

Other Useful Business Software

No Barriers. Get FREE Solutions for Developers! No Barriers. Get FREE Solutions for Developers! Icon
No Barriers. Get FREE Solutions for Developers! Icon

3 million developers use our tools to easily code cross-platform Apps that are fast to design, fast to deploy, and deliver fast performance.

Take the complexity out of developing and deploying native apps. Choose from our REST Debugger, C++ Compiler, or our streamlined Starter Edition Delphi or C++ IDEs with code editor, integrated debugger, visual designer and hundreds of visual components. Get started today with our four complimentary developer tools -- no credit card or commitment required.

Rate This Project

Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
10
3
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • Great lib to interact with usb ports in unix-like operating systems

  • I was able to use this to write Visual C++ 2008 code on Windows 7 that talks to a FadeCandy to control my Christmas tree lights. It was easy to download and write working code, thanks! Suggestions include: 1) libusb.h has three structs with arrays with 0 elements. This causes compiler warnings as VC++ 2008 doesn't define __STDC_VERSION__. Is there a reason these cannot be defined as having one element? 2) since most functions return a return code into an int, it requires a cast to call libusb_strerror() without a warning or error. Is it not possible to simply have this function accept an int arg? 3) the documention is copious but I would have benefitted from an overview of USB, such as what "configurations" and "endpoints" are. 4) initial projects also seem to go much faster with good hello-world examples. listdevs.c was great for finding the device I needed, but it took a while to figure out that libusb_claim_interface() wasn't needed. I found some step-by-step instructions on how to call _open and _free_device_list, for instance, that didn't go on to state that I then had to claim an interface before using it.

  • 5

  • HI, Can I use this Libusb for CDC communication for WEC2013? Is it possible ..if yes let me know how to do the same. Regards, Satyajit

  • Hi, Good library to work around usb devices. But, lsusb command shows devices that are detected early but currently disconnected. I connected a usb printer. lsusb showed the device correctly. But the same messages are shown even after disconnecting the device. Any work around or solution for this

Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Developers, End Users/Desktop

Programming Language

C

Registered

2000-01-20