On Wednesday, November 7, 2018 at 5:09:18 PM UTC-5, Ian Prescott wrote: > > for the *jessie* version of weewx start I get > *Nov 6 18:44:20 weatherpi weewx[1298]: fousb: found station on USB > bus=001 device=006* > > for the *stretch* version of weewx start I get > *Nov 6 18:23:36 weatherpi weewx[2689]: fousb: found station on USB bus= > device=* >
check the pyusb version on each os. this is due to a difference in the pyusb version, not jessie vs stretch. the older versions of pyusb reported a bus and device number. newer versions do not. this does not affect the functionality of the fousb driver. it *does* affect the usability of the usb utility i wrote to power cycle in case of failures. that utility *depends* on the bus and device numbers. i think they punted the bus and device numbers since bus and device are not reliable ways to identify a usb device - they *may* change when a device is plugged/unplugged. the preferred way to reference a usb device is using its product/vendor codes, or a serial number (if one is available). unfortunately, that leaves us with no way to identify devices that have no serial number. if you are doing something that needs the bus and device numbers, you could try installing pyusb 0.4 instead of pyusb 1.x m m -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
