2014-07-30 15:38 GMT-03:00 Slavko Kocjancic <esla...@gmail.com>: > On 29. 07. 2014 18:51, Wander Lairson Costa wrote: >> Unfortunately, PyUSB doesn't have async support yet :( >> >> >>> Ouch... >>> >>> So what can be done? >>> Direct acess to lubusb? Is it possible to make callback in python?!? >>> Or another library in c is way to go?!? >>> >>> any hint? >>> >> For PyUSB there is nothing to be done on short term, but you can try >> [1]. It is a thin Python wrapper around libusb 1.0. >> >> [1] https://github.com/vpelletier/python-libusb1 >> >> Best Regards, >> Wander Lairson Costa >> > > Ok I managed somehow to work in linux but now I stuck as I can't manage > ro run in windows. > I know that I use python-libusb1 > > https://github.com/vpelletier/python-libusb1 > > and this should work with libusb1.0 (but not libusb-win32). But I don't > know how to test if this is libusb or libusb-win as both dll have same > name? And seems that I use wrong dll (btw it's near impossible to find > precompiled libusb-1.0.dll to be not libusb-win32 type??) > > Does someone have links to working solution? (ie python wrapper to > libusb and correct libusb, to be able to work in linux and win with > async support?) >
Sorry for the delay, quite busy week. I think that you will get more helpful info at libusb mailing list. -- Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users