Hi,

To make a long story short, in Windows, libusb needs a driver attached, so
makes no sense a function to detach the driver.
Em 17/05/2012 16:01, "greg yurikov" <gyuri...@yahoo.com> escreveu:

> I'm using the libusb1.2.4.9 win32 backend I think. I downloaded the .zip
> file found here:
>
> https://sourceforge.net/projects/libusb-win32/files/libusb-win32-snapshots/20110713/
>
>
> In the zip were the following files:
> libusb-win32-devel-filter-1.2.4.9.exe
> libusb-win32-src-1.2.4.9.zip
> libusb-win32-bin-1.2.4.9.zip
> libusb-win32-debug-1.2.4.9.zip
>
> I did nothing more than run the exe. I feel like I'm missing a step here.
>
>
>   ------------------------------
> *From:* chris clark <clac...@gmail.com>
> *To:* greg yurikov <gyuri...@yahoo.com>; pyusb-users@lists.sourceforge.net
> *Sent:* Thursday, May 17, 2012 1:07 PM
> *Subject:* Re: [pyusb-users] NotImplementedError when using pyusb
>
>
>
> On Thu, May 17, 2012 at 11:40 AM, greg yurikov <gyuri...@yahoo.com> wrote:
>
> ....
>
> I get this error:
>
>   File "test.py", line 20, in <module>
>     if device.is_kernel_driver_active(0):
>   File "C:\Python26\lib\site-packages\usb\core.py", line 704, in
> is_kernel_driver_active
>     return self._ctx.backend.is_kernel_driver_active(self._ctx.handle,
> interface)
>   File "C:\Python26\lib\site-packages\usb\backend\__init__.py", line 355,
> in is_kernel_driver_active
>     _not_implemented(self.is_kernel_driver_active)
>   File "C:\Python26\lib\site-packages\usb\backend\__init__.py", line 79,
> in _not_implemented
>     raise NotImplementedError(func.__name__)
> NotImplementedError: is_kernel_driver_active
>
> Am I suppose to implement this on my own? Can I just redirect this to
> another python module that actually implements this?
>
>
>
> It looks like the generic device code is being fired, not the
> backend implemention code.
>
> Which backend is being used?
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to