I'm trying to set up NUT (UPS tools) on Alpine 3.8. I've compiled from
edge and that stage seems to have worked fine.
The device is an EATON Ellipse ECO 800 UPS which uses USB for
communicating with Alpine. I've therefore also installed eudev to
manage to USB permissions.
However, I can't get it to communicate.
I've added the UPS to ups.conf:
driver = usbhid-ups
port = auto
desc = "Eaton UPS"
But when I try to start it, I get errors. Running a strace on the driver:
strace /usr/lib/nut/usbhid-ups -a eaton
results in (amongst other messages):
stat("/sys/bus/usb/devices", 0x7639e69ffe80) = -1 EACCES
Checking permissions with:
ls -ld /sys/bus/usb/devices
drwx------ 2 root root 0 Jul 24 19:41
In fact, it is 0600 root:root all the way up to /sys/bus.
Shouldn't this be 0644 or similar, or maybe 0640 but with group 'usb'?
Received on Wed Jul 25 2018 - 07:50:33 UTC