[Nut-upsuser] [Nut-upsdev] Belkin USB UPSes

Eric S. Raymond esr at thyrsus.com
Tue May 22 06:56:08 UTC 2007


Kjell Claesson <kjell.claesson at epost.tidanet.se>:
> Or install the udev rules and replug the ups.

Did that.  Manual startup of the driver now works without -u root,
indicating (I think) that the udev rools are doing their job.  This

esr at snark:~$ lsusb
Bus 003 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 0665:5161  
Bus 002 Device 001: ID 0000:0000  
esr at snark:~$ ls -lR /proc/bus/usr
ls: /proc/bus/usr: No such file or directory
esr at snark:~$ ls -lR /proc/bus/usb
/proc/bus/usb:
total 0
drwxr-xr-x 2 root root 60 2007-05-16 22:49 001
drwxr-xr-x 2 root root 80 2007-05-22 02:26 002
drwxr-xr-x 2 root root 60 2007-05-16 22:49 003
lrwxrwxrwx 1 root root 14 2007-05-16 22:49 devices -> .usbfs/devices

/proc/bus/usb/001:
total 0
crw-rw-r-- 1 root root 189, 0 2007-05-22 02:44 001

/proc/bus/usb/002:
total 0
crw-rw-r-- 1 root root 189, 128 2007-05-18 01:47 001
crw-rw-r-- 1 root nut  189, 130 2007-05-22 02:46 003

/proc/bus/usb/003:
total 0
crw-rw-r-- 1 root root 189, 256 2007-05-22 02:44 001

also indicates that permissions look OK.

However, starting with upsdrvctrl still reports driver startup failing
with exit 1.  What other things besides permissions errors can cause this?  

(I plan to submit a patch for the installation instructions  if we
can figure this out, so your advice will benefit the next person to
trip over this, too.)
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>



More information about the Nut-upsuser mailing list