On Apr 23, 2014, at 3:47 AM, Frantz de Germain wrote: > I've compiled and installed nut-2.7.2 on a Xen server (Actually XCP > 1.6/Centos 5.7) to manage a Dell UPS 2700W. > > Here is my ups.conf : > > [SU27003U-08] > driver = usbhid-ups > port = auto > desc = "SU27003U-08" > > 52-nut-usbups.rules have well been installed in /lib/udev/rules.d/. I've put > it in /etc/udev/rules.d/ too. > > I've rebooted the machine. > > I've the following error : > > # upsdrvctl -u ups start > Network UPS Tools - UPS driver controller 2.7.2 > Network UPS Tools - Generic HID driver 0.38 (2.7.2) > USB communication driver 0.32 > No matching HID UPS found > Driver failed to start (exit status=1) > > With root it is ok : > > # /usr/bin/usbhid-ups -a SU27003U-08 -u root > Network UPS Tools - Generic HID driver 0.38 (2.7.2) > USB communication driver 0.32 > Using subdriver: MGE HID 1.33 > > > Files /dev/bus/usb/00* are always owned by root with group root, despite the > 52-nut-usbups.rules file. > > > lsusb gives : > > Bus 001 Device 008: ID 047c:ffff Dell Computer Corp.
Thanks for a thorough problem report. What version of udev and Linux kernel does your system use? (Alternatively, is there a URL that lists package versions for CentOS, similar to http://packages.debian.org/nut?) Could you please run udevd in debug mode while plugging in the UPS? This message shows what happens when udev properly detects the UPS and changes permissions on the /dev nodes: http://article.gmane.org/gmane.comp.monitoring.nut.devel/6558 -- Charles Lepple clepple@gmail _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

