Questions tagged [libusb]

libusb is a library that gives user level applications uniform access to USB devices across many different operating systems.

libusb is a library that gives user level applications uniform access to USB devices across many different operating systems. It's is an open source project licensed under the GNU Lesser General Public License.

There are two versions of the libusb API: the current libusb-1.0 API, and its legacy predecessor libusb-0.1. Please use libusb-1.0 for all new development.

861 questions
0
votes
0 answers

Can't run libusb on windows QT

Development evnironment: Qt Creator 4.0.2 Основан на Qt 5.7.0 (MSVC 2013, 32 бита) Operating system: WIndows 7 x64 Error: :-1: ошибка: No rule to make target 'libusb-win32-bin-1.2.6.0/lib/gcc/libusb.a', needed by 'debug\TestUsb.exe'. Stop. I want…
murzagurskiy
  • 1,273
  • 1
  • 20
  • 44
0
votes
1 answer

What's the procedure to stream a libuvc code in a gtk window?

Im currently working on linux. Im given a task to code in C using libuvc to stream a video from a USB camera to the window using GTK. I'm getting the out from the uvc_frame_t but I have a problem in streaming it in gtk window. Can someone help?
Madhu Soodhan
  • 160
  • 1
  • 10
0
votes
2 answers

Memory leak synchronous reading interrupt transfer data via libUSB

I discovered a memory leak reading data via USB interrupt transfer using libUSB synchronously. My simple user program is not using any dynamic memory allocation itself. Internally libusb makes excessive use of dynamic memory allocation. The…
Jonny Schubert
  • 1,393
  • 2
  • 18
  • 39
0
votes
1 answer

Win10 USBSER Device Hardware Descriptors

I'm using USB Class02/SubClass02 on my embedded device to make use of the Windows10 build in USB COM port drivers (usbser.sys / mdmcpq.inf). My device provides manufacturer/device descriptors, but i have found that Win10 does not seem to use them as…
thecoder
  • 55
  • 8
0
votes
1 answer

open cash drawer using java wthont printer

H all, I'm making a software in the Java standard edition and this application will have a cash drawer with adapter usb, but I have no idea how to open the cash drawer to give the returns from java. I need your help .. Thanks e cash drawer in java…
0
votes
0 answers

using libusb with embeded system linux based

i'm using libusb in intel edison board lsusb command shows the usb device but when i try to run the code I get this error: root@admin:/root# ./out Error finding USB device here is lsusb command output: root@admin:/root# lsusb Bus 002 Device 001: ID…
0
votes
0 answers

Using libusb.c without success

I am using Dev-C++. I try to list my usb connected devices. I downloaded a lib called libusb-1.0.21.tar and untar it. I tried to test some of the examples that came with it (testlibusb.c) but I always get errors like "undefined reference to…
0
votes
1 answer

connection resets when using set_configuration in PyUSB

I've recently updated my android phone to Marshmallow. Unfortunately for me, that broke my python code. using PyUSB, I can get the device to enter accessory mode. Unfortunately, I can no longer read/write to the device, as now using…
user1999728
  • 913
  • 1
  • 8
  • 25
0
votes
1 answer

Libfreenect2 USB connection failure

I have been trying to get the libfreenect2 library up and running on my Windows 10 machine and I have run into an issue that I can't get past. I have build the library and it's examples. The issues I have is when I go to run the "Protonect" example…
Wired365
  • 199
  • 1
  • 13
0
votes
0 answers

libusb bulk read returning same aswer everytime

I am running the program below which works with some of my devices, but in three of them after init, open, claim and bulk (write) to work OK, my bulk (read) is returning 0x01 0x60 in my answer buffer. Actually it doesn't matter what I send; after…
0
votes
2 answers

Access user's USB-connected peripheral/device over the internet on an ASP.NET web application

I was wondering, is it possible to take control of an end-user's USB-connected device or peripheral from an ASP.NET web application via C# with the libUsbDotNet library? In other words, be able to control certain functions of USB devices from a…
Qcom
  • 18,263
  • 29
  • 87
  • 113
0
votes
1 answer

libusb can't get device handle

#include #include #include #include #include #include #include "libusb.h" #include "resource.h" int main(int argc, char *argv[]) { libusb_device *dev; int i = 0, j = 0; …
andrius
  • 96
  • 2
  • 10
0
votes
1 answer

How to setup libusb with Qt on Mac Os X? (trying a cross-platform approach)

I'm triying to setup "libusb" on Qt 4.2.1 (Qt Creator 5.8) QML proyect. I really want to understand what to do after downloading the Lib, i have all the files but i don't know if i have to installed them on my system first or use them by just link…
Matata
  • 1
0
votes
2 answers

pyusb - [Error 5] on Linux, but not Windows

I'm trying to communicate with an AD9913 evaluation board (Analog Devices), which has a Cypress FX-2 USB controller. I wrote a fully functional Python library which works flawlessly on Windows 7 (using a driver generated through…
IonicSolutions
  • 2,559
  • 1
  • 18
  • 31
0
votes
1 answer

Pyusb on Windows 7 - NotImplemented Error :is_kernal_driver_active

I am using escposprinter python library for printing my data in thermal printer. It depends on pyusb. the library is working fine in linux . While in windows 7 ,i get the it have some issues. Here are output i get. File "main.py", line 1, in…
Sathish Kumar
  • 547
  • 6
  • 17