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
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

libmtp do not build with the HAVE_USB1 flag on MacOSX

I'm currently trying to build the libmtp version 1.1.8 using the lib usb-1 (1.0.19) and usb-compat(0.1.5) on mac OS X to generate a dynamic lib. I'm not sure if libmtp really support USB1 lib mainly because I have an issue in building libusb-glue.c.…
Seb
  • 2,929
  • 4
  • 30
  • 73
0
votes
1 answer

pyusb ValueError: No backend available bar code scanner

I'am trying to take over an barcode scanner using pyusb and pyusb-keyboard-a-like. I have a system running win7. I have installed usb drivers with libusb-win32 both filter and inf-wizard. my code looks like this: from keyboard_alike import…
0
votes
1 answer

USB blackberry TX and RX buffer size

I am working with Blackberry 10 os (Q5 mobile),trying to write and read over USB (/dev/aap0) file,I could not transfer packets of size 512 bytes but successfully transferred 16KB (512*8*4) both from and to Blackbery(its purely experimental,…
user2910111
  • 342
  • 2
  • 3
  • 11
0
votes
1 answer

SmartCard reader: Building libccid

I am trying to build libccid, pcsclite and libusb together on a fedora 20. I have been able to compile and build libusb and pcsclite. However, while building libccid, I get the following error in the build log: copy the src/92_pcscd_ccid.rules file…
ap6491
  • 805
  • 1
  • 10
  • 26
0
votes
1 answer

Read ASCII 8-bit data from a device plugged in USB port in C#

I have a Electronic balance device which is plugged in to a USB port. The output is continuous at all times, and I can read it by LibUsbDotNet in C#. Transmission codes are ASCII 8-bit codes. And other device information is: start bit:1bit, Data…
Hamid
  • 817
  • 1
  • 13
  • 29
0
votes
1 answer

LibUsbDotNet SymbolicName Error

i can't read out the SymbolicName from the LibUsb. This is some example code: static void Main(string[] args) { var devs = UsbDevice.AllDevices; foreach (UsbRegistry usbRegistry in devs) { String name =…
Richy1989
  • 97
  • 7
0
votes
0 answers

Android and libusb. How to access USB?

I try to use libusb in my Android project. I can use some libusb functions (such as libusb_init, libusb_get_device_list, etc.), but when I try to execute libusb_open I get LIBUSB_ERROR_ACCES. I have performed the all tips from the libusb…
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 to display the volume name automatically on windows/linux

I am writing a USB driver to a product which is basically a USB pen drive. Upon connecting the product to the usb port, I want to see the drive name/volume name as "XXXX Corporation". I see that by default it always gets shown as "Removable Disk" in…
0
votes
1 answer

Maven mvn install on javax-usb-libusb1, I get this error

Running WINDOWS 7 but ran into same problem on Ubuntu 14.0.4 Very possible given my limited experience with these sorts of things that I am doing something very wrong. I was trying to build the LibUSB directory using the suggestion of running mvn…
Will
  • 3,413
  • 7
  • 50
  • 107
0
votes
0 answers

Initiation of the USB port for serial communication whiteout using the hyper terminal

I am trying to initiate serial communication from the code below. The problem however is that I have to open the hyper terminal with the same settings and then close it, Before running the code below inside another program written in C for the code…
Henrik
  • 405
  • 1
  • 8
  • 19
0
votes
1 answer

I try to use usblib in Dev-c++, but get "undefined reference"?

I am trying to use libusb for an c++ application, but I get the error: "Undefined reference" for all libusb functions. "undefined reference to 'usb_init' "undefined reference to 'usb_find_busses' and so on.. Clearly I have a not linked properly…
Jolle
  • 1,336
  • 5
  • 24
  • 36
0
votes
0 answers

Errors in core.obj file while linking libusb in Qt 5.0.1

I'm trying to link libusb in Qt 5.0.1 on windows 7 Here is my .pro file QT += core QT -= gui TARGET = USB01 CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp win32: LIBS +=…
user3079474
  • 1,653
  • 2
  • 24
  • 37
0
votes
1 answer

Using third-party libraries (libusb), how to install and use?

I have never had to use libraries other than ones that I have created, and even then I have simply copied the source files into the same directory as the remainder of the project. What are the steps to install and use libusb? I know that it is…
sherrellbc
  • 4,650
  • 9
  • 48
  • 77