libusb Questions
14
I'm trying to have my Python application interface with an NFC device via USB.
The best option seems to be PyUSB, but I can't get it to connect to the libusb backend.
I keep getting
ValueError: No...
4
Solved
How can i get USB device file path correctly in Linux.
I used command: find / -iname "usb" and got the result as below:
/dev/bus/usb
/sys/bus/usb
/sys/bus/usb/drivers/usb
/sys/kernel/debug/usb
U...
Sheley asked 15/10, 2015 at 5:47
1
The problem is that we are using an HDMI capture device to renderer frame and audio.
The device uses UAC protocol which is registered as an input audio device and selected as the default source of ...
7
I have a C program that have #include part in the header.
I have download libusb-1.0.0 to my computer. If I simply copy libusb-1.0.0 folder to the folder where my C program is, it will not work. T...
7
Solved
How can we query connected USB devices info in Python?
I want to get UID Device Name (ex: SonyEricsson W660), path to device (ex: /dev/ttyACM0)
And also what would be the best Parameter out of abov...
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
4
Solved
I'd like to try to make a user-space device driver using libusb on Mac, but I'm confused where to start. In the SDK installer (which I got from http://www.ellert.se/twain-sane) it said something ab...
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
2
Solved
I was wondering if it could be possible to control the power of usb ports in Python, using vendor ids and product ids. It should be controlling powers instead of just enabling and disabling the por...
1
I am trying to set alternate setting for the USB HUB device which has 5 interfaces.
Following are the configurations for each interface.
1. Ifs= 5 Cfg#= 1 Atr=c0 MxPwr= 2mA A: FirstIf#= 0 IfCount...
5
Solved
I have been developing USB drivers using LibUSB on Linux, but now I want to have one of my drivers compiled for Windows (this is the first time I am doing it).
My environment
I am working on Window...
Wakerife asked 27/6, 2013 at 18:1
1
I am trying to connect with Python to my USB devices.
The final result should be a connection to my Blood Pressure Monitor but I am failing already to connect to ANY device.
My simple code - which ...
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
2
Solved
I would like to use Iterator::find on libusb::Devices object, which has a signature like so:
fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, P: F...
2
I am trying to communicate with USB device from Android-based smartphone via OTG. I was able to communicate with my device using Android USB Host API. The problem of USB Host API solution is perfor...
Obeisance asked 30/4, 2013 at 14:24
1
Solved
I am working on migrating a codeless KEXT to DriverKit. It is used to disable the IOKit HID driver for USB devices that present themselves as HID compliant in firmware upgrade mode.
So far I have ...
Amarette asked 6/5, 2020 at 9:22
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
Suppose I have a libusb program that just uses the hotplug API. You register a callback and then apparently have to call libusb_handle_events() in a loop which then calls your hotplug callback.
in...
Precautionary asked 14/8, 2017 at 10:40
5
Solved
This is an updated and shortened question.
Communicating with a USB-device should be easy via PyUSB. So, I'm trying to read from a USB-device (oscilloscope) using PyUSB under Win10. Apparently, th...
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
2
1
Solved
3
How do I most properly use libusb to talk to connected USB devices?
Specifically, how do I transfer data to the USB devices, receive information from the devices, find out the name of the connecte...
3
I'm writing user-space program that is intended to control some device via usb so I decided to use libusb (libusb-1.0) to send control messages to and receive responses from that device.
But I con...
0
This is my first post, and I kind of have seen that the more specific the better, so I'll try to be super clear, and thanks in advance!
What I want:
I need to scan images from 2 or more scanner...
Hartman asked 9/10, 2018 at 10:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.