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
Paul
On Tuesday 30 January 2024 at 18:51:01 UTC Tom Keffer wrote:
> Oops. I put it under the wrong thread!
>
> Apologies.
>
> On Tue, Jan 30, 2024 at 7:55 AM matthew wall <[email protected]> wrote:
>
>>
>>
>> On Tuesday, January 30, 2024 at 10:36:47 AM UTC-5 [email protected] wrote:
>>
>> Paul, take a look at Issue #917
>> <https://github.com/weewx/weewx/issues/917#issuecomment-1895917342> and
>> see if that solves your problem.
>>
>> Short answer: check the contents of /etc/default/weewx and make sure it
>> points to Python 3.6 or greater.
>>
>>
>> tom, i think you confused issues. the python2/python3 affects the dpkg
>> version check.
>>
>> this issue is about the udev file. there was a problem with the
>> redhat/suse scriptlet that has been fixed:
>>
>>
>> https://github.com/weewx/weewx/commit/b32ca4069e519a50dce636d6c8730958b0c1cb00
>>
>> the issue in this thread appears to use debian-based install, so
>> something else is going on here.
>>
>> 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/aa34351b-d2a7-4008-a8e8-7849bb9c6838n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/aa34351b-d2a7-4008-a8e8-7849bb9c6838n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/4611f83b-1bc1-451b-b9c3-9b907dd10d01n%40googlegroups.com.