using a USB HID device

"Martin v. Löwis" martin at v.loewis.de
Mon Apr 19 01:29:02 EDT 2004


Jeff Epler wrote:
> libusb is portable to Linux, BSD including OS X, and Windows.
> I don't know of a Python wrapper, however, and my experience using
> libusb on windows is limited.
> 
> http://libusb.sf.net
> http://libusb-win32.sf.net/

It looks like libusb, on Windows, installs its own kernel driver,
which generates devices named \\.\libusb*. So this is not exactly
a pure-python solution :-)

OTOH, it may well be that USB devices, on Windows, cannot be
accessed purely from user mode, and that you always need some
sort of kernel driver.

Regards,
Martin




More information about the Python-list mailing list