using a USB HID device
Roger Binns
rogerb at rogerbinns.com
Mon Apr 19 18:58:54 EDT 2004
Martin v. Löwis wrote:
> Notice, however, that your users need administrator privileges to
> install a kernel mode driver.
Yup. However you can access a device if there is a device driver
attached as well, as long as it is not open. For example if you
have a USB to serial device, you can open it under libusb-win32
providing no other user space code has it open as a com port device.
Unfortunately with both Linux and Mac, libusb can only open devices
for which there is no driver currently attached (irrespective of
whether there is a user space program with the device open).
Windows also requires that a driver be present. There is a do
nothing driver included with libusb-win32 that can be used.
Roger
More information about the Python-list
mailing list