when you install rtl-sdr, it typically, but not always, installs udev rules for *many* sdr devices. the udev rules that it installs make it possible for anyone in the 'plugdev' group to read/write to the sdr device. (this is true when you install rtl-sdr from source - if you install rtl-sdr from a deb/rpm package, it might be different - anyone with this configuration please let us know)
weewx v4 runs as root:root, so it has access to the sdr device no matter what the udev rules might be weewx v5 runs as weewx:weewx (for a deb/rpm install) or as a regular non-root user (for pip installs). so udev rules are required. btw, weewx 5.0.1 *always* converts to weewx:weewx, whereas 5.0.0 did not (it would continue to run as root - we changed in 5.0.1 because overall security and best practice) the udev rules installed by rtl-sdr will not help for a deb/rpm install, since the user 'weewx' is not in the plugdev group. you can either added the user weewx to the plugdev group, or modify the udev rules to use 'weewx' instead of 'plugdev' as the group. this is how to do the former: sudo usermod -aG plugdev weewx for a pip install, be sure that the user running weewx is in the 'plugdev' group. restart of the weewxd daemon is almost certainly required so that the daemon process has the right group. reboot is not necessary. 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/26551b2f-d7d8-4b25-b09b-8ecff2d47afan%40googlegroups.com.