You could use a udev rule to assign different symbolic names, depending on the port.
On Tue, Apr 2, 2019 at 9:52 AM mwall <[email protected]> wrote: > the fousb driver uses product/vendor id to find the usb devices. since > fine offset does not include any other information (e.g., serial number), > there is no way to distinguish between two fine offset stations using > device information alone. > > if you use an old version of pyusb you might be able to distinguish based > on hub/device path or identifier. but these are subject to change whenever > you unplug/replug or restart the system. > > you could put each station onto a separate usb hub, where each hub has a > unique identifier that persists through restarts. > > unfortunately later versions of pyusb removed the hub/device information > > 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. > -- 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.
