Try adding the weewx user to group plugdev if I recall correctly. Basically 
the user weewx runs has to be in a group that is permitted to access the 
hardware.

On Monday, April 29, 2024 at 11:07:49 AM UTC-7 Mary Ann Horton wrote:

> I'm having a similar problem to what I see others are having, but the 
> solutions I see here don't seem to work for me.
> I had weewx 4 running on xubuntu 20.04 for years with a Acurite USB 
> weather station - it worked great. Then my PC died. I got a new PC, a fresh 
> xubuntu 22.04 installation, and a fresh "apt install weewx". I'm getting 
> the permission error:
> CRITICAL weewx.drivers.acurite: Unable to claim USB interface 0: [Errno 
> 13] Access denied (insufficient permissions)
>
> The documentation says a fresh install will create the rule in 
> /etc/udev/rules.d. It did not.
> I found the acurite line in /etc/weewx/udev, and copied it into 
> /etc/udev/rules.d/71-weewx.rules. Ran udevadm control --reload. service 
> weewx restart. Same error.
> I also found by unplugging the USB cable that the associated device is 
> /dev/hidraw0. I've chowned it to weewx:weewx and chmodded it to 660. No joy.
>
> What am I missing? How do I track this down?
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/73810eaf-4c57-4c67-8fe4-5eb8cd116256n%40googlegroups.com.

Reply via email to