Access denied

86 views
Skip to first unread message

Jacques Desroches

unread,
Oct 27, 2025, 11:49:40 AM (5 days ago) Oct 27
to weewx-user
Hi,
I've done a fresh install of weewx on a new DietPi v9.18 (plain, with no other software)
on my rPi 4 4GB. But it seems to have a usb permission problem

Oct 27 11:28:06 DietPi weewxd[5259]: INFO weewx.engine: Starting main packet loop.
Oct 27 11:28:06 DietPi weewxd[5259]: ERROR weewx.drivers.acurite: release interface failed: [Errno 13] Access denied (insufficient permissions)
Oct 27 11:28:06 DietPi weewxd[5259]: CRITICAL weewx.drivers.acurite: Unable to claim USB interface 0: [Errno 13] Access denied (insufficient permissions)
Oct 27 11:28:06 DietPi weewxd[5259]: ERROR weewx.drivers.acurite: Failed attempt 1 of 10 to get LOOP data: [Errno 13] Access denied (insufficient permissions)

lsusb display my station:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 003: ID 24c0:0003 Chaney Instrument Model 01036 weather center
Bus 001 Device 004: ID 10d5:5000 Uni Class Technology Co., Ltd Combo Free KVM
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge

Station was running great on that Pc before crashing (with Raspberry Pi OS - Bookworm)

Thanks in advance,
Jacques

vince

unread,
Oct 27, 2025, 2:09:48 PM (5 days ago) Oct 27
to weewx-user
Do some searching for 'acurite' here please.  This has been coming up a lot for trixie - see https://groups.google.com/g/weewx-user/c/VijmdjWVzZg/m/nj_otr20BAAJ for some pointers but there have been multiple long threads since trixie came out.

Usually the issue is that the user weewx runs as (weewx if you are using a dpkg installation) is not in a group permitted to access the hardware, but acurite seems to have issues with some kernels or libusb versions perhaps.

Jacques Desroches

unread,
Oct 28, 2025, 5:09:12 PM (3 days ago) Oct 28
to weewx-user
Hi Vince,

I'm testing Ubuntu 25.10 and 25.04 with no results.
... will try 24.04 next.

I've activated debug on weewx.conf and see this line, juste before error :
 DEBUG weewx.drivers.acurite: Found station at bus= device=

So bus and device have no value... but with lsusb I see it on bus 001 and device 003
Bus 001 Device 003: ID 24c0:0003 Chaney Instrument Model 01036 weather center

... expecting to find a working os!

Regards,
Jacques

Jacques Desroches

unread,
Oct 31, 2025, 3:57:21 PM (11 hours ago) Oct 31
to weewx-user
Hi,

I've succed with ubuntu v22.04.3. Station is working great now!

I've tried latest versions of Rasberry pi OS (Bookworm), DietPi and Ubuntu
none of them are working with my installation Weewx/Acurite.

Something to investigate for future updates.

Regards,
Jacques
Reply all
Reply to author
Forward
0 new messages