home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 25,044 of 26,127   
   druck to John Aldridge   
   Re: 1-wire behaviour on Bookworm   
   20 Sep 24 21:38:09   
   
   From: news@druck.org.uk   
      
   On 20/09/2024 11:17, John Aldridge wrote:   
   [Reading ds18b20 sensors in parallel]   
   > No, but AIUI the "right" way to do this is to send the text "trigger" to   
   > /sys/bus/w1/devices/w1_bus_master1/therm_bulk_read before reading the   
   > values as normal. The trigger causes them all to start a conversion at   
   > once, following which the reads all complete immediately once a single   
   > conversion time has elapsed.   
   >   
   > As a quick hack, try executing the following before reading your   
   > sensors...   
   >   
   > sudo su < echo trigger > /sys/bus/w1/devices/w1_bus_master1/therm_bulk_read   
   > EOF   
      
   Thanks, that seems to works for the first bus, but I get a permission   
   denied when using w1_bus_master2.   
      
   ---druck   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca