i forgot to write in my last message that when you finished you must restart udev or restart the device you using( p.c , rpi ,... etc)
On Tuesday, February 6, 2024 at 7:11:07 PM UTC+2 matthew wall wrote: > On Tuesday, February 6, 2024 at 11:38:24 AM UTC-5 Pierre-Yves wrote: > > 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. > > > weewx was running as root:root. weewx 5.0.0 did not modify any permissions > when it upgraded from 4.10.2. > > > Then I went from 5.0.0 to 5.0.1 an weewx failed to start. > > > weewx was running as weewx:weewx. weewx 5.0.1 converts from root:root > permissions to weewx:weewx permissions, and runs the daemon as weewx. > > > 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. > > > is there a udev rules file for sdr? (it is a separate step when you build > rtl-sdr from source) > if there is a udev rules file for sdr, how are the permissions set? > did the usermod for weewx succeed? > is weewx in the plugdev group? (grep weewx /etc/group) > did you restart weewxd after putting weewx into the plugdev group? > > > 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 ? > > > packages install to /usr/lib/udev/rules.d > > system administrators (or end-users acting as system administrators) put > things in /etc/udev/rules.d > > that way you can override whatever a package installs, and your changes > will not be overwritten by the package when you upgrade/update. > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a48a3432-f9a6-422e-9cd2-827379e7e557n%40googlegroups.com.
