(This reply is delayed because my email provider has been on one of sourceforge’s email blacklists and replies were being rejected)
Thanks for the reply - I had this problem quite a few weeks ago now and solved it myself and the details are not as clear as they were when I wrote the mail in May. Didn’t have anything to do with Isochronous transfers, I wasn’t using the Isoc endpoints at all, they just happened to exist in the example Atmel code I was using. As far as I got before moving on it seemed the selection of the alternate interface was more to do with the problem, I recall that when debugging it I never saw the command on the device to select it and that would mean it stayed in base configuration which only had a control endpoint. Anyway I moved on at that point, abstracted out code for what I actually wanted on the device, which was one setting and just a couple of bulk pipes and implemented that. That simpler device model works just fine so I’ve left the issue behind. Will probably have some more questions as things get more complicated. Currently running pyusb in a wxPython app I have reads running on a thread so the UI event loop is separate. Not sure yet that’s the best scalable way to do things and so I may look at polling pyusb off the idle event instead .. which may also give me device insertion/removal which I’d quite like. Get to those a bit later. > On 10 Jun 2018, at 13:46, Xiaofan Chen <xiaof...@gmail.com> wrote: > > On Wed, May 16, 2018 at 9:35 PM, Roland King <r...@rols.org> wrote: >> .. my first post .. >> >> I have a device (Atmel running their vendor development USB stack). >> >> It has one configuration, one interface two alternates as they use an >> isochronous endpoint and you can’t have that in the default configuration. >> With the simplest example I can come up with I get ‘Errno 2 - entity not >> found’ on any access to any endpoint on the device. > > I think pyusb may not work well with isochronous transfer. I have never > tried myself. > > You may want to try out using C first to see if the device works under > plain libusb under Mac OS X. > > You can also try this. It claims to support isochronous transfer. > https://github.com/vpelletier/python-libusb1 > > -- > Xiaofan > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > pyusb-users mailing list > pyusb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyusb-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users