Em 28/09/2014 20:29, "Jared Contrascere" <jared.n.contrasc...@libretees.com>
escreveu:
>
> Hello!
>
> According to the release notes at
https://github.com/walac/pyusb/blob/master/ReleaseNotes.rst the functions
is_kernel_driver_active, detach_kernel_driver and attach_kernel_driver does
not accept an Interface object anymore.
>
> When upgrading from pyusb-1.0.0a3 to pyusb-1.0.0b2 I changed:
>
> dev.is_kernel_driver_active(interface)
> # is now...
> dev.is_kernel_driver_active()
>
> This raises a NotImplementedError. Is the beta-2 release too new to begin
application development or am I doing something wrong?
>

My bad. It does not accept an interface object, you must always pass an
interface number. Sorry about the confusing info.

>
------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to