[Nut-upsuser] nut suddenly stopped working...

A.Lizard alizard at ecis.com
Fri Feb 23 23:35:28 CET 2007


At 01:01 PM 2/23/07, you wrote:
I tried the procedure - no change.

terrarium:/usr/lib/hal# /lib/nut/newhidups -DDD   -a belkin-ups
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)

debug level is '3'
Checking device (050D/0551) (002/006)
- VendorID: 050d
- ProductID: 0551
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device matches
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 get HID descriptor (error sending control message: Operation not 
permitted)
HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 a8 01
HID descriptor retrieved (Reportlen = 424)
Unable to get Report descriptor (-1): Operation not permitted
Checking device (04A9/1094) (002/005)
- VendorID: 04a9
- ProductID: 1094
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (058F/9254) (002/002)
- VendorID: 058f
- ProductID: 9254
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (04A9/220E) (002/004)
- VendorID: 04a9
- ProductID: 220e
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching HID UPS found
terrarium:/usr/lib/hal# exit
exit

terrarium:/home/alizard# /lib/nut/newhidups -DDD -u root  -a belkin-ups
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)

debug level is '3'
Checking device (050D/0551) (002/006)
- VendorID: 050d
- ProductID: 0551
- Manufacturer: Belkin
- Product: UPS
- Serial Number: unknown
- Bus: 002
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
trying again to claim USB device...


>[please, keep the traffic on the list]
>
>2007/2/23, A.Lizard <alizard at ecis.com>:
>>At 05:12 AM 2/23/07, you wrote:
>> >Not sure you've seen it, so I step up:
>> >
>> >in the "ps" output, there is: hald-addon-hid-ups
>> >this is an HAL addon, based upon the same code as our old hidups...
>> >this is what I'm working on in NUT to replace.
>> >I've not thought at it before since I've completely disabled hiddev
>> >support in kernel for MGE units, but any other brand that is HID
>> >compliant, should face it.
>> >
>> >the detach method might fail since the driver is _used_, not only loaded!
>> >
>> >Note that the above is the reason why I've not thrown out _our_ HAL
>> >support: we still need a way to instruct the HAL autoloaded drivers
>> >not to run if we want to use the classic nut . And this will be done
>> >through the new config (nut.conf -> MODE)
>> >
>> >I've no clean solution apart from removing / renaming the addon...
>>
>>So I should try finding the addon and removing or renaming it?
>
>right
>
>simply unplug your UPS' USB cord
>rename the hald-addon-hid-ups file (should be somewhere in
>/usr/lib/hal ; use rpm or deb to query the content exact and path of
>the hal package)
>plug back your USB cord,
>retry the previous tests.
>
>Arnaud
>--
>Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
>Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
>Debian Developer - http://people.debian.org/~aquette/
>OpenSource Developer - http://arnaud.quette.free.fr/

member The Internet Society (ISOC), The HTML Writers Guild.
"You can't have in a democracy various groups with arms - you have to have 
the state with a monopoly on power." Condoleeza Rice, US Secretary of State
Personal Website http://www.ecis.com/~alizard
business Website http://www.reptilelabs.com
backup address (if ALL else fails) alizard at gmail.com
PGP 8.0 key available by request or keyserver. Download PGP from:
http://www.pgpi.org for e-mail privacy.
Disaster prep info: http://www.ecis.com/~alizard/y2k.html
***Looking for INTELLIGENT new technology public policy 
alternatives?***               http://www.ecis.com/~alizard/technology.html




More information about the Nut-upsuser mailing list