SBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 22] Invalid parameter
As I am far from a USB ninja, I spent days documenting myself and
searching the Internet for a solution without success.
What's wrong with my code ?
Nicolas
--
*Nicolas PINAULT
R electronics eng
across all supported
platforms."
Nicolas
Le 28/01/2016 08:21, Nicolas Pinault a écrit :
Hi,
I'm trying to use a USB device under Windows7x64.
The device is HID like with custom protocol.
The USB device is recognised by Windows as a HID device (without error
nor warning shown is device man
Hi,
Is it possible to retrieve USB bus topology with PyUSB ?
Regards,
Nicolas
--
*Nicolas PINAULT
R electronics engineer
*** nico...@aaton.com <mailto:nico...@aaton.com>
*AATON-Digital*
38000 Grenoble - France
Tel +33 4 7642 9550
http://www.aaton.com
http://www.transvideo.eu
Le 13/05/2016 à 17:36, Jeffrey Nichols a écrit :
> On 5/13/2016 10:39 AM, Nicolas Pinault wrote:
>> Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit :
>> I already tried to use "port_numbers" but this field was always blank.
>> After updating libusb-1.0, this field i
Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit :
2016-05-12 11:40 GMT-03:00 Nicolas Pinault <nicol...@aaton.com>:
Hi,
Is it possible to retrieve USB bus topology with PyUSB ?
Yes, you will need to use the Device object "port_number" and "bus" properties.
Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit :
On 5/13/2016 9:03 AM, Nicolas Pinault wrote:
Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit :
2016-05-12 11:40 GMT-03:00 Nicolas Pinault<nicol...@aaton.com>:
Hi,
Is it possible to retrieve USB bus topology with PyUSB ?
Ye
Le 13/05/2016 à 16:39, Nicolas Pinault a écrit :
Le 13/05/2016 à 15:10, Jeffrey Nichols a écrit :
On 5/13/2016 9:03 AM, Nicolas Pinault wrote:
Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit :
2016-05-12 11:40 GMT-03:00 Nicolas Pinault<nicol...@aaton.com>:
Hi,
Is it possible to re
Le 16/09/2016 à 01:21, Joe a écrit :
> Am 15.09.2016 um 12:11 schrieb Joe:
What's the best method to install it?
>> Solved: pip install hidapi
>>
> This is now working with the usb hid interface of the UT61B DMM:
> hid.device.get_manufacturer_string,
> hid.device.get_product_string,
>
Under Windows, USB HID devices have to be accessed through the HID API,
not the USB API. This means you can't use PyUSB with HID devices under
Windows.
Try this package : https://pypi.python.org/pypi/hid/0.1.1
Nicolas
Le 15/09/2016 à 11:48, Joe a écrit :
Am 15.09.2016 um 09:01 schrieb Nicolas Pinault:
Under Windows, USB HID devices have to be accessed through the HID API,
not the USB API. This means you can't use PyUSB with HID devices under
Windows.
Try this package : https://pypi.python.org/pypi/hid/0.1.1
Hi,
Le 21/12/2016 à 18:18, Mayur Vijaywargi a écrit :
Hi,
I am getting this kind of error "'ascii' codec can't encode character
u'\u010c' in position 6: ordinal not in range(128)"
This the code I am using to search endpoint to write:
def get_device(vid, pid, backend_driver=None):
if
Hi,
On Windows, for HID devices, I use a dedicated HID library :
https://github.com/rene-aguirre/pywinusb
Nicolas
Le 13/11/2020 à 07:50, John Beamish a écrit :
Hi
I am trying to use a USB port to talk to a 18F46K20 pic controller. The
project, which is in the early stages,
12 matches
Mail list logo