From: https://github.com/walac/pyusb/blob/master/docs/tutorial.rst
You can also use the PyUSB log functionality. It uses the logging module.
To enable it, define the environment variable PYUSB_DEBUG with one of the
following level names: critical, error, warning, info or debug.
By default the messages are sent to sys.stderr. If you want to, you can
redirect log messages to a file by defining the PYUSB_LOG_FILENAME
environment variable. If its value is a valid file path, messages will be
written to it, otherwise it will be sent to sys.stderr.
On Thu, Oct 2, 2014 at 12:56 PM, Richard Bryan <rabr...@lucidsci.com> wrote:
> We have been using pyusb with our custom usb devices with mostly success.
> We've run into an issue though that only occurs on a specific windows 7
> machine. The device is not found with a call to
> usb.core.find(find_all=True). The other usb devices on the machine (hubs,
> etc) are found -- so pyusb must be loading the backend correctly.
>
> We've tried installing the device drivers for libusb-win32, libusbK, and
> WinUSB -- all with the same issue. The machine with the problem is Windows
> 7 amd 64-bit. Our other Windows 7 machine (on which everything works fine)
> is also a WIndows 7 64-bit machine, but with an old intel celeron processor
> -- so perhaps the processor architecture has something to do with it?
>
> Has anybody encountered anything like this? Or does anyone have any
> debugging tips -- like logs we could access or debug flags we could enable?
>
> Richard
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users