[pyusb-users] libusb1 Callback thread

2014-07-30 Thread Slavko Kocjancic
Hello... I try to do some async transfer. The program bellow actualy 'near' work. It setup 10 transfers and should print the received bytes in callback. The problem is that callback is not done at receive complete! In example below I expect callback while sleep comand is executed but instead got

Re: [pyusb-users] libusb1 Callback thread

2014-07-30 Thread Slavko Kocjancic
On 30. 07. 2014 11:52, Xiaofan Chen wrote: On Wed, Jul 30, 2014 at 2:45 PM, Slavko Kocjancic esla...@gmail.com wrote: Hello... I try to do some async transfer. The program bellow actualy 'near' work. It setup 10 transfers and should print the received bytes in callback. The problem is that

Re: [pyusb-users] Asynchronous transfers

2014-07-30 Thread Slavko Kocjancic
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

Re: [pyusb-users] Trouble specifying a backend on embedded.

2014-07-30 Thread Wander Lairson Costa
2014-07-30 15:01 GMT-03:00 Samuel Thurston samuel-thurs...@uiowa.edu: Hello all, I'm trying to use pyusb on an embedded yocto linux running on an intel Galileo board. I'm running into problems trying to load the custom backend as specified in the tutorial page. Since there is no compile