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

------------------------------------------------------------------------------
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