[Nut-upsuser] Re: MGE Protection Center and Suse

Johannes Schatz johannes at dung.de
Thu Jul 21 06:55:22 UTC 2005


Hi

ok here is my output:

Am 20.07.2005 um 16:09 schrieb arnaud.quette at mgeups.com:
> you should have add the "-DDDDD" to see newhidups' internal trace...
>

backup:~ # /usr/lib/ups/driver/newhidups -DDDDD auto
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 (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
- Unable to fetch serial number string
Unable to get HID descriptor (error sending control message: Operation 
not permitted)
Opening new device (0000/0000)
found 0 (-1)
No USB/HID UPS found

> thanks to test this again (with "-u nobody") with the above
> instructions,

backup:~ # /usr/lib/ups/driver/newhidups -DDDDD auto -u nobody
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 (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
- Unable to fetch serial number string
Unable to get HID descriptor (error sending control message: Operation 
not permitted)
Opening new device (0000/0000)
found 0 (-1)
No USB/HID UPS found


> and to do an "ls -l" on the device (ie below: "/proc/bus/usb/001/002")

backup:~ # ls -l /proc/bus/usb/001/002
-rw-r--r--  1 root root 52 Jul  7 16:48 /proc/bus/usb/001/002



P.S. : Hope you had good holidays

Johannes Schatz
Dung Marketig GmbH & Co KG




More information about the Nut-upsuser mailing list