libusb-1.0 Questions

5

Solved

I have a USB GPIO device with some 3rd party drivers that I want to interface with in a container. Compiles, works fine on host. Also compiles, works fine in the container if I pass --device=/dev/b...
Countrywoman asked 19/12, 2018 at 14:58

5

I am having trouble getting the string descriptor of a USB device. What I'm looking for is the human friendly Manufacturer and Product names. I am using libusb-1.0 as backend and am able to get the...
Fellowman asked 10/5, 2011 at 0:19

12

Solved

I am using libusb in my android application. When I am trying to build libusb native library then I get below error message, *.so files generated. Error:Execution failed for task ':app:transform...
Means asked 6/7, 2017 at 16:13

3

I just began to use pyusb, and basically I'm playing with the sample code here. I'm using Windows7 64 bit, and downloaded the zip version from https://walac.github.io/pyusb/. Backend is libusb-1.0...
Hoot asked 12/8, 2015 at 8:49

3

So I installed Pyusb 1.0.0-alpha-1 Under Windows, I cannot get any handles to usb devices. >>> import usb.core >>> print usb.core.find() None I do have 1 usb device plugged in(...
Tan asked 22/3, 2011 at 0:17

5

Solved

I'm writing a C/C++ application in NetBeans based on libusb-1.0 on Ubuntu 12.04. I can get basic information from the USB device (for example, the interface description) but I am not able to open t...
Vaccaro asked 28/3, 2014 at 13:10

3

Solved

I've got a compound USB + CDC device I built using a PIC32 microcontroller, and I'm trying to connect to the device and send some data to the CDC data interface endpoint from my Mac. I know the ci...
Leveille asked 27/11, 2013 at 21:24

3

Solved

I have try to get data from device (USB thermometer), following this documentation, but I have not any result. For getting themperature data from device, I should send the data like that 'd\n'. Thi...
Richella asked 27/3, 2014 at 17:59

3

Solved

I have installed pkg-config and libusb through brew Now if I do pkg-config --cflags --libs libusb I get below message Package libusb was not found in the pkg-config search path. Perhaps ...
Jezabel asked 12/4, 2016 at 16:2

1

Solved

USB standard mentions writing "zero-length" packets in some scenarios. Can anyone please explain what is the meaning of "zero-length" packets in USB terminology ? What is "short packet" ? (seems ...
Gypsy asked 25/2, 2018 at 15:45

1

Solved

I am trying to build libusb using the NDK. Here is my Android.mk and Application.mk I have checked this thread Android NDK: No rule to make target but it didn't work for me. Android.mk include $(...
Cormac asked 6/7, 2017 at 10:41

2

Solved

I have just changed to Fedora 20 and I am trying to get used to it and to learn it. Before I have only worked with ubuntu so there are some new things for me. I have tried to compile openni_master...
Universally asked 7/2, 2014 at 8:25

1

Solved

I've been developing an application that monitors the USB device tree using libusb_hotplug_register_callback(). When a device that matches some criteria is attached, it will fork() and exec() an ap...
Megathere asked 9/2, 2017 at 19:13

1

Solved

Overview I've ported a web application to .NET Core and I'm finding that it's able to communicate with a microcontroller over USB when running on Windows but not when running on Linux. I'm trying ...
Bignoniaceous asked 12/1, 2017 at 10:30

3

Solved

I'm learning to use libusb v1.0.0 for the first time on Ubuntu 12.10. Here is some small test code I'm using to try and understand how to use this API: #include <libusb-1.0/libusb.h> ... lib...
Tandy asked 6/2, 2013 at 5:15

4

Solved

I am trying to get a USB device to connect to an Android 5.1.1 device. Previously I had been using regular libusb for KitKat, but Lollipop has increased security and this no longer works. This is ...

1

I've searched for hours with no avail. I've seen it everywhere that libusb_detach_kernel_driver isn't supported on Mac OS X, but I haven't been able to find a patch or alternative for it. libusb_c...
Guff asked 27/2, 2013 at 0:39

1

I'd like to use libusb in my Android app (java GUI + native(C++) core). I have already compiled libusb and tried calling its functions, but libusb_open return LIBUSB_ERROR_ACCESS. I suppose there i...
Lujan asked 19/9, 2011 at 10:30

3

I'm trying to use libusb, but I am get the following error message: usbfs: process 24665 (myprogram) did not claim interface 0 before use I don't really understand why, because as far as I can...
Caucasus asked 18/6, 2012 at 18:18

1

Solved

I am writing a small program to communicate with a specific USB HID product (identified by vendor and product IDs), using libusb-1.0 on Linux. Right now, I have to run the program as root because "...
Brazen asked 29/11, 2010 at 4:20
1

© 2022 - 2024 — McMap. All rights reserved.