[Nut-upsuser] usbhid-ups: Failed to open device, skipping. (Permission denied)

Sam Varshavchik mrsam at courier-mta.com
Sat Apr 1 14:59:07 UTC 2017


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170401/0bf380a6/attachment.sig>


More information about the Nut-upsuser mailing list