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

libusb crash when run as non root user

backtrace : Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bca558 in add_to_flying_list (transfer=0x6527b0) at io.c:1364 1364 struct libusb_context *ctx = ITRANSFER_CTX(transfer); (gdb) bt 0 0x00007ffff7bca558 in…
chenna
  • 159
  • 1
  • 4
  • 14
0
votes
1 answer

Getting errors in libusb

I use libusb-1.0 for communication with the device. int rc=libusb_init(NULL); Q_ASSERT_X(rc == 0,"initialization","---libusb is not initialized----" ); libusb_set_debug(NULL, 3); m_handle = libusb_open_device_with_vid_pid(NULL, VID, PID); if…
Timur
  • 95
  • 2
  • 12
0
votes
1 answer

Failed to compile libusbx during Android make

I am trying to compile CM 12.1 for my device. While building, I get below error. I have libusb-1.0-0-dev installed also. What am I missing? If I compile only 1 file with cflags,I am able to get the .o file but while building whole code, how do I…
Siju
  • 2,585
  • 4
  • 29
  • 53
0
votes
1 answer

Difficulty installing python modules after installing anaconda

I just started working with anaconda. Earlier I was working with Python 2.7 on my system. I was writing a script for devices connected to my laptop via usb. For this, I needed the usb module/package. I initially tried doing in Python 27. I installed…
user3004790
  • 748
  • 7
  • 10
0
votes
0 answers

libusb: What is the source of these read errors?

I am sending the English alphabets with one second delay from an Arduino to my laptop: void loop() { delay(1000); Serial.write('N'); } I am trying to catch and print the alphabets from a C++ program using libusb. Here is the relevant…
daltonfury42
  • 3,103
  • 2
  • 30
  • 47
0
votes
1 answer

Data transfer between two applications using libUSB (host and target model)

I am trying to find a way to send and receive data over a USB connection connected using a cable. The idea is: A service/command line application will be running on target system, receives commands, and send data for the command. A GUI application…
Venu
  • 1
0
votes
1 answer

Linking errors with libusb, wxWidgets, and MSVC 2013

I'm working on a utility for a USB device which uses wxWidgets in C++ to display a GUI. I'm trying to link libusb (which I precompiled with MSVC 2013) to the project. I made a simple window based off of the "minimal" example. Everything is fine…
neptune798
  • 141
  • 1
  • 3
0
votes
1 answer

Wrong data transfered via USB control transfer in Linux/Mono

We have a USB device here which has a EZ-USB FX chip on it and we "talk" to it via libusb-1.0 using LibUsbDotNet. Using Windows everything works fine, but using Mono 3.12.1 under Ubuntu 14.04 it does not work. I did some investigation and testing…
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
0
votes
1 answer

Libusb - ubuntu - Psoc5. libusb_open_device_with_vid_pid return 0

I am working on a power engineering project on 4th semester, and programming isn't my strong side. I've been working on using libusb for communication between a PSoC 5 and a Linux terminal program written in C++. The terminal code is: The problem is…
0
votes
4 answers

How do I link a simple example project to libusb?

I'm trying to make use of LibUSB to interact with a small programmable LED device I've built. I have working code on Windows using the libusb-win32 port but I'm having trouble porting this to the MAC. I've cloned LibUSB to a local git repository and…
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
0
votes
1 answer

Why is libusb 1.0.9 still a very popular download on SourceForge?

So, wanting to access a USB device from python on Windows, I've spent the morning searching the web and it seems that the most popular, comprehensive and up to date (as of late 2014) combo is PyUSB (1.0.0-beta-2) on top of libusb-1.0 (1.0.19). In…
Richard Lang
  • 456
  • 4
  • 15
0
votes
1 answer

Why does libusb_open always returns LIBUSB_ERROR_NOT_SUPPORTED on Windows 8?

I am trying to use OpenOCD on Windows 8 with x64 architecture. I installed WinUSB driver via Zadig. I tried to run OpenOCD with administrator privileges, and also I disabled Windows 8 driver signature enforcement during WinUSB installation. Whenever…
albin
  • 773
  • 1
  • 8
  • 27
0
votes
0 answers

run time/memory error using sample of libusb on mingw

I found this (http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/) libusb example and built it in eclipse, but I keep getting a runtime error (Exception Code: c0000005). I linked it with a 1.0.17 that I had built earlier,…
user1404617
  • 585
  • 1
  • 5
  • 20
0
votes
1 answer

How do I link to libusb which has been built from source instead of the system library?

I know my question is rather basic, and I'm a little embarrassed to have to ask. So I'm having some trouble using VRUI with my Oculus Rift, and Im having USB problems, so for a sanity check I downloaded the source for libusub-1.0.19-rc2 and am…
0
votes
2 answers

C++ USB communicate with USB Composite Device (usbccgp.sys)

I'm using C++ and libusb-win32 to try and communicate with a commercial USB device ... I don't know much about USB programming, but I want to send some commands to the device that I know from using a sniffer program. Libusb-win32 seemed OK, but it…
jdex
  • 1,279
  • 1
  • 13
  • 20