This is a permissions problem; note the "nobody" in: > /proc/bus/usb/002: > dr-xr-xr-x 2 root root 0 Feb 3 12:40 . > drwxr-xr-x 6 root root 0 Feb 3 12:40 .. > -rw-r--r-- 1 root root 43 Feb 3 12:40 001 > -rw-r--r-- 1 root nobody 52 Feb 3 12:40 002
This should be the ups user. The solution is to set up hotplugging correctly - something to do with /etc/hotplug/usb/libhidups. There were some posts on this list by Paul Mogren in January on how to fix hotplugging in Suse. -- Peter [EMAIL PROTECTED] wrote: > > Hi, > > I have installed in suse 9.3 and ellipse premium 500 usb a psp 3.0 with yast2 > and versions: > > nut-2.0.2-4 > mgeups-psp-3.0.0-3 > > the first time that I launch psp it seems to contact > the UPS and you can make changes to the parameters > and all seems ok. If you make a reboot the psp hangs > up and if you try /etc/init.d/ups it fails: > > Starting service NUT: > -> Starting UPS driver: > Network UPS Tools - UPS driver controller 2.0.2 > Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2) > > No USB/HID UPS found > Driver failed to start (exit status=1) > > ups.conf is with root:nobody permissions: > > [sai_name] > driver = newhidups > port = auto > desc = "Computer Room" > > > lsusb output is ok: > ... > Bus 002 Device 002: ID 0463:ffff MGE UPS Systems UPS > ... > > ls -lr /proc/bus/usb/002 seems ok: > > /proc/bus/usb/002: > dr-xr-xr-x 2 root root 0 Feb 3 12:40 . > drwxr-xr-x 6 root root 0 Feb 3 12:40 .. > -rw-r--r-- 1 root root 43 Feb 3 12:40 001 > -rw-r--r-- 1 root nobody 52 Feb 3 12:40 002 > > ls -al /etc/hotplug/usb/ seems ok: > ... > -rw-r--r-- 1 root root 1105 Sep 8 13:35 libhid.usermap > -rwxr-xr-x 1 root root 481 Sep 8 13:35 libhidups > ... > > Then I try: > > export USB_DEBUG=3D3 > /usr/lib/ups/driver/newhidups -DDDDD auto > or /usr/lib/ups/driver/newhidups -DDDDD nobody auto > > and they give the same message: > > Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2) > > debug level is '5' > Opening new device (0000/0000) > Opening new device (0000/0000) > Opening new device (0463/FFFF) > Found 0x463 > failed to claim USB device, trying 2 more time(s)... > detaching kernel driver from USB device... > failed to detach kernel driver from USB device... > trying again to claim USB device... > failed to claim USB device, trying 1 more time(s)... > detaching kernel driver from USB device... > failed to detach kernel driver from USB device... > trying again to claim USB device... > failed to claim USB device, trying 0 more time(s)... > detaching kernel driver from USB device... > failed to detach kernel driver from USB device... > trying again to claim USB device... > - Unable to fetch manufacturer string > - Unable to fetch product string > - No serial number string > Unable to get HID descriptor (error sending control message: Operation not > permitted) > Opening new device (0000/0000) > Opening new device (0000/0000) > found 0 (-1) > No USB/HID UPS found > > I have installed Ellipse premium 500 without problems in suse 9.2. > > Someone has had similar problems and have solved?. > > Best regards. > > Ricardo > > _______________________________________________ > Nut-upsuser mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser > _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

