> Even if you run the driver as root, it drops privileges unless otherwise
specified.
>
> /path/to/usbhid-ups -u root -a ups_name -DD
ok, now something is happening (see below). The last lines just keep
repeating (with -DD). But honestly, i have no clue what all this
means... :-)
I let it run for 1 minute or so... is it supposed to terminate at some
point?
0.390554 Found HID device
0.390581 Detected a UPS: IBM/IBM 6000VA/5600W Rack HV UPS
0.390640 find_nut_info: unknown info type: load.off.delay
0.390671 find_nut_info: unknown info type: load.on.delay
0.390720 find_nut_info: unknown info type: load.off.delay
0.390765 upsdrv_initinfo...
0.390818 upsdrv_updateinfo...
0.498416 Got 1 HID objects...
0.498482 Path: UPS.PowerSummary.PresentStatus.Switchable, Type:
Input, ReportID: 0x04, Offset: 0, Size: 8, Value: 1
0.498547 Quick update...
0.498702 dstate_init: sock /var/run/nut/usbhid-ups-IBMups open on
fd 5
0.498766 upsdrv_updateinfo...
0.562409 Got 2 HID objects...
0.562472 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x06, Offset: 0, Size: 8, Value: 96
0.562518 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x06, Offset: 8, Size: 16, Value: 15085
0.562560 Quick update...
2.500805 upsdrv_updateinfo...
2.546371 Got 1 HID objects...
2.546404 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x0f, Offset: 0, Size: 8, Value: 0
2.546419 Quick update...
4.502841 upsdrv_updateinfo...
4.530291 Got 6 HID objects...
4.530321 Path: UPS.BatterySystem.Battery.PresentStatus.Present,
Type: Input, ReportID: 0x27, Offset: 0, Size: 8, Value: 1
4.530340 Path:
UPS.BatterySystem.Battery.PresentStatus.TerminateDischarge, Type: Input,
ReportID: 0x27, Offset: 8, Size: 8, Value: 0
4.530352 Path: UPS.BatterySystem.Battery.PresentStatus.ffff0074,
Type: Input, ReportID: 0x27, Offset: 16, Size: 8, Value: 0
4.530365 Path: UPS.BatterySystem.Charger.PresentStatus.ffff0079,
Type: Input, ReportID: 0x27, Offset: 24, Size: 8, Value: 1
4.530377 Path:
UPS.BatterySystem.Charger.PresentStatus.InternalFailure, Type: Input,
ReportID: 0x27, Offset: 32, Size: 8, Value: 0
4.530390 Path: UPS.BatterySystem.Charger.PresentStatus.Used,
Type: Input, ReportID: 0x27, Offset: 40, Size: 8, Value: 1
4.530400 Quick update...