Sujet : Re: 1-wire behaviour on Bookworm
De : news (at) *nospam* druck.org.uk (druck)
Groupes : comp.sys.raspberry-piDate : 23. Sep 2024, 12:17:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcrine$2m6dk$3@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 22/09/2024 12:45, Chris Elvidge wrote:
On 22/09/2024 at 11:53, John Aldridge wrote:
In article <vckmfh$17vkc$2@dont-email.me>, news@druck.org.uk says...
>
On 20/09/2024 11:17, John Aldridge wrote:
[Reading ds18b20 sensors in parallel]
sudo su <<EOF
echo trigger > /sys/bus/w1/devices/w1_bus_master1/therm_bulk_read
EOF
>
Have you tried
'echo trigger | sudo tee /sys/bus/w1/devices/w1_bus_master1/therm_bulk_read'
Yes, that works for bus 1, but not bus 2 on that Pi 4.
On a Pi Zero 2W with 2 w1 buses, bus 1 gives the Permission denied error and bus 2 succeeds.
On a Pi 3B+ with 4 w1 buses, 1 and 2 succeed, 3 and 4 fail.
Very strange.
---druck