On Wednesday, January 31, 2024 at 3:29:36 AM UTC-5 [email protected] wrote:
Hi Matthew
Thanks for the information about the various udev folders which helps me
understand their interaction.
I created a file /etc/udev/50-localusb.rules and inserted the rule. Also,
inherited from Linux Mint 20.1 running Weewx 4.8, I also have the following
line in /etc/udev/descriptive-names.rules
ATTRS{serial}=="1344794749", ATTRS{manufacturer}=="Silicon Labs",
SYMLINK+="DavisVP"
and that SYMLINK is created.
/usr/lib/udev/rules.d/60-weewx.rules contains 10+ lines for different
stations and includes the following for Vantage:
# davis vantage via usb-serial
SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea60",MODE="0664",GROUP="weewx",SYMLINK+="vantage"
SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTR{idProduct}=="ea61",MODE="0664",GROUP="weewx",SYMLINK+="vantage"
The vantage SYMLINK is not being created.
Not sure if I should leave 'as is' or edit 60-weewx.rules and remove
50-localusb.rules
you can keep your 50-localusb.rules. you might want to consolidate the
vpro rule in localusb.rules with the vpro rule in descriptive-names.rules.
or not. depends on how you like to manage things. and your weewx.conf
must already refer to 'DavisVP'...
if you modify /usr/lib/udev/rules.d/60-weewx.rules, it will be overwritten
when you next upgrade weewx, so just leave it.
on your system, is there a /dev/vantage that is a symlink to the usb-serial
adapter? if so, that indicates the weewx.rules in /usr/lib/udev is working.
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/a2aeecf7-9c1c-4ea1-bd60-f02d3d9b7bc0n%40googlegroups.com.