About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

Cannot get 1 wire pi plus to work on Raspberry pi 4

75 Views - Created 27 days ago

27 days ago

Posted by:
marksidell

Users Avatar

I cannot get the 1 wire pi plus to work on a Raspberry pi 4. The command "i2cdetect -y 1" detects the device, so at least I know I2C is working. But owserver fails to start:

root@mqtt:/home/pi# systemctl status owserver
● owserver.service - Backend server for 1-wire control
   Loaded: loaded (/lib/systemd/system/owserver.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2021-01-29 10:40:45 EST; 6s ago
     Docs: man:owserver(1)
  Process: 2083 ExecStart=/usr/bin/owserver -c /etc/owfs.conf (code=exited, status=1/FAILURE)
 Main PID: 2083 (code=exited, status=1/FAILURE)

Jan 29 10:40:45 mqtt.sidell.org systemd[1]: owserver.service: Service RestartSec=100ms expired, scheduling restart.
Jan 29 10:40:45 mqtt.sidell.org systemd[1]: owserver.service: Scheduled restart job, restart counter is at 5.
Jan 29 10:40:45 mqtt.sidell.org systemd[1]: Stopped Backend server for 1-wire control.
Jan 29 10:40:45 mqtt.sidell.org systemd[1]: owserver.service: Start request repeated too quickly.
Jan 29 10:40:45 mqtt.sidell.org systemd[1]: owserver.service: Failed with result 'exit-code'.
Jan 29 10:40:45 mqtt.sidell.org systemd[1]: Failed to start Backend server for 1-wire control.
 

I also tried the setup using the ds2482 kernel module described in another discussion. Nada.

Any suggestions?

27 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi Mark

Have you gone through all of the steps in our OWFS tutorial?  https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi

AB Electronics UK Tech Support

27 days ago

Posted by:
marksidell

Users Avatar

I have! And I've triple-checked all of the settings.

26 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

I have just tried setting up a new installation of Raspberry Pi OS and a 1 Wire Pi Plus using our tutorial and everything appears to be working correctly.

Do you have a spare SD card you could use to set up a clean install of the current version of Raspberry Pi OS?  If OWFS works on your clean install then that would narrow the problem down to your current linux install, if OWFS still fails then that would mean there is a problem with the 1 Wire Pi Plus.

AB Electronics UK Tech Support

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.