Thanks Colin,  I had forgotten to enable i2c.  It all works now.


On 04/08/2019 12:13, Colin Law wrote:
How are you connecting the devices to the pi?
Have you run raspi-config and enabled/disabled the appropriate sections?

You have to use sudo with systemctl.

Colin

On Sun, 4 Aug 2019 at 11:29, Mick Sulley <m...@sulley.info> wrote:
I'm trying to install on Raspbian Buster and failing!

I did the usual updates, then installed owserver owhttpd ow-shell,  it
has installed 3.2p3

owdir worked, but that was with the fake devices in owfs.conf. Edited
that out and added dtparam=i2c1=on

sudo i2cdetect -y 1

gives me

Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or
directory

Searching suggested adding dtparam=i2c1=on  to /boot/config.txt

I did that and rebooted

I still get   Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1':
No such file or directory

Thought I might need to restart the service but

pi@raspberrypi:~ $ systemctl restart owserver.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'owserver.service'.
Authenticating as: root
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to restart owserver.service: Access denied
See system logs and 'systemctl status owserver.service' for details.
pi@raspberrypi:~ $

I think this is the section of the syslog file, but doesn't mean much to me

Aug  4 11:14:06 raspberrypi OWFS[493]: DEFAULT: ow_arg.c:(127) Cannot
access device /dev/i2c-1
Aug  4 11:14:06 raspberrypi systemd[1]: owserver.service: Failed with
result 'protocol'.
Aug  4 11:14:06 raspberrypi systemd[1]: Failed to start Backend server
for 1-wire control.
Aug  4 11:14:06 raspberrypi systemd[1]: owserver.service: Service
RestartSec=100ms expired, scheduling restart.
Aug  4 11:14:06 raspberrypi systemd[1]: owserver.service: Scheduled
restart job, restart counter is at 5.
Aug  4 11:14:06 raspberrypi systemd[1]: Stopped Backend server for
1-wire control.
Aug  4 11:14:06 raspberrypi systemd[1]: owserver.service: Start request
repeated too quickly.
Aug  4 11:14:06 raspberrypi systemd[1]: owserver.service: Failed with
result 'protocol'.
Aug  4 11:14:06 raspberrypi systemd[1]: Failed to start Backend server
for 1-wire control.
Aug  4 11:15:15 raspberrypi dbus-daemon[276]: [system] Activating via
systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
requested by ':1.9' (uid=1000 pid=501 comm="/usr/bin/pkttyagent
--notify-fd 5 --fallback ")
Aug  4 11:15:15 raspberrypi systemd[1]: Starting Authorization Manager...
Aug  4 11:15:15 raspberrypi polkitd[504]: started daemon version 0.105
using authority implementation `local' version `0.105'
Aug  4 11:15:15 raspberrypi dbus-daemon[276]: [system] Successfully
activated service 'org.freedesktop.PolicyKit1'
Aug  4 11:15:15 raspberrypi systemd[1]: Started Authorization Manager.
Aug  4 11:17:01 raspberrypi CRON[517]: (root) CMD (   cd / && run-parts
--report /etc/cron.hourly)
Aug  4 11:19:37 raspberrypi systemd[1]: Starting Cleanup of Temporary
Directories...
Aug  4 11:19:37 raspberrypi systemd[1]: systemd-tmpfiles-clean.service:
Succeeded.


Any ideas?



_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to