Re: [pyusb-users] Converting to pyusb

2012-04-10 Thread Wander Lairson Costa
2012/4/10 Eric Hewett : > Hi, > > > Thanks for the reply. I had tried length=32 already but length =33 gives > same error TypeError 'int 'object not iterable in _interop.py Line134 > Review you bmRequestType field, it may be wrong -- Best Regards, Wander Lairson Costa -

Re: [pyusb-users] Converting to pyusb

2012-04-07 Thread Wander Lairson Costa
2012/4/6 Eric Hewett : [snip] > It results in a pipe error >         while True: >             reply = self.dev.ctrl_transfer(0x07, 0x03,0, 1,None) I think you should pass 33 instead of None to the last parameter, shouldn't you? >             if reply[0] != 0: >                 _debug('Device s