I had the same error with sdr driver(weewx v5 ) running on debian 12 . The problem solved by making udev rules ... maybe you are in the same situation as i was.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4c62d6c3-d690-49e8-8151-8b9af8dd5b43n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/5BuR3BSQfeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/%24kwshnkklb-%24RmhmQzk-%24qdrNT-2024%40odin.oe7drt.com.
--
It seems to be a problem of rules change. In fact, I first upgraded from 4.10.2 to 5.0.0 and weewx worked perfectly.
Then I went from 5.0.0 to 5.0.1 an weewx failed to start.
For Weewx,, I did a deb/rpm install and, as far I remember, I installed rtl-sdr following your Git (https://github.com/matthewwall/weewx-sdr).I tried the command you proposed (sudo usermod -aG plugdev weewx) but that doesn't solve the problem.
Regarding the rtl-sdr rules, I have a doubt. I installed the file in /etc/weewx/udev/rules.d. Maybe it is a wrong place... I read in another thread that it should be in /usr/lib/udev/rules.d... What about ?
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/5BuR3BSQfeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/872b0b73-d942-487d-bbe3-61883e3d00aen%40googlegroups.com.
@Matthew:Any clue what should be modified (udev rules/group membership) for interceptor driver? When I modify systemctl service to not run under weewx:weewx everything is OK :)
another option is to put a proxy in front of interceptor. configure interceptor to listen on a high port, say 8080, then run nginx binding to port 80 as a reverse proxy to interceptor, proxying all traffic or just specific requests.m
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/5BuR3BSQfeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e8a748e8-5008-4ecc-b5f2-59fad26e8b67n%40googlegroups.com.
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3239d8e8-5e87-420a-a660-74666b1847ben%40googlegroups.com.
I'll add "plughw" to the troubleshooting section.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dd907df7-2022-4381-a8f8-914d545ae175n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/50c1b895-a3eb-49c0-bf03-f02966436a24n%40googlegroups.com.
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 beweewx 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