2011/9/7 Cornelius Kölbel <cornelius.koel...@lsexperts.de>: > Hello Wander, > > I just stumbled upon this thread. > > > http://www.mail-archive.com/pyusb-users@lists.sourceforge.net/msg00839.html > > I am using pyusb and python-yubico to program yubikeys on linux and on > windows. > We realized that it will not work on windows due to the > detach_kernel_driver thing. So the question is, if the upper library > should take into account, on which operation system it is running and > either call detach_kernel or not or if the underlying module should take > care. If I could I would vote for the underlying ;-) > > What are your plans regarding this one?
Just want to check which backend you are using? If you use libusb-1.0 backend, then the kernel driver call does exist in libusb-1.0 Windows backend, it just return LIBUSB_ERROR_NOT_SUPPORTED for both Windows. Same for libusb-1.0 under Mac OS X. But if you use libusb-win32 backend, then you are right that call is not implemented. -- Xiaofan ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users