From: greg y. <gyu...@ya...> - 2012-05-17 21:00:53
|
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 <cl...@gm...> To: greg yurikov <gyu...@ya...>; pyu...@li... 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 <gyu...@ya...> 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? |