[Nut-upsuser] Nut and PowerWare 5115
kjell.claesson at epost.tidanet.se
Thu Apr 23 16:16:04 UTC 2009
torsdag 23 april 2009 11:24:00 skrev Greg:
> Hi Arnaud and Kjell,
> One more thing. One thing I noticed is the QNAP find usb devices in
> /proc/bus/usb and Ubuntu find them in /dev/bus/usb.
> Could this have any effect?
Both yes and no. libusb > 0.1.12 is looking in /dev/bus/usb first then it
should fall back to /proc/bus/usb. The problem is that i don't think that the
rights is set on the /proc/bus/usb/00x/00x. It is normaly set to
-rw-rw-r-- 1 root usb 52 Apr 23 2009 /proc/bus/usb/002/003
so on my machine the udev set /dev/bus/usb/00x/00x right to
crw-rw-r-- 1 root nut 189, 130 Apr 23 2009 /dev/bus/usb/002/003
Check the rights on /proc and change it before you do a test if it's not
set right. The problem is that you ned a hotplug script to set this when you
plug it in. As the rights is reset on reboot. And if you plug it in another
interface or order it change the place.
More information about the Nut-upsuser