Scrapped busdog as is wasn't showing the full packets.  USBlyzer
showed me that the data I was seeing was a control transfer and not
from the interupt EP. All good now.

Cheers
D

On 16 December 2012 23:12, ragman <gaza...@gmail.com> wrote:
> On 16 December 2012 22:50, Wander Lairson Costa
> <wander.lair...@gmail.com> wrote:
>> 2012/12/16 ragman <gaza...@gmail.com>:
>>> Hi Folks,
>>>
>>> USB newbie here.  I'm trying to (understand and)  read data from an
>>> interrupt endpoint:
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x81  EP 1 IN
>>>         bmAttributes            3
>>>           Transfer Type            Interrupt
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x0008  1x 8 bytes
>>>         bInterval               8
>>>
>>> using:
>>>  print dev.read(0x81,8,0,1000)
>>>
>>> But I'm getting timouts every time, no matter the timout setting.  As
>>> I'm still learning USB I'm guessing I misunderstand (most of it)
>>> interuppt endpoints.
>>>
>>> busdog shows me that the native software reads 2 bytes device every 60 
>>> seconds.
>>> Any help would be...helpful and much appreciated.
>>>
>>
>> Did you issue a set_configuration()?
>>
>> --
>> Best Regards,
>> Wander Lairson Costa
>>
>
> Thanks Wander,
>
> Yes I did and can send ctrl_transfers to it successfully.
>
> Cheers,
> D

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to