On Tuesday, January 30, 2024 at 10:03:48 AM UTC-5 [email protected] wrote:
I have seen reports of usb permissions / errno 13 on installs of weewx 5.0
I solved this by adding a udev rule:
# make Vantage accessible to weewx user
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea61",
GROUP="dialout", MODE="0666"
paul,
thank you for reporting this.
where did you put your udev rule?
please check the contents of /usr/lib/udev/rules.d/60-weewx.rules
please post the vantage rule from that file.
in your rule, the 'GROUP="dialout"' does nothing, since you also set mode
to 0666 (read-write world).
for future reference:
/usr/lib/udev/rules.d is where packages put rules
/etc/udev/rules.d is where a system administrator puts rulues
that way things in /etc/udev can override things in /usr/lib/udev, while
being immune to upgrades. upgrades are allowed to walk all over
/usr/lib/udev, but they are not allowed to touch /etc without prompting or
notifying the user.
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/a3565bd0-11b5-45ed-9c3c-b73ad6e57757n%40googlegroups.com.