Thanks for your suggestions. I'm also seeing some strange differences in how the two types of Ant+ dongles I have (current models from Garmin and Cycplus.)
The Cycplus for example does not appear to support a get_interface control request. That prevented the libant library from using it. They were using that call to fetch the alternate setting which will always be zero, so just removing the extra request is OK. The Garmin has some trouble with closing and re-opening in Linux with libusb1 the backend. Typically will not function correctly on the first open. Second open works. Then in some cases, subsequent use fails entirely until the device is replugged. I'm just starting to test them in Windows, and both are reacting slightly differently there. But (currently) that is defaulting to libusb0, so I need to figure out how to switch that. And then make sure I can push that out in the app as built with pyinstaller. On Sat, Feb 5, 2022 at 2:05 AM Xiaofan Chen <xiaof...@gmail.com> wrote: > On Sat, Feb 5, 2022 at 10:26 AM stuart lynne <stuart.ly...@gmail.com> > wrote: > > > > Most people are using a generic libusb-win32 driver for Ant+ dongles. > > I have two types, Garmin and Cycplus, and both show up as Dynastream > > as the manufacturer, but they do have minor differences, so even if the > same > > chip from Dynastream, different configuration possibly. > > > > In driver details, that shows up with the actual driver as libusb0.dll. > > In that case, you will probably want to use pyusb libusb-0.1 backend > as the driver (libusb0.sys) and libusb0.dll are already in place. You > do not need to ship libusb-1.0.dll if you use the libusb-0.1 backend. > > I remember Garmin shipped a pretty old version of libusb0.sys and > libusb0.dll but hopefully it does not cause issues for you. I may be > wrong though. > > libusb-win32 official release is also very old -- 1.2.6.0 version > was released in 2012. > > > > -- > Xiaofan > > > _______________________________________________ > pyusb-users mailing list > pyusb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyusb-users > -- __________O___________ _______-\<,____________ _____(_)/_(_)___________ _________________________ Stuart_Lynne____<stuart.ly...@gmail.com>____604-518-1749(m)__604-461-7532(h)
_______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users