Having trouble configuring nut 2.7.4 on Fedora 25, with a new Tripp Lite UPS.

I'm running XFCE, and XFCE's Power Manager sees the UPS just fine. lsusb gives:

Bus 006 Device 002: ID 09ae:3016 Tripp Lite

nut-scanner -U has no issues either:

# nut-scanner -U
Scanning USB bus.
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "09AE"
        productid = "3016"
        product = "TRIPP LITE UPS"
        serial = "2643FVLSM871900817"
        vendor = "Tripp Lite"
        bus = "006"

I took this and placed it in ups.conf, but upsdrvctl fails to start. Following the bread crumbs, I arrived at:

# /usr/sbin/usbhid-ups -D -D -D -a nutdev1

...

  0.054668      Checking device (09AE/3016) (006/002)
  0.054764      Failed to open device, skipping. (Permission denied)


Running this with strace I see this:

write(2, "Checking device (09AE/3016) (006/002)\n", 38) = 38
open("/dev/bus/usb/006/002", O_RDWR)    = -1 EACCES (Permission denied)
write(2, "   0.054764\t", 12)           = 12
write(2, "Failed to open device, skipping. (Permission denied)\n", 53) = 53
write(2, "   0.054830\t", 12)           = 12

Can't open the USB device. I have SELinux set to permissive, so this isn't the issue.


Attachment: pgp56yDBclU4S.pgp
Description: PGP signature

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to