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
-1
votes
1 answer

Sending Hex code using pyusb

I have been trying for 4 days now to send the hex code 10 80 00 00 00 00 00 00 to a USB device connected to my raspberry pi running debian. I've tried libusb with c but I have no idea what I am doing. I thought PyUSB would be a better solution but…
user1910155
  • 1
  • 1
  • 1
-2
votes
1 answer

struct define in C?

Sometimes we meet "struct xxxx;" in C file, take libusb.h which is the header file of libusb.so as example, as shown below (struct libusb_device): struct libusb_context; struct libusb_device; struct libusb_device_handle; What does this…
-2
votes
1 answer

Transferring data from STM32F407 to libusb through USB CDC class

I'm working on the project in which I should transfer data from a microcontroller to a PC with the USB protocol. I am working with the STM32F407 microcontroller for transferring data to a PC with the USB Protocol. I am using libsub for transferring…
-2
votes
1 answer

Is it possible to transfer a file to USB device using libusb?

I am trying to transfer the file via libusb to the USB device (pendrive). I have seen submit_bulk_transfer function in libusb-1.0.6 package. If there is a way to transfer the file then can you please suggest me. I want to transfer the file not as…
Geek
  • 9
  • 3
-3
votes
1 answer

No COM port is being assigned to my USBasp AVR programmer

I'm trying to program a ATMMEGA32 using a USBasp programmer. when i plug in the programmer, it appears among 'USB devices' in device managment but it does not exist in Ports tab. how can i assign a COM port to my programmer ? (source: imgurl.ir)
Sadra Nasiri
  • 5
  • 1
  • 4
-3
votes
1 answer

Downloading USB firmware

I am currently trying to use LibUSB to directly access the firmware controller on a USB device. How do I directly download firmware off a USB device so it can be modified later (using either the SCSI commands or the LibUSB library)?
1 2 3
57
58