[Nut-upsdev] Powercom support and sponsorship

Alexander Gordeev lasaine at lvk.cs.msu.su
Mon Nov 9 14:17:08 UTC 2009


В Mon, 09 Nov 2009 15:10:21 +0100
Arjen de Korte <nut+devel at de-korte.org> пишет:

> Citeren Alexander Gordeev <lasaine at lvk.cs.msu.su>:
> 
> >> 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.

Sure, attached it.

-- 
  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usbhid-ups-explore.log
Type: text/x-log
Size: 27593 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20091109/6201e5ea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20091109/6201e5ea/attachment-0001.pgp>


More information about the Nut-upsdev mailing list