Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kenyeeOffline
Post subject: possible udev nut(usb UPS permission) quirk w/ latest D-U  PostPosted: 18.12.2011, 00:54



Joined: 2010-09-29
Posts: 80

Status: Offline
If any of you guys are running a USB UPS, and you see this error:
Can't claim POWERWARE USB interface: could not claim interface 0: Operation not permitted
Unable to find POWERWARE UPS device on USB bus (USB)

you might need to do this by hand:
- lsusb to find your UPS
Mine is: Bus 003 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS

- check the permissions on that device to see if the "nut" group has access to it:
ls -l /dev/bus/usb/003/003
crw-rw-r-T 1 root root 189, 258 Dec 17 17:29 /dev/bus/usb/003/003

- chown it if needed: sudo chown root:nut /dev/bus/usb/003/003

- start up upsdrvctl again:
sudo upsdrvctl start

- start up nut:
sudo /etc/init.d/nut start

The device is identified properly in my /etc/udev/rules.d/52-nut-usbups.rules
file where it's supposedly to automatically configure that device to be accessible by the nut group, but doesn't after the D-U Razz
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio