Questions tagged [libusb-1.0]

There are two versions of the libusb API: the current libusb-1.0 API, and its legacy predecessor libusb-0.1. libusb-1.0 is an almost-rewrite of the previous stable branch, libusb-0.1. It is a lightweight library that can be efficiently integrated into applications of any kind, with several new features.

There are two versions of the libusb API: the current libusb-1.0 API, and its legacy predecessor libusb-0.1. libusb-1.0 is an almost-rewrite of the previous stable branch, libusb-0.1. It is a lightweight library that can be efficiently integrated into applications of any kind, with several new features.

libusb-1.0 development is being lead by Peter Stuge.

Links

211 questions
0
votes
1 answer

How to add libusb in Microsoft Visual studio 2013

I am using Microsoft Visual Studio 2013, how can I add the external library libusb to my project?
prabhu
  • 11
  • 1
  • 4
0
votes
0 answers

Register libusb for pkg-confg

I want to compile the lm4flash tool for my Stellaris Launchpad, but when I run the make command, it returns an error, because libusb 1.0 isn't installed. How can I register the libusb library on pkg-config (I only have the bare dev-library you can…
Turakar
  • 180
  • 2
  • 13
0
votes
0 answers

libusb c++ string descriptor with unicode support

I'd like to use libusb to retrieve information about my devices. I can read every descriptor and print every number associated inside theese descriptors. But I have troubles with the strings. How can I manage the string descriptors in a good way…
user2714602
  • 231
  • 4
  • 16
0
votes
0 answers

sometimes Callback is not happening in USB isochronous transfer

I am trying to receive a transport stream over a cimax usb interface on cindrella board. I am using libusb for accessing the device. Problem is sometimes the callback function is not getting called and it shows device detached.
Sourav Singh
  • 99
  • 2
  • 6
0
votes
1 answer

Using libusb async bulk transfer, device stops receiving if we go idle

I'm writing a Linux program (using Qt 4.8 and libusb 1.0) which will communicate with a custom USB device (currently being programmed by a co-worker). Step 1 is to have a "heartbeat" going back and forth over USB at regular intervals. I'm currently…
Doug
  • 131
  • 6
0
votes
1 answer

libusb dereferencing pointer to incomplete type

I know there are a lot of questions up about this issue, but specifically I'm having trouble with an implementation of the libusb library on Ubuntu. Here is my code: struct usb_bus *busses; struct usb_bus *bus; struct usb_device *digiSpark =…
eatonphil
  • 13,115
  • 27
  • 76
  • 133
-1
votes
1 answer

Libuse for communication through C232HM

I have a problem with communication with Atmega644P. I am using C232HM Cable and avrdude. Unfortunately, every attempt of communication ends with the following comment from the command prompt: avrdude: Error: no libftdi or libusb support. Install…
Szeryf
  • 1
-1
votes
2 answers

Compiler Error while using libusb.h

I am writing a program in QT in C++. I am using the library libusb.h. Below is my code - libusb_device **devs; libusb_device_handle *dev_handle; libusb_context *ctx = NULL; int r; ssize_t cnt; r = libusb_init(&ctx); if(r < 0) { …
P.Wujek
  • 1
  • 1
-1
votes
2 answers

Compiling with libusb?

No matter what I run I get, ./main.c:1:10: fatal error: libusb.h: No such file or directory #include "libusb.h" ^~~~~~~~~~ compilation terminated. Things tried gcc ./main.c -l/usr/include/libusb-1.0/ gcc ./main.c -l/usr/include/ gcc…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
-1
votes
1 answer

libusb cross compiling for raspberry pi3 on ubuntu

Steps I followed to cross compile the libusb-1.0.9 to use with already cross compiled QT5 for raspberry pi3. I have the libusb1.0.9 folder located at /home/yasir/Development/crosscompile/libususb-1.0.9 mounted image of raspberry pi3 at …
yasirateeq857
  • 19
  • 1
  • 6
-1
votes
2 answers

PyUSB ValueError: No Backend available on windows 7. windows is detecting the device while pyusb is not detecting

I have tried all possible ways but not able to get out this error.Did anyone sorted out this problem? >>> import usb.core >>> import usb.util >>> dev=usb.core.find(idVendor=0x04D8) Error I'm getting is: Traceback (most recent call last): File…
dinece
  • 113
  • 1
  • 2
  • 12
-1
votes
1 answer

libusb: failed to get configuration descriptor on Android

I'm debugging opening a device on Android (permission granted in Android code and file descriptor received from connection.getFileDescriptor()) using libusb-compat and libusb-1.0, and I'm getting an error: 07-30 11:24:15.673: WARN/System.err(8934):…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
-2
votes
1 answer

How does one install man pages for C libraries on Linux?

I recently installed libusb-1.0-dev in Debian, but I noticed that I can't find any of the functions in the man pages. I've had a similar experience when installing SDL2 and other common libraries before. However, I can't find any information on…
James M. Lay
  • 2,270
  • 25
  • 33
-2
votes
1 answer

LibUsbDotNet does not list USB printer

I have this code in my C# program: UsbRegistry reg = null; if (productId == 0) reg = UsbDevice.AllDevices.FirstOrDefault(d => d.Vid.Equals(vendorId)); else reg = UsbDevice.AllDevices.FirstOrDefault(d => d.Vid.Equals(vendorId) &&…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
-2
votes
1 answer

Program sample QT using libusb1.0?

I'm debuting in qt/c++, i use ubuntu os. I search of a program sample which help me to use libusb1.0 with qt. The program should: Display usb devices connected, read/write data from/to an usb device. Please i need you help. Thanks && Regards
1 2 3
14
15