Citeren Alexander Gordeev <[email protected]>:

2) output of usbhid-ups driver when running in explore mode (see
'man 8 usbhid-ups' how to set this up)
Attached it either.

Oops, worrying results:

   0.334659     Can't retrieve Report 17: Value too large for defined data type
0.334690 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8
   0.365600     Can't retrieve Report 25: Value too large for defined data type
0.365627 Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8
   0.376605     Can't retrieve Report 28: Value too large for defined data type
0.376625 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 8
   0.391619     Can't retrieve Report 32: Value too large for defined data type
0.391646 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 8

The following reports are also suspicious:

0.338612 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 212.000000 0.369618 Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 212.000000 0.380612 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 212.000000 0.395605 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 212.000000

I really doubt the above values are indeed identical.

Could you do the same, but now at debug level 3 (-DDD). I would like to see the raw dump of the report descriptor too, to see where the error is. My guess is that there is something wrong with the contents of the report descriptor, that might allocate too little room for the reports.

Best regards, Arjen
--
Please keep list traffic on the list


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to