pyusb 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...
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
5
Solved
I want to write program with python which can get input from scanner and save as jpg.
I don't have any idea how to start.
please help.
Squirearchy asked 26/3, 2013 at 6:52
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...
3
I am currently working on PyUSB. As I am new to USB, I don’t know, how can I do the following.
I have successfully connected to my USB Device hardware from Python PyUSB. In the code I required to ...
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 implement the read and write calls of the python hidapi, in pysub.
An example code using the python hidapi, looks like this:
import hid
hdev = hid.device()
h = hdev.open_path( path...
2
Solved
I am trying to send data to a usb stick using the python library PyUSB. The code I am using is the following:
import usb.core
import usb.util
# find our devices
#dev = usb.core.find(idVendor=0xff...
Myronmyrrh asked 25/2, 2013 at 19:0
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...
2
3
I am runing Python 2.7.8 at Win 7 operation system. I am trying to communicate a USB device (Numato 32 channel GPIO device) by PyUSB.
I downloaded walac-pyusb-7071ad3 from URL: http://walac.githu...
Tebet asked 10/9, 2014 at 1:35
1
Solved
I am using PyUSB in Python as I will have to listen an USB port to retrieve data from an electronic card. For the moment, I have to train myself by reading direct input from a small keyboard (USB-c...
1
1
I am trying to send a control transfer command through pyusb over a Mac OS:
dev.ctrl_transfer(0x21,0x09,0x0200,0x0,0x1)
I get the error:
Traceback (most recent call last):
File "./main.py", line...
3
Solved
I have been toying around with PyUSB lately, and found that it works beautifully on Linux (Ubuntu has libusb 0.1 and 1.0, as well as OpenUSB)... but only if I run the program with root privileges (...
1
I am trying to send num lock to my custom hardware acting as a HID Keyboard. I have tied up an LED to glow if the num lock key is received on the USB. It works fine for numlock keypress from extern...
4
Solved
I am following this tutorial (http://pyusb.sourceforge.net/docs/1.0/tutorial.html)
I am on windows xp sp3,
my python version is 2.7 and I downloaded and installed the pyusb-1.0.0-a1.zip
and libusb-...
1
Solved
Need to reverse engineering bluetooth usb mouse dongle, and use mouse board to measure distance, and plot them with matplotlib
I've found these tools that can help with this task:
Linux
...
2
Solved
I'm trying to output a string from a barcode or qrcode using a Honeywell USB 3310g scanner in Ubuntu. I have libusb and a library called metro-usb (http://gitorious.org/other/metro-usb) which are e...
2
Solved
I am trying to make a script (on linux) that can turn a light in my mouse on or off.
This is the code I have so far:
import usb.core
import usb.util
import sys
interface = 0
dev = usb.core.find(i...
1
hey i am trying to run the simple script available in the tutorial;. the usb is getting imported but when i try to search the device i get the following error,please help
>>> dev=usb.core...
1
© 2022 - 2024 — McMap. All rights reserved.