From: stuart l. <stu...@gm...> - 2022-02-05 02:25:59
|
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. On Fri, Feb 4, 2022 at 2:14 AM Xiaofan Chen <xia...@gm...> wrote: > On Fri, Feb 4, 2022 at 4:40 PM stuart lynne <stu...@gm...> > wrote: > > > > > > Windows can be a big problem. > > What is the driver used with your ANT+ dongle? I remember my old > Garmin ANT dongle (for use with the Garmin VivoFit 1 and 3) uses > libusb-win32 driver. We have improved the support of libusb0.sys > in libusb 1.0.25 release but there may still be some problems. > Ref: > https://github.com/libusb/libusb/wiki/FAQ#How_to_use_libusb_under_Windows > > Good thing is that pyusb does support libusb-0.1 backend even though > libusb-1.0 backend is recommended. > > If your ANT+ dongle uses WinUSB driver, you have a problem as > WinUSB does not support multiple concurrent applications. > Ref: https://github.com/libusb/libusb/wiki/Windows#Known_Restrictions > > There is a workaround -- you have to write a daemon (eg: Windows service) > to deal with them and then multiple applications can call the daemon to > work > with the ANT+ device. > > For macOS, as long as your ANT+ dongle is not claimed exclusively by > existing kernel drivers, hopefully it will be fine. > > Read the libusb caveats as well for things to take note under all > operating systems. > https://libusb.sourceforge.io/api-1.0/libusb_caveats.html > > -- > Xiaofan > > > _______________________________________________ > pyusb-users mailing list > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users > -- __________O___________ _______-\<,____________ _____(_)/_(_)___________ _________________________ Stuart_Lynne____<stu...@gm...>____604-518-1749(m)__604-461-7532(h) |