Le dimanche 27 ao=3DFBt 2006 12:38, Peter Selinger a =3DE9crit=3DA0: > > Yes, that's actually useful. It shows that the Windows driver > exclusively uses interrupt transfers, something that newhidups is not > yet very good at. Decoding the transmitted values by hand, I get the > following. The values in [brackets] are decimal, and are arrays. > > POWERCOM_UPS.POWERCOM_Input2: [255, 99] > POWERCOM_UPS.POWERCOM_Coll1.POWERCOM_Input4: [0, 97] > POWERCOM_UPS.POWERCOM_Coll1.POWERCOM_Input5: 0x6a6e7a > POWERCOM_UPS.POWERCOM_Coll2.POWERCOM_Sub1.POWERCOM_Input4: [60, 30] > POWERCOM_UPS.POWERCOM_Coll2.POWERCOM_Sub2.POWERCOM_Input6: [30, 15, 0, 64, > 60] > > I see 97 in POWERCOM_UPS.POWERCOM_Coll1.POWERCOM_Input4 (this could be > the battery level), and 60 in two places. I also see 15. I don't see > anything that looks like a voltage, except perhaps the 0x7a =3D3D 122 in > POWERCOM_UPS.POWERCOM_Coll1.POWERCOM_Input5.
usr/local/ups/bin/newhidups -DDD -u root /dev/hiddev0 some value same similar to the windows program... Object: UPS.POWERCOM_Coll1.POWERCOM_Input4 =3D3D 97 is the battery level Object: UPS.POWERCOM_Coll2.POWERCOM_Sub2.POWERCOM_Input7 =3D3D 15 is the charge level i tried to pass this variable to /usr/local/ups/bin/upsc [EMAIL PROTECTED] but it don't recognize this variable is it possible than UPS.POWERCOM_Coll2.POWERCOM_Sub1.POWERCOM_Input6 =3D3D 60 maybe IP/Voltage divide by 2 UPS.POWERCOM_Coll2.POWERCOM_Sub2.POWERCOM_Input6 =3D3D 60 maybe OP/Voltage divide by 2 UPS.POWERCOM_Coll2.POWERCOM_Sub1.POWERCOM_Input4 =3D3D 30 maybe IP/Frequency divide by 2 UPS.POWERCOM_Coll2.POWERCOM_Sub2.POWERCOM_Input4 =3D3D 30 maybe OP/Frequency divide by 2 > It looks to me like the data changed in powercom.feature2: 170 is not > the same as 54. Not sure what it means though. In hexadecimal, 170 =3D3D > 0xaa and 54 =3D3D 0x36. =A0The changes are in too many bits; this does not > look like a status flag to me. before and after i unplug the ups, the value was the same.. but i know this= =3D =3D20 value change sometime... > -- Peter _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser